News for May 2012

Write ALL the code in Javascript

“Hi. You’re going to call off your rigorous investigation. You’re going to publicly state that there is no underground group. Or we are going to take your balls. Look, the people you are after are the people you depend on. We cook your meals, we connect your calls, we guard you while you sleep. Do not fuck with us.”

Tyler Durden, Fight Club


http://www.quickmeme.com/meme/3pcw1x/

http://www.quickmeme.com/meme/3pcw1x/

It is everywhere now. Javascript.

I’ve been bumping my nose into more and more javascript these days. It seems that slowly but surely everybody is writing javascript now. I was to blame Steve Jobs and the whole HTML5-frenzy some three years back, but truth be told, it all started earlier.

Maybe been as early as that whole AJAX bandwagon that rolled out in 2005. But truth be told, javascript was around when I was typing away tables in HTML back in 1999. Then it was this nasty, ugly and bulky language. It was only good for knitting long strings of functions together in an inedible garble that had to be rewritten for every single browser. And Macromedia’s Dreamweaver made the ugliest javascript of all.

So I went on, learned Flash, learned a couple of more programming language and then starting to find more and more javascripts doing these little things… Connecting a mousewheel to Flash apps… Hooking up urls-anchors to Flash pages… providing google with analytics information, providing a nice hover for my menus and so forth. All the while all that javascript simply lay there. As dust piling up in the corner of the web. This massive amount of Javascript.

Everywhere.

Of course it didn’t take long before somebody came along and actually wrote a good metalanguage upon javascript to make it more browser – and more coder - friendly. First there were things like javeline, ajax.org and mootools; but soon JQuery became something of a winner. Finally javascript was able to do those nice manipulations of the dom swiftly and elegantly; The little things on webpages; making menu’s hover and images flip, animate and flurp.

JQuery made my day. I actually wanted to write a post: “‘JQuery’, or why I stopped worrying about Flash and started to love Javascript”, but I never did, because I hadn’t anything to add to the discussions that wasn’t already said on some other blog. The title remains very nice though, glad I finally could use it in a sentence.

Later I found out that they are recreating everything I did the past 5 years with Marduq in Javascript under the umbrella of Mozilla in Popcorn. – Very nice to find some like minded people and they do it it very fine indeed – so you’ll find some crazy popcorn experiments here, soon.

Then I heared they have brought javascript to the server. You can write Javascript in a V8 engine residing on your server and connect, or call to it, through the clients app (be it mobile, desktop or whatever … ) in node.js. No need to sidestep with Ruby, PHP, Java or ASP … !

Finally, I was looking this weekend into some weird interface devices for veejaying and came across a program called “Control“. So I was looking at the website over at http://charlie-roberts.com/Control/ and started to read. Now Control is is basically a scripted interface for mobile devices to create Midi controllers (long story, very cool  ) and found that the scripting language of the whole thing is ………….  friggin javascript. JavascriptJAVASCRIPT…. JAVASCRIPT EVERYWHERE!

Posted: May 20th, 2012
Categories: general, nerd, technology, vj, web, work
Tags: , , , , , , ,
Comments: 1 Comment.