Hi,
I want to start creating a Evolution module that works with xpdo.
Can someone point me in the right direction or provide a link to a tutorial?
Thank you
I’m pretty sure xPDO doesn’t have anything to do with Evolution. Why not just work in Revolution? Revo runs on xPDO, while Evo is the original core code. Not that I would know, but it seems VERY unnecessarily complex to do such a thing.
"Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
Aha. Okay; I wish you the best of luck.
"Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
Thanks,
Currently some of tables do not exist but at some point I will need to "hook" into the current modx tables(users table mostly).
Any ideas on using MVC for Evo modules. Until now I created my own MVC system similar to what was done for Doc Manager.
-
MODX Staff
- 730 Posts
The classes generated by xPDO will become part of your model. If it’s simple enough, they could represent your entire model. xPDO gives you an instant CRUD API but you can go further and add new or override xPDO’s methods as it suits you.
Then I’d just recommend using whatever View and Controller techniques that are familiar to you. DocManager is a good example of making sure the controllers are accessed via the Manager’s front controller to give you the built in authentication and other common security checks according to your site’s configuration.