Finding Auto Insurance in Las Vegas is Easy and These Hacks can Ease it More

Is your AUTO INSURANCE about to expire, and you are in Las Vega at the moment and looking for a company offering Auto Insurance in Las Vegas? If so, you can search for them on the search engine and…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Frontend used to be fun

An opinionated 10 years retrospective of the evolving landscape of frontend technologies.

Those thoughts are mine, and you may disagree ; that’s ok. I’m not a god, and certainly not own the Truth. My background surely defines my views, and as we have all different stories, your opinion may differ.

I’ve no CS degree. Like many, I’ve coded since I was a teenager, and eventually ended up in the frontend world because I was passionated about the blend of art and tech. I naturally started my career doing flash websites, and since “the death of Flash” I migrated to JavaScript.

Sticking to it and still to this day, I personally believe that what happened in the frontend scene is a huge waste of our time : in today’s world, we still barely achieve in frontend what we could deliver when I was 10 years younger. I personally think business war killed Flash, as Apple would probably have lost its 30% share of app/game revenue if such a technology could run for free in their device’s browser ; it was nothing more than a trojan horse into their income plan, and they had no choice but to kill it.

When Apple pulled the trigger, the biggest mistake Adobe did was not to open-source the player (or the bytecode spec), which would have rendered the only valid argument of “owning the web with a closed source technology” void.

Adobe, this one’s on you.

So, Apple brings the iPhone into the world and claims that Flash is shit mainly out of business reasons : they said they can’t really control performances, and thus mainly because the player was closed-source. Of course, Adobe tried to help… but Apple wasn’t really interested. The closed-source claim took off, and world-wide digital heat went on.

The argument alone sounds reasonable, but even if I was somehow concerned about was not knowing about the internals of the Flash Player, as I was still young in the field, it was still acceptable to me because it was empowering me on delivering great content ; now with a little more experience, I can see I’d be way much bothered about it. I can understand why it mattered to so many people.

Of course, the other big names found their way into it. Google and others had their chance to influence the market, so they didn’t really backed Adobe up and ultimately Adobe had to pivot its strategy towards HTML5.

But to what benefits and what costs?

Hate it or not, while Adobe owned a closed source web content player, it took nearly 8 years (give or take) to stop whining about browser implementation differences in JavaScript.

After the death of Flash, I had to code for “IE7+” ; I know this time. Today our runtimes are Gecko, Chromium and Webkit, lead by organizations who also seats in the W3C. Of course this is a shortcut as some are independent open-sourced projects, but I do hope you can see the big picture : those organizations write the specs and implement the features in OSS repos.

This point is quite disturbing to me now, as I can see how one would implement a feature with an experimental flag and later force the hand of the W3C to consider it out of already spread popularity (like the recent Chrome XR api) – it’s no longer clear if the consortium is really objective, but it’s clear now that those who implement the engines and sit at the table won influence and the power to steer the spec towards their business goals.

Out of all the competing solutions Microsoft won the game, but of course many tried before them ; most failed because they took on implementing an other language rather than a downward-compatible superset of it. That was clever sight from MS honestly, and probably the most obvious reason of its success. Still, when I moved away from a AS3 I remember clearly missing types, but now that I’m used to that freedom I can’t even see myself going back to it ; because Typescript acts as a pre-bundling safeguard, its utility (limited to DX) is still quite debatable.

Other creative things, such as accelerated 3D, a decent video player (with DRM support), or a canvas specification took years to land. To this day, it isn’t as performant/convenient as it used to be, and I won’t even start with Adobe’s Flash CS, which is still unmatched when it comes to creative content authoring and animation.

At this time, out all the persons I knew, all the projects I’ve seen, most of the people who were using Flex were producing UI with forms, and mostly came from a Java background.

One of the things which pushed me into organizing my thoughts and writing this article was this particular argument.

This striked me as an extremely simple, but “straight-to-the-point” view of the evolution of our job.

Frontend has always been seen as odd. For a very long time in the frontend industry, you’d had 2~3 types of guys :

In short, for backend guys, we were that “non-engineer designer bff” ; for designers, we were “the black-screen coding boy”. Right in the middle, but never truely fitting : so was the job.

When doing Flash things, it was quite ok ; we had control over design and code and UI could be well coded, powerful and rich in features, but still creative and fresh looking.

Then, when leaving Flash, you had to choose your side : either you’d be a CSS guy and cared about design stuff and cool rollover effects, or you’d be the JS guy and you’d find the best date-picker plugin for jQuery.

This contributed to a widely accepted thought that the mission of building UIs should now be separated into 2 parts : “the design” and “the code”, even if somehow Adobe’s ecosystem had succeeded into maintaining a fragile balance over the two and made it possible to work with each foot in both side.

While I’ve always been used to “quite advanced” development when writing ActionScript, the firsts years of going back to JavaScript were indeed painful : we had to support different browsers and tools to structure applications were to lack. It was the beginning of the JS era and instead of upgrading our JS eco-system, greater powers were trying to take over with initiatives like GWT or Dart. Some turned into Haxe or Processing and became “creative technologists”, but most embraced the pain of working with jQuery, or like me, coded as much “vanilla” as possible until the firsts tools arrived.

No wonder why, when node.js arrived, “real” server engineers mocked it. It was a client-side (non-typed) language in the terminal : can you imagine? Even nowadays there’s still a shade around node not being capable to scale as much as a php website or not secure as a Java application. It’s getting better of course but the language still lacks of an equivalent of Symfony, .NET, RoR, or Spring, somehow showing a lack of interest for such tool.

At the beginning of it, it opened a door for frontend people to, and share code with a package manager instead of “relying on CDNs to include jQuery into their pages” and later on build command line tools. It naturally grew potentially as JavaScript was an easy language to learn. JavaScript was easier than ever, and the promise of a language which could run both in backend and frontend made a profound mark into company strategies to hire “fullstack developer”, a unicorn who could both handle database security and responsive design.

As more and more juicy job offers arrived, many powerful engineers were into it and JavaScript naturally grew more complex. They'd be interested "despite the shitty language" and spent time fixing it by creating amazing tools such as Babel or Typescript, which are today used daily by millions of people. They helped building the new modern web, and probably Medium too ; but as they grew bigger in number (for good reasons), they also had an influence about what UI should be.

The tooling turned into engineering, and what used to be a tinkering fun language has now created jobs like “Frontend Dev Ops” to counter the complexity of maintaining a web application ; not to mention that this path doesn’t sound like the creative one Flash used to carry, ultimately leading to more “TODO-MVC” UIs and less of 2advanced polished quality. JavaScript owns now more "Java" than "Script".

Few years ago, Polymer came from Google. It was one of the natural evolution of backbone, or more globally, a consequence of how the DOM is designed. After all, text inputs themselves are sort-of native components, so why not expanding the idea and give developers control?

Polymer wasn’t the first to implement the idea, but it’s interesting to see that it was the first to really implement the idea of web components – a concept brought by Alex Russel who also works at Google – which later on (surprisingly?) made its way into the W3C specifications.

Don’t mistake me : I think component-thinking is nice. It’s a good way to respect design and can have a variety of forms which makes sense for UX. The overall is a great thing. Single File Components are now a thing, but isn’t it somehow what Adobe Flex used to be?

The idea is nice : bundling a web application into a single, sharable file ; there’s even a extension for it : .wbn. But isn’t it exactly what a swf file used to be?

It appears to me clearer than ever now that we’re coming back to where we were. My only regret is the cost of it. It’s been around 6 years of struggling to see that we’re not quite there yet, all because Apple was greedy, Google was lurking and Adobe decided to keep closed source a powerful piece of technology ; our services and the quality of life of our users went technologically frozen in time due to private greed, despite of all "user-first" public policy advertised by those tech giants.

There’s probably a way for those who wants to get back to where the things were, with the benefit of those 10 years of “wisdom” on top.

I didn’t mention it before, but one of the latest feature Adobe added to the Flash platform before dying as the capacity to compile “native” code : with some effort, you could add some libopengl to your swf file (so was AR in 2005).

It’s not surprising to see that if Adobe recognized that developers could leverage "good old C" libraries to push further the web experiences, in the very same fashion, our “evergreen” browsers recently started to do the same and have WebAssembly running wide.

It’s funny how things turned out. The flash player was banned of the world because Apple decided that it wasn’t “performant” enough, and pushed HTML5 to become a powerful standard on the way ; all that to see WebAssembly as the unexpected trojan horse to reimplement the flash player back in the browser again.

I wished that it didn’t waste 6 years of everyone’s time, but it’s hopeful.

Hopeful for fun content again.

Add a comment

Related posts:

The Aloha burger and my delivery story

It was a humid afternoon of May 31, 2017. And I could literally hear the grumbling of my stomach. As we would say it in Filipino, “kinakain na ng maliit na bituka ang malaki kong bituka” (Literally…

I need help getting a health insurance.?

I need help getting a health insurance provider. Any recommendations or who do I need to talk to? Independent worker, and I just need it for myself. It can t be too expensive and I think is too late…

Are You Protecting Your Time?

It cannot be purchased, which places its premium above that of money. It can, however, be saved, conserved, and protected. We don’t often think about the real cost of things in life; we mostly think…