What do you mean, specifically? Could you state a Case Scenario?
It could be very good to have more details on ACL and property usage.
One thing I know I would like to see is tutorials on how to create custom addons (snippets, plugins, modules) by way of creating an actual addon, not just disconnected code examples, but an actual step-by-step walkthrough with explanations and a fully functioning (no matter how simple) addon at the end. Learning by seeing and emulating is a great way to learn how to implement and use the MODx API. Not sure if that’s clear.
Quote from: einsteinsboi at Sep 21, 2009, 03:44 PM
One thing I know I would like to see is tutorials on how to create custom addons (snippets, plugins, modules) by way of creating an actual addon, not just disconnected code examples, but an actual step-by-step walkthrough with explanations and a fully functioning (no matter how simple) addon at the end. Learning by seeing and emulating is a great way to learn how to implement and use the MODx API. Not sure if that’s clear.
So maybe I just need to finish this tutorial.
http://svn.modxcms.com/docs/display/revolution/Using+Custom+Database+Tables+in+your+3rd+Party+Components
http://svn.modxcms.com/docs/display/XPDO10/xPDOQuery
* Setting up many-to-many, one-to-many relationships using a join table
* The various ways to retrieve data from relationshipshttp://svn.modxcms.com/docs/display/XPDO10/Retrieving+Objects
and hydrate php objectshttp://svn.modxcms.com/docs/display/XPDO10/The+xPDO+Constructor
* In table foreign keys and self-relationships generallySelf-relationships being such as Parent/Children? You could probably get that from the prior links for getting data from relationships.
* Multiple relationships to the same tablehttp://svn.modxcms.com/docs/display/XPDO10/Creating+a+Model+With+xPDO
* Some best practice advice (eg how to normalise your tables for optimal performance)Excellent idea.
* Reverse engineering a schema from an existing dbhttp://svn.modxcms.com/docs/display/XPDO10/xPDOGenerator.writeSchema
* Setting up field validation rulesWhile there is some rudimentary functionality built into xPDO, this will depend on your circumstance. Sometimes it’s best to add validation in the form layer, rather than in the DB layer. That said, there is definitely a lack of docs on xPDOValidator, and docs for that part should be expanded.
outputting form htmlMakeForm will probably be removed from xPDO as it’s not really a DB-layer function (we’d rather separate it into another component). But a simple tutorial on how to do this would be easy enough. Can you elaborate on how this would work?
and saving data (a basic sample CRUD application)http://svn.modxcms.com/docs/display/XPDO10/Setting+Object+Fields
Quote from: einsteinsboi at Sep 21, 2009, 03:49 PM
Quote from: splittingred at Sep 21, 2009, 03:46 PM
Quote from: einsteinsboi at Sep 21, 2009, 03:44 PM
One thing I know I would like to see is tutorials on how to create custom addons (snippets, plugins, modules) by way of creating an actual addon, not just disconnected code examples, but an actual step-by-step walkthrough with explanations and a fully functioning (no matter how simple) addon at the end. Learning by seeing and emulating is a great way to learn how to implement and use the MODx API. Not sure if that’s clear.
So maybe I just need to finish this tutorial.
http://svn.modxcms.com/docs/display/revolution/Using+Custom+Database+Tables+in+your+3rd+Party+Components
Ah yes Looks like a good one, please finish it and then write more!
And maybe I need to spend a little more time with the revo documentation
outputting form htmlMakeForm will probably be removed from xPDO as it’s not really a DB-layer function (we’d rather separate it into another component). But a simple tutorial on how to do this would be easy enough. Can you elaborate on how this would work?