Author Archive
Posted on August 18, 2010 - by webmaster
PHP Newbie: Proper handling of Error & Exception in PHP
Got a question from a friend today who is actually a great desktop programmer and just learn PHP since he believe that the future is in the web (hope you’re right dude). He asked me about how to handling error in PHP. Well i’ll write my answer here so can share with others and got feedback when I was wrong.
In PHP there are few options that you can use to handle errors & exceptions during script executions and as developer you must considering not the easiet but the most flexible approach which will help you when debugging your appllication, the more detail error message provided the faster you can fix it. Flexible means its easy for you to change the application behaviour when unexpected things happened during execution like: display error, logging error or even automatically notice you via email.
Posted on August 16, 2010 - by webmaster
Why SEO lost importance
Cameron Chapman wrote an interesting post at instantShift today, he explain well about the position of SEO in web development & internet marketing world lately which is getting less & less important.
Social media is a big part of the blame for this situation. People can now ask their friends or complete strangers for recommendations on virtually anything, and get human-filtered results within minutes through Facebook, Twitter, or other social networking sites. Internet users are also becoming more savvy and can cut through search results to find the best content, regardless of optimal placement for the best keywords.
Even in cases where search engines still send significant traffic to a site, search engines are becoming so much more intelligent that it’s getting harder and harder to get good placement unless you’re providing the best content.
According to Chapman’s article, the 7 main reasons why SEO is getting less important are:
Posted on August 16, 2010 - by webmaster
jQuery Mobile Announced : Touch-Optimized Web Framework for Smartphones & Tablets
Really interesting post from Dion at Ajaxian i read today explain about the new jQuery mobile project as announced by Jhon resig himself the founding father of jQuery. The jQuery Mobile project is supported by Palm with their webOS platform, Mozilla with Mobile Firefox and Filament group the creator of EnhanceJS
jQuery Mobile: Touch-Optimized Web Framework for Smartphones & Tablets. A unified user interface system across all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.
Great move and cant hardly wait to test it when it become available
Posted on August 15, 2010 - by webmaster
Multiple Google Account Signin
Just realize that google now allow multiple account sign in, I had few google accounts to access different google services like: gmail, reader, analytics, apps etc. and its silly when i need to signout and re-sign too often. I used to using greasemonkey scripts and then finally stick with using different browsers at same time, but that was then, now you can login with multiple account simultaneously
- Go to your account settings at the top right (settings -> Accounts and import -> Google account settings) or (Settings submenu when available)
- On the list of personal settings you will find at the bottom options to edit multiple sign-in
- Edit, turn it on
- On your account name at top right (youname@gmail.com) there will be dropdown nav (arrow next t it) open dropdown -> signin to another account
- Now you can switch to different account easily
Thanks Google! love this
Posted on June 27, 2010 - by webmaster
Install, Configure & Running Memcache in Windows as Service
Installing memcache server in windows is a little bit complicated compared to how it can be done in *nix since theres not yet available ready to use package for win32.
Luckily i found the compiled memcached for win32 (exe) which was made by jellycan, within this exe file you can install configure and running memcached as a service in your windows environment, here are how i made it:
*** updated ****
Newer version available at northscale, thanks to Matt Ingenthron for pointing this.
Posted on June 14, 2010 - by webmaster
DynamicWP Image Cube Wordpress Plugin
DinamicWP Image Cube is a free plugins for wordpress which will turn your selected images into a 3D image cube slideshow. This plugin will randomly show your image with beautiful fadein/fadeout 3D cube effects.
Released under GPL License means you can use it for all your project or at least use it as a foundation for your next projects for free and without any restrictions.
Posted on June 12, 2010 - by webmaster
New Wordpress 3.0 API menu_page_url
Peter Westwood one of the lead developers of wordpress has introduced a new API method in wordpress 3.0 api which will help the plugin developers easily get the url of the plugin page.
Example of implementation:
add_options_page('Best Evar Menu', 'Best Evar Menu', 'manage_options', 'best_evar_menu', 'best_evar_options_page');
menu_page_url( 'best_evar_menu' );
The function will by default echo the url out but if you want you can get it returned for processing by setting the second argument to false.
Reference: WP Track #13829
Posted on June 11, 2010 - by webmaster
Wordpress 3.0 Custom Taxonomy
Justin Tadlock has written a new article about new wordpress 3.0 custom taxonomy features as and update to his old article about how to create & implement custom taxonomy in wordpress (wordpress 2.8).
As usual he wrote it in detail with deep explanation about the taxonomy object and API function including the parameters, so if you want to dive more into new wordpress 3.0 capability esp. about new custom taxonomy features this article is “a must read” also good start if you jump from his old article which includes the real example in using wordpress custom taxonomy, in which will help you to easily understanding the new custom taxonomy how to’s
Posted on June 6, 2010 - by webmaster
JQuery DataGrid Plugin Compass
Compass DataGrid is yet another DataGrid plugin for jQuery with ajax-driven data support, it takes empty table and manipulate it based on JSON encoded data returned by the server side code.
JQuery Compass DataGrid has support for pagination and show/hide column also has many presentation options like: row hover styling, sorting, stripping, resizable, parameter filter etc.
Download & Demo could be found here
Posted on June 6, 2010 - by webmaster
Upgrading to upcoming CodeIgniter 2.0
phil sturgeon has published a new article in his blog about upgrading pyroCMS to the new upcoming codeigniter 2.0, worth to look at to help you port your CI based application to run with CodeIgniter 2.0 with less headbanging. I seen big changes has been made to this new version includes:
(more…)

