So I've spend many hours on many projects in PHP and I continually tweek my design concepts aiming for a generic outline that should work for any php application. This has proven to be quite a difficult task, because with every new project a new design comes to mind. Modular systems have been the focus of much of my work and my framework concepts are built accordingly. With the endlessly popular AJAX buzz i now find myself contemplating how applications will be accessed. A method that allows both traditional access and javascript access is required. It is frustrating and wasteful to continually redesign the structure of your projects.
Bottom up Design
The best way to build projects is a mixture of Bottom up and Top down design. With that in mind perhaps the best way to provide a general solution that is simple and elegant would be to provide two stages: One, a basic framework for bottom up modules that should be programmed generically enough to work anywhere; Two, a suggested method for integrating the components to provide the required features.
So now with that inmind, perhaps a module bridge system should be used to allow external applications to be loaded directly into pages, like portlets.
The Big Questions
How could one create a script to automate the process of writing bridge files? Would converting all links and forms into ajax enabled components provide a reasonable solution? Could one write an intelligent application that could convert any standard web based interface into a compatible AJAX interface that could instantly be plugged into a simple portal on another page?
So Tired...
So i've been awake for about 48 hours now, maybe some sleep would help me clear my thoughts a bit more. My major delema is the question of "IS IT REALLY WORTH THE TROUBLE TO WRITE SUCH SOFTWARE?" Surely this would not be a simple task otherwise it would be done and everyone's website would be an intelligent flexible system which could support any software that works on the web without manually modifying a bit of code...
Maybe some day my dream will come true and this will become a reality.
Sunday, February 11, 2007
Subscribe to:
Posts (Atom)