-
Update on mobile web frameworks
Recently saw 2 developments on web mobile frameworks that really got my attention. jQuery Mobile First, jQuery mobile just entered Beta3. Lots of bugfixes but also one cool thing that has been baking for a while, real fixed footers and headers are available in the framework. Before that, jQuery fixed stuff was just a gimmick […]
Cedric Dugas
September 22, 2011
-
Returning a collection list filtered from an array
One thing I was trying to figure out lately is if it was possible to filter a collection from an array of id’s. Imagine you got a task model that lists another sub-task model. In your task model you got an array of sub-tasks, [1,4,7]. How would you go to retrieve those models? The loop […]
Cedric Dugas
September 12, 2011
-
Organizing events with jQuery
Following the launch of BackboneFU I wanted to take the time to talk about my current setup when I am not using an MVC framework on the front-end. This will be also part of my presentation at Confoo 2011 (if I’m chosen). The problem with handling events with jQuery is probably that jQuery itself makes […]
Cedric Dugas
August 29, 2011
-
Introducing BackboneFU.com, the resources for Backbone.js.. maybe
Well, well, sometimes I feel that I need to start a small project just for the fun of it, this time I created backboneFU. I recently started playing with this framework and while there is a lot of resources about backbone, I feel that it’s missing a community website like railcasts for Rails. This is […]
Cedric Dugas
August 28, 2011
-
Two headaches explained when you’re getting started with backbone.js
Recently I decided to dive into backbone.js. I tried to write a small project with it but I found it was hard to get into and abandoned. After seeing a presentation of it at JS-Montreal, I finally decided to give it another try and started porting a project I was working on to it. Personally […]
Cedric Dugas
August 22, 2011
-
Using backbone.js with jQuery UI Modals
In backbone, the views control all the events that are happening “in this part of html code” (in other words, your associated template). This is really good for decoupling your code and makes for a very good code structure but can be a headache when trying to control popups. Events in Backbone are handled automatically […]
Cedric Dugas
August 11, 2011
-
Do you use script loaders?
It’s funny I have the impression that script loaders keep coming back in the news, if we go back one year and a half ago we mostly only had labJS and requireJS, these guys want to load all your scripts asynch, but now we got new kids, notably yepnope, that allows you to load scripts […]
Cedric Dugas
July 29, 2011
-
Authoring a css book and what is next
I neglected quite a bit my blog for some times now .. After 3 years of doing this I feel like I have less and less to say about web development. Well not that it happens to every blogs of course :P. I still have some stuff for you guys, but I feel my time […]
Cedric Dugas
July 19, 2011
-
Handling javascript errors on production websites
Handling javascript errors as always been sort of a problem for me. Testing every combination possible in a big application is hard, and there is always a chance you will miss something. Of course, we should always strive to make an application as bug free as possible, but users seems to always find a way […]
Cedric Dugas
March 30, 2011
-
Introducing hooks in the jQuery form validation engine plugin
Hooks are a new feature just introduced into the engine recently. This makes it very easy to add extra behaviors on top of the current error prompts. The hooks make the use of the jQuery custom event feature. A good example of use would be to add a mention that there is a problem at […]
Cedric Dugas
March 23, 2011