Code "modules" - Any good information sources?
Posted: Thu Jan 29, 2004 5:27 pm
Hello,
What I'm trying to find is good theory using the PHP framework, to develop an API for modular code construction - e.g. "modular" in the sense that I can write a "snap-in" for a site which will either add sets of pages, or control (rewrite? alter the behavior of?) various functions. I am developing a very complex application using PHP and standards-based DHTML as a front-end to a database/ordering system for a large corporation and am at the point of developing a next-generation version. We are seriously looking at making the design of this project extensible in the future, so that new features can be added and the interface can be easily "themed" for various sections of the company (or various sub-companies) in the future, and I am having a very difficult time finding any good documentation on API theory, particularly PHP-based (which throws a nice wrench in the works, seeing as its not an "integrated" environment per se).
I think the "wiki" framework is similar, in that you can add "modules" to a wiki, enable or disable certain components, and download extensions. Where could I find good documentation on the "proper" way to develop such an API for my own PHP-based site?
Thanks a lot!
What I'm trying to find is good theory using the PHP framework, to develop an API for modular code construction - e.g. "modular" in the sense that I can write a "snap-in" for a site which will either add sets of pages, or control (rewrite? alter the behavior of?) various functions. I am developing a very complex application using PHP and standards-based DHTML as a front-end to a database/ordering system for a large corporation and am at the point of developing a next-generation version. We are seriously looking at making the design of this project extensible in the future, so that new features can be added and the interface can be easily "themed" for various sections of the company (or various sub-companies) in the future, and I am having a very difficult time finding any good documentation on API theory, particularly PHP-based (which throws a nice wrench in the works, seeing as its not an "integrated" environment per se).
I think the "wiki" framework is similar, in that you can add "modules" to a wiki, enable or disable certain components, and download extensions. Where could I find good documentation on the "proper" way to develop such an API for my own PHP-based site?
Thanks a lot!