Browsing articles from "September, 2010"
Sep
21

Understanding chaining in javascript and jQuery

If there is one thing jQuery puts forward, it’s chaining. It’s one of the core reasons of it’s motto “jQuery is designed to change the way that you write JavaScript”. While chaining can be quite useful it is not that obvious what happens behind the scene to get this magic at work.

Chaining in jQuery

In fact chaining is more easy than you would think, the key is to define methods inside an object. Let’s have a look at a typical jQuery example, $(“.blabla”).addClass(“test”). $(“.blabla”) is in fact a call to the function jQuery(). The key to get your chaining going is to understand that jQuery() is an object with methods that you can call directly using the dot notation.

A very simple example of how you could do…


Sep
21

Moving from website services to web applications

I am happy to announce that I willl be soon joining the Cakemail development team and leaving my current front-end developer position at w.illi.am/. After more than 5 years of being in the website service business, this will be a welcomed change.

There is just a couple of itchy things about the website gig that I wanted to take the time to talk about today. It’s probably going to sound negative a bit, but no job is perfect and I certainly enjoyed, for the most of it, my work in this area.

Everyone has a cms

In every company I worked, everyone had a custom CMS, some better than others. But in almost every company I worked for, the boss wanted to “monetize” there investment in the development…


Sep
14

Overtime and web developers

I was reading an article from Ben Yoskovitz (Started Standout jobs) about why you should hire workaholics or not and it got me thinking.. Why it is expected that web developers do overtime? Most of the time for free? From a startup perspective, the fact that you will be tackling interesting problems and doing more R&D should be enough that you want to put extra effort for free every week.

I always had a odd feeling about overtime since I started to work professionally as a front-end developer. Doing overtime for free has never been something I was really good with, and I am a workaholic! but for me, not for someone else’s company or project.

It’s not like your going to have a company share that…


RSSSome Tweets