A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Checking PHP script performance with Xdebug

Xdebug [http://www.xdebug.org/] is a useful tool to debug PHP scripts. An interesting feature is the script profiling.

If the option is enabled, Xdebug will be able to trace and save information (time, details) about all the functions/methods called in the script (CLI or Apache).

The aim of the profiling is mainly recognizing bottlenecks [...]

Functional testing for web applications: Selenium IDE for firefox

In a previous post I wrote about PHP Unit testing.

In software science, the levels above Unit testing are Integration, System and System integration testing. For a standard web application I suggest to use only Selenium [official site], a powerful complete framework , distributed with apache licence 2.0 (a free-software, GPL compatible). Selenium includes [...]

SVN to FTP/web on Windows with svn client+winscp

How to deploy a web application and to quickly deploy future updates/patches from a SVN repository into a remote web server (only with ftp access and without possibility to setup svn client) ?Here are my suggested steps: export SVN (that is obtain the last repository without “.svn” directories) process the exported SVN (e.g. adding or [...]

Debugging techniques with free tools [updated 30 June]

Netbeans PHP 6.* + Xdebug + Firefox (with netbeans extension to server debug with javascript) !howto configure with Wamp 2.0h:- download php_xdebug-2.0.4-5.2.8.dll into the Wamp folder- open port 9000 in the firewall- edit php.ini adding

[xdebug]zend_extension_ts=”c:/wamp/bin/php/php5.2.9-2/ext/php_xdebug-2.0.4-5.2.8.dll”xdebug.remote_enable=onxdebug.remote_handler=dbgpxdebug.remote_host=localhostxdebug.remote_port=9000xdebug.remote_mode=req

- now, let’s debug the script with Netbeans choosing “Server side PHP with client side Javascript”. Netbeans will [...]