Archives For Coding

Programming related topics (JS and ExtendScript, CoffeeScript, Flex, Actionscript mainly)

I’m not used to talking about commercial products I’ve not personally developed on my blog, but I’ve decided it might be interesting to cover the work of other developers here, from time to time or when something catches my eye. Today I’d like to tell you about Configurator Reloaded, a Photoshop panel by Thomas Zagler, who revives the idea of Adobe Configurator (the original one).

Continue Reading...

When developing HTML Panels, I’m always quite fanatic about code privacy: for a variety of reasons, I don’t want users to peek into my files. Lately, I’ve found particularly effective the obfuscation provided by javascriptobfuscator.com – which, surprisingly, works equally fine with both JavaScript and ExtendScript.

Their paid tier offers the possibility to access it through HTTP – a good candidate for Gulp automation. Since there’s no ready-made plugin available on the internet, I’ve ventured into building one; which I’m going to share with you in this post.

Continue Reading...

While working on the forthcoming version of my DoubleUSM script – which I’m porting to HTML Panels – I’ve run into the following problem: how do you fit a large range (say, 1..500, with floating point precision) into a Slider which has, at best, less than 200 possible, real slots? Nonlinear sliders and VueJS Computed Properties are the answer, read along.

Continue Reading...

You might have noticed that updates on my blog are getting a bit sparse: no worries, I’m up and running as usual. Actually I’m busy as hell – which is quite ironic, since I’d aim for a simple(r) life.

But anyway: one year ago I started writing my Photoshop HTML Panels Development course, which I’ve successfully published in late March 2016. I’m now back at my desk, working on a very similar project, and targeting no less than… Photoshop Scripting.

Continue Reading...

Learning Vue.js is fun – if I run into a problem that has taken me some head scratching time to solve and/or and no easy Stack Overflow answer, why not writing a blog post for you and my future self? 🙂

Today’s stumbling block is bi-directionally binding of a Component (v-model), to the root data object – being the Components generated in a v-for loop. Sounds unclear? Think about a lot of instances of a Component containing, say, checkboxes or radiobuttons, automatically generated from an array. It’s a quite frequent scenario, at least in my projects, so let’s have a look.

Continue Reading...

About one year ago I had a so-called “aha moment” and decided to write a book. I had two or three subjects in mind, first choice was HTML Panels’ Licensing Solutions – i.e. how to build trial versions, anti-piracy systems, and the like. Luckily, and I really mean: luckily, I changed my mind and tackled a topic appealing to a slightly broader audience: the HTML Panels Development course was born.

Still, licensing systems in the context of HTML Panels are a soft spot of mine (see my old post about partial serial number verification), and I wish I had time to write that book! I did build, from my biased point of view, very good prototypes back then: for instance implementing RSA encryption, or server-side automatic licensing files delivery to be used in conjunction with e-commerce providers.

Whatever you choose to do, you’re protection system must rely on secured code that nobody can look at – which is what this article is all about.

Continue Reading...