killing your hooker divs
February 6th, 2009 by burinOne of the side effects of depending on RJS is having a lot of unnecessary, ugly, and unsemantic (trying to stick with the u’s! ;x) markup.
First on our list for cubeless was to kill “div-itis”, an affliction many application developers suffer from(apparently). We had wrapper divs, clearing divs, placeholder divs, header divs, and divs sitting on the pages so that controllers could get a hook on to them — hooker divs.
Next up was to improve our hierarchical structure within the pages and just make our markup make some damn sense.
Another major task we did was remove tables for layout in a lot of places. These were scattered around all over the place with partials within partials with tables inside tables. I’ve noticed that it’s really easy to give up and use tables for layout, but giving in is like giving up on tests. If you do it, you make baby prophets cry.
As a side effect of following web standards on the front-end of cubeless we’ve cut down on filesizes, improved readability, and have again, brought sexy back.
Posted in Development, Travel Studios, cubeless | No Comments »