Object Oriented PHP:

A Question about object properties in PHP Classes.

December 6, 2007

I got this question put to me recently: Since you say it’s bad practice to access object properties directly from outside the class, is it then good practice to declare all variables as protected or private to force yourself to not? My answer: Yes. Many OO techniques are designed for situations where you will have…

Read More

The Zend Framework: Writing Object-Oriented PHP with Ease.

November 21, 2007

Introduction In my attempt to turn you nerds into uber-nerds, I’ve been lucky enough to get the young and talented Jon Lebensold (my right hand nerd) to bang out a few articles (and soon videos) on some of the emerging PHP technologies and working practices that take PHP into the enterprise arena. Enterprise arena =…

Read More

Object Oriented PHP Tutorial in PDF

September 11, 2007

Hi, I’ve had several people request that the article on object oriented PHP be made into a PDF for offline viewing. Well … here you go: oop php pdf The PDF also contains links to the accompanying videos. Thanks, Stefan Mischook www.killerphp.com www.killersites.com

Read More

Building Objects in PHP – Part 3

September 9, 2007

Hi, I’ve just released part 3 of my videos on objects in PHP. In this video, I clarify a point I was trying to make in part 2. In a nutshell, I talk about why it makes sense to keep any page rendering code (HTML and CSS) out of your business logic classes. .. I…

Read More

Building Objects in PHP – Part 2

September 9, 2007

Hi, I’ve released part 2 of the video: Building Objects in PHP In this video, we actually use the object we created in Part 1, in our PHP page. – I will have another video to clarify and wrap things up covered in Part 1 and Part 2. Thanks, Stefan Mischook

Read More

New Video: Building Objects in PHP

September 7, 2007

Hi, I just released part 1 of my video on building objects in PHP. This is a hands-on video where I hope the viewer will actually write code along with me. I want to stress that this video (like everything else on this site,) targets beginners .. not old PHP hacks. … My goal is…

Read More

Why learn OOP in PHP – another take.

September 7, 2007

Why learn OOP in PHP – another take. For people new to OOP and are comfortable with ‘classic’ procedural php, you may be wondering why should you even bother to learn object oriented concepts … why go through the trouble? The PHP world: PHP is moving in an OOP direction. For example, many important PHP…

Read More

Object Oriented PHP Tutorial Updated

August 26, 2007

Hi, I’ve update my beginners tutorial on object oriented PHP adding steps 12-17. I cover two new basic OO concepts in these steps: Constructors. Access modifiers. Again, this is a code intensive article where I expect you to follow along with your PHP editors. More to come. Thanks, Stefan Mischook www.killerphp.com

Read More

Object Oriented PHP Tutorial Released

August 22, 2007

Hi, I’ve just released a written tutorial on object oriented PHP, that targets people totally new to OO PHP. Beginners Object Oriented PHP Based on an article I wrote for a web design magazine; the tutorial is presented as a series of simple steps where I walk the reader through the process of building objects…

Read More

PHP Classes and Objects video tutorial

August 3, 2007

Hi, I’ve released a new video that basically covers the content covered in the PDF: Classes and Objects. – … It is the last bit object oriented PHP theory before we jump in and start writing actual PHP code. Video: PHP classes and objects Thanks, Stefan Mischook

Read More
To Top