Javascript - Tutorial: templates with mustache.js
Mustache.js is an implementation of the mustache template system in JavaScript.
Mustache is a logic-less template syntax. It can be used for HTML, config files, source code - anything. It works by expanding tags in a template using values provided in a hash or object.
This tutorial provides a nice sum up on how to use it to display the most common data structures.
Mustache is a logic-less template syntax. It can be used for HTML, config files, source code - anything. It works by expanding tags in a template using values provided in a hash or object.
This tutorial provides a nice sum up on how to use it to display the most common data structures.
Posted in: display errors (override ini settings if neccessary) PHP
Or do it in an .htaccess file like this:
22nd May 2013
anonymous
Posted in: Simple overlay div jQuery
This will overlay the complete page with a transparent div and is a bit shorter:
22nd May 2013
anonymous
Posted in: detect enter key in jQuery jQuery
Since the live method has been is deprecated in jQuery, nowadays the second example would be written something like this:
4th May 2013
anonymous
Posted in: Leverage browser caching using PHP header() PHP
Cool, thanks!
15th April 2013
anonymous
Posted in: PHP class - ajax bridge PHP
This allows auto loading files:
12th April 2013
anonymous
Posted in: Wrap the form element and label seperately using the HtmlTag decorator Zend Framework
I try this in zend 1.12 but no work, what wrong.
My code :
22nd February 2013
anonymous
Posted in: Check if string is alphanumeric (plus underscore and dot) with preg_match PHP
nice..............
13th February 2013
anonymous
Posted in: Regular Expressions tutorial Python
'Regular expressions in Python and Perl' is also very good :
http://www.johndcook.com/python_regex.html
21st December 2012
anonymous