Technical PublicationsIf you have not have already read the characteristics of a good API, you may do so in “Why To Design a Good API.”
As discussed in the above-mentioned article, API is almost permanent and once distributed, should not be modified. You have got one chance to make it right.…
July 28, 2009 Technical PublicationsI have often observed that websites that are template-driven (like blogs, cms, etc), tend to load all the required scripts and css in every page. One such example would be WordPress blogs with plugins for various types of content processing (overlay, tooltip, animation, etc.) Every page of such a WordPress driven site loads the relevant plugin stylesheets and javascripts, even though it might not be required for that particular page.
Here is a jQuery code I wrote in order to load prettyPhoto jQuery plugin (prettyPhoto homepage) only when required. This process can also be applied to other plugins by analyzing the plugin triggers from within the rest of the page content.
July 16, 2009