Renaming file extensions with bash script

A couple of weeks ago I had to rename the file extension of several view scripts from html (from my own mvc framework) to phtml (zend framework). I found, as always, bash to be my friend.

for i in *
do
( file $i | grep html ) && mv $i $(echo $i | sed [...]

April 30, 2009  Tags: , , , ,   Posted in: Development  One Comment

Would I Pass the Zend PHP5 Certification Exam?

I have just used 20 minutes on testing my php5 skills before taking the actual certification exam in the future.
As expected, by me at least, I lack some skills in arrays, string manipulation and regular expressions. I knew this. I always look up details when I use this. Database access questions are all based [...]

April 16, 2009  Tags: ,   Posted in: Web development  No Comments

PHPExcel and Google Docs Together

With the excellent PHPExcel library it is possible to write Excel data to Google Docs Spreadsheets. Maarten Balliauw has written a post about Saving a PHPExcel spreadsheet to Google Documents a method which uses the ZEND_GData module from Zend Framework.

March 8, 2009  Tags: , , ,   Posted in: Development, Web development  Comments Closed