Archive for the ‘PHP’ Category
Google VS PHP
Here is the recent article Google published for Web optimisation technique for PHP. It got bad PHP community slap back especially from the Sitepoint.com and Google group forum. It is quiet interesting to see how beginner PHP will actually fall in the trap which recomemded so of the tips from the articles.
My Favourite Web Development tools.
Every few months, i will be googling or check out new web development tools for my work and personal projects. Unbelievably, new cool and fantastic tools kept poping up, something you even have problem which best tool to used. The tools i meant here, are tools like IDE, plug-in, library, framework, cms, test-suite and more. Below, are the list of tools that currently i am using and found it very useful and increasing my productivity. All the tools are OPEN SOURCE which i am a very big fan of.
Firefox Add-ons
——————-
1. Again, Firebug win my heart. This tool let you inspect and edit CSS on the fly. Not only css, debugging javascript with it, save tons of your time to look for javascript errors.

Firebug screen shot
2. iOpus iMacros – from a Firefox add-ons : to record form filling and replay the task you had been recorded. Save your time kept repeating testing for web forms, useful for web testing, web scraping and more.

IMacro
3. Web development- from a Firefox add-ons : Great tools with lots of functionality for web developers. Such as markup validation, cookies management, http header management and more.
Web Development toolbar (Firefox add-ons
4. XDebug for Javascript
5. Yahoo YSLOW – Javascript profiler : A great tools to check how to faster up your website. Their also provide best practice and guideline how to improve website loading performances.
Framework
————–
1. Zend framework : started using recently and fall in love with it. Strong MVC architecture support and database adapter.
2. jQuery : Javascript framework that i will use in every project that in the future. LOVE IT!!
CSS
—-
1. 960 Grid System from MIT. Very easy to use and faster up your layout design for a new website without worrying if the new row or column will expand accordingly.
Forum
——–
1. Although this part is a bit not relevant, but i insist to introduce the best question and answer programming/IT forum : www.stackoverflow.com
2. Slashdot : Ah!!..sometimes you need a break from your IDE or notepad.
Time Tracker
—————-
1. I use RTM : Remember the Milk task list which integrate well with Gmail Task List.
2. Google Calendar : Use it for weekly planner and task remimder which sent free sms reminder to your mobile phone.
PHP Coding Pratice.
If You are PHP Developer and wanted to improve your coding standard here is the start.
Although those tips looks simple and for Cake but guess what it had the power to impact your coding standard. I have been trying to code in any language with the standard provided and yes!, at first it is hard. Then when you used to it, it became a habit. Cheers.
Tips for Installing WS02 WSF/PHP Extension
If you happen to use Web service running on WSO2 WSF/PHP as server or client and this is your first time configuration here are some tips might helping you if you get this error Messages (WSClient not found: ….) or when you tried to run phpinfo() and didn’t found wsf almost bottom of the html page when trying the samples code from WSO2 WSF/PHP Ext. It might be you have not set the path or copy the 3 required file.
1.Libxml2++.
2.iconv-++
3.zlib++
Download these files.
Make sure you follow exactly the tutorial provided from WSO2 WSF PHP/Ext Website
Tips
1. Try to run “php -m” without the quote from Window Command Prompt.
2. If it happen a pop-up dialog box mention you required one of those 3 files then you had to set the path an Environment. For example : C:\libxml2-2.6.30+.win32\libxml2-2.6.30+.win32\bin and etc.
2. Copy the libxml++.dll file into your C:\path\wso2-wsf-php-bin-1.2.1-win32\wsf_c\lib and same as the rest.
3. Close the previous command prompt. and rerun the command prompt again. Try to run “php -m” and it might fix the problem.
4. Check the list that shown make sure all those 3 files are listed.
5. Now the wsf will be shown out.
6. Restart your apache server or restart your PC if required. The wfs will be shwon in phpinfo(). It happen to me that it required me to restart the server several time until the wsf shown. Weird.
7. Anyway, try the sample client. It might be working now.
Happy Coding.

Spread Firefox
