Advanced PHP Resources

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Advanced PHP Resources

Post by jason »

Note: This sticky is here specifically for listing Advanced PHP Resrouces. Each post will contain a link as well as a description, or else it gets removed.

Five common PHP design patterns
Design patterns are just for Java™ architects -- at least that's what you may have been led to believe. In fact, design patterns are useful for everyone. If these tools aren't exclusive to architecture astronauts, what are they, and why are they useful in PHP applications? This article explains.
18 Jul 2006
Object Oriented PHP: Paging Result Sets
In this article, I'll teach you the basic principles and features of Object Oriented Programming that exist in the PHP language, and take you through a few simple examples so you can see how it all works. We'll then take this newfound knowledge and apply it to a practical problem. Together, we'll create a reusable component that will handle the splitting of MySQL result sets into pages.
Introduction to PHP Objects, Part 1, Part 2
John Coggeshall introdues one of the more interesting and useful methods of writing PHP scripts -- the object-oriented method. Those of you who might have experience with an object-oriented programming language such as Java or even C++ will find themselves right at home with most of the concepts I'll begin outlining here. However, be warned -- PHP objects have a mixture of C++ and Java, making them a little different than what you might be used to. In any case, let's get started with the basics.
Using objects to create an application
This tutorial is the first in a series, which will show you how to use objects to create an application-building the application up from smaller parts-and teach important software engineering and design concepts that will be useful to not only PHP, but to other languages as well.
Using Objects to Create an Application
This tutorial is the second in a series dealing with using objects to create an application -- building the application up from smaller parts -- and teaching important software engineering and design concepts that will be useful writing not only in PHP, but in other languages as well. The specific project assigned is creating an online posting system. This article concentrates on the design stage of the project.
User avatar
m3mn0n
PHP Evangelist
Posts: 3547
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

PHP5
- Overview of the Zend 2 Engine
New OO features coming soon to PHP 4.3.x (hopefully).

- Intro to PHP 5(Sterling Hughes) - Sterlings presentation to NYPHP

- Intro to PHP 5 (Luis Argerich) - tutorial on phpBuilder touring the new functionality in PHP5

- PHP5 and the future of PHP - Sitepointforum's regular Håvard Eide provides an excellent tutorial / discussion of PHP 5P 5

Books
- Professional PHP4 XML
Can personally recommend this one. Handles the core stuff well; in particular a very in depth explaination of DOM (with plenty of warnings about coming changes) and later all sorts of interesting stuff like a chapter on XML storage.

- XML and PHP
Can't tell you how good it is personally but it's being talked about alot.
Gleeb
Forum Commoner
Posts: 87
Joined: Tue May 13, 2003 7:01 am
Location: UK
Contact:

Post by Gleeb »

Sami wrote:PHP5 and the future of PHP - Sitepointforum's regular Håvard Eide provides an excellent tutorial / discussion of PHP 5P 5
Just as a funny aside, spot the Mr. T cameo in http://www.phpvolcano.com/articles/php5 ... stract.php
Tzicha
Forum Newbie
Posts: 8
Joined: Wed Sep 04, 2002 9:54 am

Of course: phpPatterns

Post by Tzicha »

www.phpPatterns.com The next step after learning how to use classes.
lastcraft
Forum Commoner
Posts: 80
Joined: Sat Jul 12, 2003 10:31 pm
Location: London

Re: Advanced PHP Resources

Post by lastcraft »

Hi...
jason wrote:Note: This sticky is here specifically for listing Advanced PHP Resrouces. Each post will contain a link as well as a description, or else it gets removed.
Fair enough. I think that you have missed these...

http://c2.com/cgi/wiki?DesignPatterns
This was the first ever Wiki (by Ward Cunningham) and has a wealth of OO and software development information. It also gave birth to extreme programming (with Kent Beck). You can get lost for days in this site.

http://www.martinfowler.com/
A great site in it's own right. The information changes as the content is moved into his (excellent) books though, so read often. "Patterns of Enterprise Application Architecture" is a real classic in this regard as is "Refactoring".

yours, Marcus.
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

DigiWays - PHP and OOP techniques
One of the best articles I've read that helped me get started with OOP PHP Programming.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Was about to post this one http://www.refactoring.com/catalog/index.html when I saw that lastcraft already mentioned it.

Oh well, it's worth mentioning again ;) Highly recommended.
beachguy29588
Forum Newbie
Posts: 4
Joined: Tue Mar 30, 2004 1:00 pm

Post by beachguy29588 »

The guides were helpful!!!! Thanks for the really helpful guides!!!
unknownman
Forum Newbie
Posts: 1
Joined: Sat Jul 24, 2004 10:43 am
Location: iran
Contact:

Authentication in Persian....

Post by unknownman »

http://www.unknown-man.com/blog/weblog.php?id=120
http://www.unknown-man.com/blog/weblog.php?id=119
http://www.unknown-man.com/blog/weblog.php?id=118

A set of articles that i wrote about best way for securing web application by apache and php in persian language. 8)
these articles will be continued.
bigduke
Forum Newbie
Posts: 2
Joined: Fri Nov 26, 2004 3:33 am
Location: Tigerland

Post by bigduke »

PHP Design Patterns

PHP Patterns
GRemm
Forum Newbie
Posts: 17
Joined: Fri Jul 08, 2005 3:37 pm
Location: California
Contact:

Nobody has mentioned some of the more obvious sites

Post by GRemm »

http://pear.php.net
This should be a first stop for anyone looking for a specific class or collection of classes. A good understanding of some patterns are needed - mainly singleton and factory patterns - As well as a limited understanding of the php/pear command line tools.
http://phpkitchen.com/index.php?/archiv ... rials.html
A list of tutorials on the PEAR class libraries. The site's author seems to have done an excellent job keeping dead links off of the list as well as ensuring that what makes it to the list is of a certain level of quality both information-wise and in the presentation.
http://www.phpclasses.org
If you think the pear packages are too bloated for what you need and a specific stand alone class is what you are looking for.. check this site out. Many of the critics of the PEAR repository feel that the pear libraries are turning into an application framework due to the complex dependency issues. This collection of classes focuses much more on efficient classes for specific purposes. Seldom will you find a class that 'depends' on another here.
http://www.sitepoint.com/forums/forumdisplay.php?f=147
My apologies for posting another forum here if that is rude. The sitepoint forum is doing much the same thing the devnetwork forum is and I thought I would post the wheel instead of reinvent it.
is_null
Forum Newbie
Posts: 6
Joined: Tue Oct 17, 2006 12:50 am

Post by is_null »

kiruba
Forum Newbie
Posts: 1
Joined: Sat Aug 09, 2008 3:14 am

Re: Advanced PHP Resources

Post by kiruba »

This should be a first stop for anyone looking for a specific class or collection of classes. A good understanding of some patterns are needed - mainly singleton and factory patterns - As well as a limited understanding of the php/pear command line tools.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Advanced PHP Resources

Post by josh »

http://sourcemaking.com/design-patterns-and-tips
extensive detailed catalog of patterns, refactorings, and design tips with illustrations
vuelos
Forum Newbie
Posts: 1
Joined: Sat Nov 01, 2008 5:17 pm

Re: Advanced PHP Resources

Post by vuelos »

The guides were helpful
Post Reply