Archive for the ‘PHP’ Category

Selenium and symfony Integeration – the Non-plugin Approach (Tutorial)

Posted on August 25, 2010
I have been writing a lot test cases for a large web project built by symfony. From time to time I found the build-in testers are not sufficient to test my application thorough enough. Often times it is not possible to simulate the way a user would interact with the application. For this reason, I [...]

A Simple Yet Powerful PHP Template Engine

Posted on June 28, 2009
This is not yet another regular expression replacement template engine. The template engine uses PHP itself to render the template. The template itself is very intuitive to people who are already familiar with PHP. There is no extra learning for additional syntax - the template code itself is just plain PHP code. Though I haven't [...]

Ajax Response Helper for PHP

Posted on October 1, 2008
In Ajax programming development, passing data back and forth between client and server is a common task. There are two major data formats that one can use for this purpose, namely XML and JSON. My personal preference is JSON because I find it's less verbose and easier to parse. Although latest PHP provides a very handy [...]

Easy JSON Encoding/Decoding in PHP

Posted on September 13, 2007
Update(2009-09-19): JSON encoding and decoding is built into PHP since PHP 5.20. You don't need Zend's JSON support if your PHP version is >= 5.20. Please see: http://us2.php.net/manual/en/function.json-encode.php http://us2.php.net/manual/en/function.json-encode.php So you are writing a piece of PHP code to handle some Ajax request and you've just finished coding the business logic. It is time to output some server [...]
Code Central Special

Categories

Polls

  • Tell us who you are:

    I am a...

    View Results

    Loading ... Loading ...