• Home
  • Services
  • Profile
  • Portfolio
  • Contact
  • Links
  • Blog
  • Archives
  • Sitemap
Subscribe: Posts | Comments | E-mail
  • Ajax XMLHttpRequestAsynchronous HTTP Request How To's
  • FreebiesBest Freebies Collection
  • MiscellaneousNews, Announcements & General Stuffs
  • Print & Web DesignPhotoshop, Vector, CSS, XHTML
  • ProgrammingProgramming PHP, ASP, .NET and more

Bali Web Design

PHP Newbie: Proper handling of Error & Exception in PHP

Featured Programming

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.

(more…)

Ad

Why SEO lost importance

Featured Miscellaneous

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 [...]

jQuery Mobile Announced : Touch-Optimized Web Framework for Smartphones & Tablets

Featured Miscellaneous

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 [...]

Multiple Google Account Signin

Miscellaneous

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, [...]

Install, Configure & Running Memcache in Windows as Service

Featured Programming

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

DynamicWP Image Cube Wordpress Plugin

Programming

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.

New Wordpress 3.0 API menu_page_url

Programming

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.

Wordpress 3.0 Custom Taxonomy

Programming

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 [...]

JQuery DataGrid Plugin Compass

Ajax XMLHttpRequest Programming

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 [...]

Upgrading to upcoming CodeIgniter 2.0

Programming

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:

« Older Entries
Freebies

Social Network Icon Pack

80+ social network icons which consists of 40+ 16 pixel x 16 pixel icons and 40+ 32 pixel by 32 pixel icons all in 32-bit PNG format by komodomedia.

Freebies Print & Web Design

Free Icons flavour & twitter icons

Awsome free icons at smashingmagazine available for download, 2 different set of high quality icons in PNG format with different sizes and downlaodable along with PSD & AI (adobe illustrator format) source for free, allow you to make any modifications to the icons to fit your needs.

Freebies Print & Web Design

Free Icons flavour & twitter icons

Awsome free icons at smashingmagazine available for download, 2 different set of high quality icons in PNG format with different sizes and downlaodable along with PSD & AI (adobe illustrator format) source for free, allow you to make any modifications to the icons to fit your needs.

Freebies Print & Web Design

Gallery a free wordpress theme for portfolio showcase

Smashingmagazine has released a new free wordpress theme designed by Christopher Wallace named “gallery”, based on the result of smashing community wordpress theme polling.

Featured Programming

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 [...]

Featured Programming

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

Programming Tutorials

WordPress 3.0 Theme Development: The Comment Form

Otto at ottopress has written a great article about the new handy & standarized tags in wordpress 3.0 to display comment form. Replacing the old messy comment template with versatile costumizable wordpress template tag

Programming Tutorials

PHP Class Create Short URL via TinyURL, Is.gd, Hex.io, Tr.im & Bit.ly API

Short URL is commonly used today for several reasons: avoid url garbling, take smallest space especially for long url which need to be posted at limited space format eg: twitter, also often used to manipulate user for specific purposes eg: hiding orginal url for phising and ads/affiliation links.
There are many websites that provide shortening url [...]

Web 2.0

Beautiful jquery lightbox plugins

When I am re-designing my official website i have googling for thickbox alternatives to used in my portfolio section, thickbox is great but i need a lightbox effect plugins with beautiful predefined styles and compatible with latest jquery 1.3.1 version, and jquery lightbox below match my requirements.

Freebies Tutorials Web 2.0

Update: Jquery Image Loader

Follow up the comments from my previous post about animate loading image with jquery which asking about how to populate images from the DOM instead of declare the image within the javascript codes manualy, so i made a little changes into the code since it seems to be easier for you all to adopt this [...]

View The Archives
  • Most Popular Posts

    • { 108 } ResponsesPHP ajax login form using Jquery
    • { 79 } Responsesphp ajax tutorial create ajax based login form using jquery
    • { 71 } ResponsesASP Classic Programming Still Alive
    • { 53 } Responses63+ best practice to optimize PHP code performances
    • { 44 } ResponsesVideobox: Lightbox for videos
  • Latest Posts

    • PHP Newbie: Proper handling of Error & Exception in PHP
    • Why SEO lost importance
    • jQuery Mobile Announced : Touch-Optimized Web Framework for Smartphones & Tablets
    • Multiple Google Account Signin
    • Install, Configure & Running Memcache in Windows as Service
    • DynamicWP Image Cube Wordpress Plugin
    • New Wordpress 3.0 API menu_page_url
    • Wordpress 3.0 Custom Taxonomy
    • JQuery DataGrid Plugin Compass
    • Upgrading to upcoming CodeIgniter 2.0
  • Categories

    • advertorial
    • Ajax XMLHttpRequest
    • Featured
    • Freebies
    • Miscellaneous
    • Print & Web Design
    • Programming
    • Tutorials
    • Web 2.0
  • Featured News

    • PHP Newbie: Proper handling of Error & Exception in PHP by webmaster on August 18, 2010
    • Why SEO lost importance by webmaster on August 16, 2010
    • jQuery Mobile Announced : Touch-Optimized Web Framework for Smartphones & Tablets by webmaster on August 16, 2010
    • Install, Configure & Running Memcache in Windows as Service by webmaster on June 27, 2010
    • Website Optimization Best Practices, speed up your website load by ruby on May 21, 2009
  • Tag Cloud

    • Actionscript advertorial Ajax XMLHttpRequest API best practices CakePHP chat Classic ASP CMS CSS Development facebook firefox Flash flickr Freebies gmail HTML icons Javascript Jobs jQuery jQuery Plugins Library Lightbox memcache Mootools news Personal PHP PHP Frameworks plurk Print & Web Design prism Prototype regex regular expression Scriptaculous SEO Tutorial twitter Web 2.0 Wordpress Works YUI
  • Archives

    • August 2010
    • June 2010
    • May 2010
    • September 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
copyleft 2007 - 2010 Bali Website Design Studio