Hi,
I have been looking at modx for a while and was wondering whether or not to use Modx or a framework like cogeigniter symphony etc... for the website i am creating.
The website will have to have a custom back end with around 6 or 7 database tables in addition to what is provided by modx.
I am looking at modx because it has some things already done (user management,forum,posts,login) etc....
How hard is it to integrate a custom database solution into modx?
I have been looking for some form of tutorial and can only find where they implement one table with no relationships to other tables.
Is it possible to cleanly implement a custom back end with multiple tables? If so are there any tutorials available that implement multiple tables?
As far as my understand goes...
If i use a framework it requires more custom built functionality (own user table groups etc...) but I can implement it cleanly in the Mysql Database Designer, and use an MVC framework where i only need the code that is required.
If i were to use Modx I would have to import all of my custom tables into the modx database, create schemas for them, tie them to xpdo objects, then use them in modx.
How would the relationships be defined in the schema to make sure they are correct?
Unfortunately I am leaning towards using a framework because i can’t find many concrete examples and resources of how to implement multiple custom tables cleanly into modx.
I would like to use Modx though and was posting here hoping to find an example/resources/tutorials of this being done. I have looked at the single table implementation tutorials but it doesn’t help much for how to define relationships etc...
Any help would be appreciated.
Check out the following Extras, as they all use multiple tables and relationships:
- Quip
- Discuss
- Gallery
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
what is the advantage of using modx over a framework?
One advantage of MODx Revolution is the built-in convenience and power of xPDO.
See here:
http://bobsguides.com/custom-db-tables.html
And here:
http://bobsguides.com/revolution-objects.html