Web development , php , ajax , symfony, framework, zend
In: Coding|php|programming
7 Jun 2011Super simple page caching When your project isn’t based on a CMS or framework, it can be a good idea to implement a simple caching system on your pages. The following code snippet is very simple, but works well for small websites. <?php // define the path and name of cached file $cachefile = 'cached-files/'.date('M-d-Y').'.php'; [...]
In: Coding|php|programming
30 Mar 20111 – Localize theme strings Before installing a plugin on your blog, the first thing to do is to localize theme strings. PHP and the Gettext tool (which allow easy string translation) have two functions: _e() and __(). The only difference between _e() and __() is that _e() echo a string while __() is used [...]
This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.