Hello guys!
Admittingly, similar threads have been hiding quietly in the forum for quite some time; some are nearly 5~6 years old now. At the same time I believe that this is an issue that has always produced great interest, even back at the early days of Evo, but still has not been dealt with to an applicable extend.
Many of us dream of utilizing the "MODX magic" as a web application framework. Knowing the potential of MODX as a CMS, we all know that the underlying framework and architecture can cope even with projects of the highest complexity.
Now, at some point or another, we have all used the "typical" PHP App Frameworks like Codeignitor and CakePHP and we are familiar with their approach of applying the MVC concept, along with their given tools to build our App around them. At the same time, with MODX mainly exposing CMS related nuts and bolts, is does not make it easy for one to digest how to truly employ and further exploit it to deliver full-fledged Web App solutions.
I, for one, (admitting that I probably rank below your average Joe developer) would really appreciate if someone of the MODX gurus would take the time to share with us the "official/de facto" way to approach this need. In practice, meaning how to express the MVC model through the overall MODX architecture, for a typical OO Web App that would produce a flexible and reasonably scalable result, equivalent to what one can produce with CI/Cake/... frameworks. Opengeek has repeadetly mentioned in older threads how MODX has already been providing solutions for Web Apps; so I am confident that at least a "best practice" approach has already been established.
Typical questions that pop into my head range from simple stuff like the preferred code locality (snippet -vs- external) for best interoperability between MODX code and App code, all the way to major architectural issues like the details of implementing interaction between the MVC elements (via/part via the standard MODX CMS Tools -vs- via/part via the pure MODX/xPDO API) ...and obviously everything in between.
I apologize for the somewhat lengthy post but I prefer to shamelessly reveal my ignorance, rather than to ignorantly look for happiness away from the MODX family.
I know that what I am asking could indeed require an even more lengthy responce (say about a whole chapter in the next MODX Official Guide from Bob), but I hope that someone will see the overall surplus for the MODX community and will get tempted to take this admittingly daunting subject to the next level.
Thank you all for your time to read through and I look forward to hear from you.
BR,
GRE2608
[ed. note: gre2608 last edited this post 14 years ago.]