load
Using jQuery To Load Content Onto A Page Without An iFrame
Tue, 02/08/2011 - 23:20 | by philipnorton42iFrames can be a convinent way of loading content from one domain onto another, but they do have their limitations. For example, it usually isn't possible to style the contents of the iFrame and you are therefore left at the mercy of a third party site. They also look pretty shonky if the third party site does down for whatever reason. Displaying large "page not found" statements on your page is quite unsightly.
Lazy Instantiation In PHP
Mon, 07/27/2009 - 10:32 | by philipnorton42Lazy instantiation (also known as lazy load) is an object orientated design pattern that attempts to reduce the amount of resources needed to load an application by only loading certain parts of it if they are needed. This makes sense as you don't need all parts of an application on every page load, so cutting down the data loaded cuts down the resources and processing time needed to load the page.
A Simple Introduction To Zend_Cache
Thu, 04/02/2009 - 11:33 | by philipnorton42The Zend_Cache class is part of the Zend Framework and is used (as its name suggests) to cache things. This can be anything from the front end browser output to the outcome of a complex calculation or even the results of database queries. Zend_Cache is an enormous topic, not just how the class works, but what the best practices are for caching.
Google Ajax Libraries
Fri, 03/13/2009 - 22:36 | by philipnorton42Strictly speaking the Google Ajax libraries don't contain only Ajax libraries, but they are very useful for a variety of reasons. Google host a variety of different JavaScript libraries which you can link to on your pages rather than download the library and host it on your server. You can use MooTools, JQuery, Prototype/Scriptaculous, Dojo and even the Yahoo! User Interface Library.
How To Use Them
Using the Google Ajax libraries on your own site is quite easy, and you can do it in a number of different ways.
Loading Page Styles And JavaScript With JavaScript
Wed, 07/02/2008 - 08:50 | by philipnorton42One good technique when using JavaScript is to load a single JavaScript file and get this file to load any other JavaScript or CSS documents that are needed. This means that you can simplify the instillation of a script on a page by including a single file, which then loads everything else it needs. Here is how to accomplish such a task.