test.ical.ly | getting the web by the balls

Jan/11

20

Back to javascript with my bare hands..

Currently I feel oddly time warped. For the last four years I haven’t really done any javascript programming. Before that I considered myself a professional.

Now after this long absence – and with only a few jQuery experiments in the meantime – I got back to it and I feel like a bloody beginner again.

It’s not that so much has changed. True a few years ago I was working with Prototype which was badly documented and jQuery wasn’t quite available yet but in essence all the available frameworks have a lot in common. Especially they take the burden from you to care about different browsers.

In my current task though I can not use a framework as the code I am writing has to work on several sites all of which may or may not use any kind of javascript framework. So it’s back to square one.

I used to love javascript for its closures and its parasitic inheritance (a term coined by Douglas Crockford) but after four year of PHP only (well almost) all that escapes me now. I still understand it but it doesn’t come naturally, I am just not in the flow.

The funny side is that the best part of my time is spent on reading Google code. Funny because that was exactly the way I got interested in javascript in the first place.

At the end of the last millennium there was DHTML and all that jazz but for me it wasn’t until Googles GMail that javascript and Ajax got exciting.

Today I am digging into Google Adsense and slowly very slowly I get hooked again. All this reverse engineering of hidden features that are not documented anywhere it starts to entertain me.

· · ·



  • http://www.ngsoft.pl Lukasz Wojciechowski

    You say that you can’t use any JS framework now and I understand that but when things changes I advise you to try mootools.

    I value proper use of OOP concepts and I’m trying to master that every day of my work. When it comes to JS code I love to code using mootools and this is the framework I was using most time in last few years.

    Unfortunately there is no second JS framework like jQuery when it comes to visual experience and amount of plugins available from community.

    In last few months I had no choice but to use jQuery in some projects and I must admit that for me using jQuery, customizing its behavior or writing some new classes or plugins is very non intuitive.

    Mootools on the other side makes me feel very comfortable in that area.

    So again – try it and you’ll love it :)

    best regards

<<

>>

Theme Design by devolux.nh2.me