"Nick Oostveen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> As such, my question is this: What methods and techniques can be used to
> help design and build complex, medium to large PHP applications that are
> not only scalable, but maintainable and extensible?  I'm looking for
online
> references, personal experience and opinion and even examples of open
> source code which you think demonstrate the above criteria on this one.  I
> think an extended discussion on this topic could be of great benefit to
> everyone.
>
> Obviously separating application and business logic from interface code is
> a given, but what about other things? Are the object orientated facilities
> of PHP currently worth really trying to take advantage of? If so, what are
> you doing to take advantage of them? Are design concepts such as design
> patterns relevant at this level?  What frameworks, if any, currently exist
> to assist in rapid, structured development, and what specific benefits do
> they bring to the table?

Hello,

It is not nearly covering all aspects you have asked about but here is  some
of my expirience.

I think there is a good usage of object oriented approach when working with
PHP. Projects I am working on are using TemplateTamer to separate interface
from the appearance from the functionality. Asifde from that it also
encourages usage of objects

First for each page you get php class descirbing it, and on larger projects
it commes naturaly to have a few base page classes defining common stuff
while each particular page class overides or adds its specifics to it. Base
class usually has bells and wistless for sessions, cacheing, translation,
general layout etc.

Second thing that usually happens is that we develop a lot of smaller parts
of the page as classes that can be used or refined. For instance various
widgets like menus, paged lists, some entity editor, etc.. , they all
naturally fit into the classes.

Third  place where it is a good isea to use classes is to access db objects.
Generally wrapping a something from the db into the object can be usefull in
order to siplify migration to another database, to have good loging,
replication etc.

rush
--
http://www.templatetamer.org/




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to