Hello,

I have just been assigned to a project to convert a large static site to
PHP. I have used PHP for small jobs in the past, but most of my work has
been with Perl. One feature I've used and liked very much was provided by a
package called Embperl. In particular, Embperl::Object, which allows you to
build object-oriented (OO) websites using HTML components which implement
inheritance via subdirectories.

http://perl.apache.org/embperl/pod/doc/EmbperlObject.-page-2-.htm


Basically, a directory was defined within the webserver to have a
PerlHandler, Embperl::Object. When any page in or under that directory is
called, Embperl::Object would look for template files in the current
directory and go upward in the tree until they are found and prepend/append
them. There was no code or includes required within the pages themselves.

I want to do something similar with this new PHP implementation. I have
reviewed some template tutorials and looked at some of the Pear modules, but
none seem to work like this.

Can anyone give me some idea of if this is possible and how I might begin?
Any information would be greatly appreciated.

Thanks,
Cameron

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

Reply via email to