Object Oriented PHP 5

Soldato
Joined
9 May 2005
Posts
4,530
Location
Nottingham
This isn't a question, I'm just looking to get some opinions on programming with PHP. My main programming language is Java so I've been 'raised' on OOP but after doing a final year project in OOP PHP5 with the Zend Framework I wanted to get some feedback.

There seems to be a lot of people who use PHP on here but I was wondering who uses it in an object oriented way, who uses it procedurally and who uses a bit of both and what for?

I found it difficult to find any decent books specifically about Object Orinted PHP5, there are lots that explain all of the features and design patterns but very few with practical examples of OO PHP5 being used in a real application. This may just be due to PHPs legacy I guess.

I do see OO PHP5 being used in all of the popular PHP frameworks such as Zend, Symfony etc. Is this the only place it is commonly used or are people writing their own OO PHP5 applications from the ground up?
 
I've recently started trying to make use of OO PHP, so far it's proved fairly useful for simplifying user authentication and sql queries, though my implementations are pretty simplistic currently as I've not any particularly complex projects to try it out with yet.

Does make life easier though.
 
Im learning OOP php5 at the moment. I have worked with proceedural php for a while on and off but want to bring myself up to speed. Also been looking at the zend framework which seems interesting. Its just finding the time to do it all and knowing what to do first, get really solid with PHP5 OOP or hit the zend earlier.
 
i'm very fond of ZF, seems definately the way forward in enterprise php development.

not too sure why you'd want to write applications from scratch anyway, smells of reinventing the wheel to me. the way zend is designed is so that you can use as much of the framework as you like. e.g if you wanted to add pdf yo your app, you just use Zend_Pdf. you arent forced to use the whole mvc architecture.
 
Back
Top Bottom