Archive for August, 2008

PHPDoc – How To Continue Comments In TextMate

Posted on August 21st, 2008 in CodeIgniter, Mac OSX, PHP, Web Development | 1 Comment »

When using TextMate to code PHP, you may be annoyed by the way TextMate handles hitting the Enter key while in a PHP comment block. I would like the lead * to be continued on the new line. There are two ways to get this to happen.

Read the rest of this entry »

Overloading So That empty() works in PHP

Posted on August 13th, 2008 in PHP, Web Development | 2 Comments »

Overloading PHP So That empty() Works

PHP5 has a much improved object oriented feature set. With great MVC PHP frameworks such as CodeIgniter, CakePHP, and the Zend Framework you should certainly be writing your own classes and taking advantage of objects in your coding. Using the magic methods that you get with PHP5 you can overload your classes so that you can do some very cool stuff.

PHP’s overloading deviates from the way other programming languages work. Overloading in most other languages enables you to define several different methods all with the same name but taking different types of paramters. PHP, on the other hand, uses overloading to handle calls to object members or methods that have not been defined or are not visible in the current scope of the caller.

A Quick Example Of Overloading

Read the rest of this entry »

TheWebLessons.com PHP Screencast Tutorials

Posted on August 5th, 2008 in CodeIgniter, PHP, Web Development | 1 Comment »



PHP Screencasts, PDF books, and source code. Lessons will be cover PHP Development, and the CodeIgniter PHP Framework.

As of today, TheWebLessons.com is open. If you register during the beta phase, you will receive a 50% discount on all of the lessons that will ever be published.

Lesson Topics Will Include

  • Object Oriented Programming in PHP5
  • Setting Up A CodeIgniter Project
  • Understanding MVC Architecture
  • Using Your Own Libraries With CodeIgniter
  • Working with Sessions
  • Databases and CodeIgniter
  • Working With Forms
  • Sending Email
  • Testing Your Code
  • And more…

Sign up today to lock in your discount.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes