Simple jquery plugin used to trigger a function when a specific element apears on viewport, this callback is trigged one time. This plugin is very useful when you what to preload an image when this apears on the viewport. In this example the image is printed with osrc attribute wich keeps the path to the [...]
Archive for November, 2011
Working with JSON RPC from javascript
JSON-RPC is lightweight remote procedure call protocol similar to XML-RPC. Its very simple and its used by alots of web applicationsĀ at least json wich is very used in modern applications. To communicate with server in a professional way, json-rpc is a good solution all you need to do is to create server side classes and [...]
Improve Zend Framework application speed by separate static content and using Zend_Cache and Zend_View for static files
Introduction Why doing this, the reason is simple. We dont need to process all static files in our framework, because this increase loading time of your application. The ideea is to create a separate domain for your application eg. http://s.domain.com wich will render and cache all requested files. I personally used this method and my [...]