News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

PHPFreaks:
OO PHP Parts One & Two
June 09, 2008 @ 08:48:00

PHPFreaks has posted part one and part two of a new series they're working on to introduce those new to the language to the concepts of object-oriented programming in PHP.

On the old site, I started a series of tutorials named "PHP Application Design". I planned for at least three parts, and while I did publish the first two and wrote at least half of part three, I found myself out of time to make it to the finish. Still dedicated to writing reusable and extensible PHP code and spreading the knowledge, this is a restart of the series, renamed as simply "OO PHP"

In part one he looks at the basics of OOP (terms, defining properties/methods, autoload, exceptions, type hinting, etc) with some code examples sprinkled through out. Part two looks at the "boring OOP principles" like polymorphism, encapsulation and heuristics.

0 comments voice your opinion now!
objectoriented programming tutorial principles introduction



Stefan Mischook's Blog:
Aprenda Programacion Orientada a Objetos en PHP
May 12, 2008 @ 16:34:54

Stefan Mischook has released a Spanish version of his tutorial covering object-oriented programming in PHP.

I've released my tutorial on Object Oriented PHP in Spanish. You can download the PDF. Many thanks to Javier W. Barbieri from Iquitos Peru.

Check out the KillerPHP.com site for more great tutorials - including videos - released to learning PHP.

0 comments voice your opinion now!
tutorial objectoriented programming spanish translation


Stefan Mischook's Blog:
PHP Classes and Objects video tutorial
August 06, 2007 @ 09:24:00

In a continuing series of videos, Stefan Mischook has posted the last video discussing theory for object-oriented programming with PHP today.

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.

The video only runs about five minutes and covers the items from the PDF - a lot of the basics you'll need to know before getting into programming with objects and classes in PHP.

0 comments voice your opinion now!
video objectoriented tutorial pdf object class programming video objectoriented tutorial pdf object class programming


Stefan Mischook's Blog:
Object Oriented PHP Videos are now out!
July 30, 2007 @ 07:57:00

Stefan Mischook has taken the time to come up with some new video tutorials for PHP covering an introduction to and the use of object oriented programming in your PHP applications.

With the release of php5 (in 2004,) php programmers finally had the power to code with the 'big boys'. Like Java and C#, php finally had a complete OOP infrastructure. In these videos, you will be guided (step-by-step) through the process of building and working with objects using php's built-in OOP capabilities

There's two videos currently:

As well as a PDF file to accompany the "Why OOP?" video for more reference information.

0 comments voice your opinion now!
video tutorial objectoriented programming introduction pdf video tutorial objectoriented programming introduction pdf


PHP in Action Blog:
Running PHP tests inside Vim
July 16, 2007 @ 12:07:00

From the PHP in Action blog today, there's a new post that (briefly) shows how to run your tests directly from a popular unix text editor - vim.

I created my own test runner to run tests inside Vim, I can't remember how long ago. Must be a year or two. I never shared it with the world. It was too primitive for anyone else to use. Then, recently, I decided to try re-implementing it in a more serious way.

The "more serious way" meant using Vim script to its full potential, including the ability to work with objects and already has its own testing framework. He includes a screenshot but no download just yet. It looks promising and makes running tests as simple as hitting F11 and watching it go.

0 comments voice your opinion now!
unittest vim text editor objectoriented framework test unittest vim text editor objectoriented framework test


ITJungle.com:
ICS Finds the Sophisticated Side of PHP
June 06, 2007 @ 11:02:00

On the ITJungle website, there's a new article about an award presented to Independent Computer Services for their OOP development efforts.

One of the attractions to PHP on System i is the low skills barrier to entry. Anybody who has written a lick of procedural PHP on any other platform can develop System i applications. But one of the lesser known advantages of PHP is its capability to scale up into the realm of object-oriented (OO) development to create more sophisticated applications. OO development was the basis for an award given to System i consultancy Independent Computer Services (ICS) by Zend, the company behind PHP.

The article goes on to talk about who ICS is, what they do in the technology market, why they chose PHP and what they developed to deserve the award.

0 comments voice your opinion now!
ics objectoriented development award zend ics objectoriented development award zend


Matthew Weir O'Phinney's Blog:
PHP globals for the OOP developer
May 25, 2007 @ 10:35:00

Matthew Weir O'Phinney has two new posts that talk about something object-oriented developers seem to shy away from - globals in their classes and how they can make things more difficult to make "embeddable applications" a reality.

In my previous entry, I ranted about the use of globals in popular PHP applications, and how they make embedding said applications difficult. I develop using object-oriented practices, and can honestly say I can't recall ever having slung a global variable around in my own code. Globals seem hackish to me, and as a result, trying to get applications that use them to behave correctly has been a challenge.

In the first part, he notes an interesting find about the $GLOBALS value and illustrates with a code example how he was able to get around it in his instance (wrapping a Serendipity instance in a Zend Framework app).

In part two, though, and uses another code example to show what kind of issues he was seeing with the $GLOBALS - a script that sets some globals in different instances and echoes the results back out.

0 comments voice your opinion now!
globals objectoriented developer example code globals objectoriented developer example code


Paul van Iterson's Blog:
Why you want Object Oriented Programming in PHP
March 29, 2007 @ 11:05:00

In a new post to his "Quaint Tech" blog, Paul van Iterson talks about why you want (to use) object-oriented programming in your PHP applications versus the more procedural methods.

Most modern programming languages are based on an OO approach and don't even allow for procedural coding anymore (for instance in languages as Java, C++, C#, Python, and Ruby). Explaining OOP goes beyond the scope of this article, so for understanding OOP in PHP I'd like to point you in this direction. For now let's just say that OOP is about creating relatively small objects with specific functions that interact with each other to form a complete application.

Right off, he lists two advantages to using OOP methods (reusability and better structure) and a disadvantage (can be more time consuming to write). He does still recommend it though to any "serious PHP developer taking on serious projects". He illustrates the point with some of his own experience - an application for a real estate firm.

0 comments voice your opinion now!
objectoriented programming example advantage disadvantage objectoriented programming example advantage disadvantage



Community Events











Don't see your event here?
Let us know!


ajax book package conference framework developer PHP5 example zend application zendframework release job PEAR cakephp code mysql releases database security

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework