Archive

Archive for February, 2009

Exception Handling In PHP5- php tutorial

February 16th, 2009 Gertjan No comments

What is Exception Handling?

An exception (or exception handler) is a programming language construct that lets web developers have a better control over error handling. Most web sites development services have the option to extend this with their own custom exceptions to trap specific bugs or errors.

Exception Handling in PHP

PHP 5 has features for dealing with errors, thanks to its Object Oriented capabilities. Now, there is no need for explicit error checks every time one connects the database. There is more scope for controlling errors by using the exception class with try and catch blocks.

Read more…

Categories: PHP Tags: , ,

Five good programming habits in PHP

February 16th, 2009 Gertjan No comments

Just like any language, developers can write code in PHP that ranges in quality from truly awful to very good. Learn good programming habits that can help you bridge the productivity gap.

Depending on whom you ask, the difference between a good developer and an excellent developer, in terms of productivity, is a factor of 10 to 20. An excellent developer is more productive because of his experience and good habits. When poor programming habits sneak into your code, they’re a drain on productivity. This article demonstrates some good programming habits that can make you a better programmer.

Read more…

Categories: PHP Tags: , , ,

Adding a WYSIWYG Editor to Your Site

February 16th, 2009 Gertjan No comments

This tutorial covers the essentials of separating your design from your content and adding an editor to allow the site owner to make edits from any location. This tutorial is geared towards PHP sites, but the techniques involved can be translated to ASP, Perl-CGI and other languages.

Read more…

PHP 101: PHP For the Absolute Beginner

February 16th, 2009 Gertjan No comments

This area is intended for everyone new to PHP. It opens with a series of informal, entertaining tutorials written by Vikram Vaswani, founder and CEO of Melonfire. These tutorials build on a previously-published 5-part series which has now been updated and extended to embrace PHP 5, making parts of it suitable for those of you who already have worked with PHP 4 in the past.
Read more…

Categories: PHP Tags: , ,

The PHP IDE Test: Why Use One And Which To Choose

February 13th, 2009 Gertjan No comments

Smashing Magazine has put together an article comparing sveral of the popular PHP IDEs on a list of about twenty different features.

I'm the best

I'm the best


Read more…

Categories: PHP Tags: , , , , ,

Build an AJAX-Powered Shopping Cart based on PHP and Jquery

February 11th, 2009 Gertjan No comments

One of the innovations of the web is online shopping. It allows us to buy things without ever leaving the comfort of our homes. However, the most basic element of online shopping, the shopping cart, has not evolved much. In this tutorial, we’re going to make an AJAX powered shopping cart using PHP, jQuery, and a few nifty plugins.

build-an-ajax-powered-shopping-cart

build-an-ajax-powered-shopping-cart

The goal of this tutorial is to show you how to build an AJAX powered shopping cart. Nettuts focuses on the AJAX parts.

Read more…

Displacement Water – Photoshop Tutorial

February 9th, 2009 Gertjan No comments
displacement-water-photoshop-tutorial

displacement-water-photoshop-tutorial

Creating a realistic water surface in Photoshop is quite a challenge because it is the distorted reflection of the surroundings that makes the water look liquid. The displace filter is an excellent tool for making this distortion. The displace filter “shifts pixels” in an image according to the brightness values of a displacement map.
Read more…

JS Charts – A free Javascript based chart generator

February 7th, 2009 Gertjan No comments

JS Charts is a free JavaScript based chart generator that requires little or no coding. With JS Charts drawing charts is a simple and easy task, since you only have to use client-side scripting (i.e. performed by your web browser). No additional plugins or server modules are required. Just include our scripts, prepare your chart data in XML or JavaScript Array and your chart is ready!

js chart

js chart

JS Charts lets you create charts in different templates like bar charts, pie charts or simple line graphs.

Read more…

20 Excellent AJAX Effects You Should Know

February 5th, 2009 Gertjan No comments

Take a look at the following 20 Excellent AJAX Effects You Should Know, you might learn something from it.

There are a few special techniques or effects that can spice up just about any web page. These are the top 20 Ajax effects that every web developer should know. They’re essential parts of any web developer’s toolbox. If you haven’t seen them yet, you no doubt will in your future web development endeavors.

The 20 effects are:

  1. TextboxList meets Autocompletion
  2. Ajax IM
  3. LiveValidation
  4. Inline Editing
  5. Ajax Upload
  6. Fancy Upload
  7. ClickHeat Clicks Heatmap
  8. Ajax Mail Form
  9. Ajax Directory Manager
  10. Ajax Email Client
  11. Improve Form Usability with Auto Messages
  12. qGallery
  13. Ajax Star Rating
  14. CakePHP Ajax Form
  15. Amberjack Site Tours
  16. Prototype UI
  17. JCrop
  18. jQuery Auto-tabbing Plugin
  19. Sort Table Rows with Ajax
  20. DrasticMap

Link: 20 Excellent AJAX Effects You Should Know

Zend Framework: Getting Started Screencasts

February 3rd, 2009 Gertjan No comments

Zend Framework is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License. Zend Framework—often referred to as ZF—is developed with the goal of simplifying web development while promoting best practices in the PHP developer community. Read more…