Quote from: BobRay at Apr 11, 2012, 05:28 PM
One note: The table names are here (though probably backwards from the way you might want them): http://bobsguides.com/modx-object-quick-reference.html, and you can install the ObjectExplorer extra to have them locally.
Wow - that is
incredibly useful - thank you for putting this together!! I wish I'd known about this long ago.
Quote from: BobRay at Apr 11, 2012, 05:28 PM
You gave me ideas for a couple of useful extras.
I've got a bunch of ideas for things I'd like to make, but I've also got limited free time at the moment. I'd like to take a stab at the element graph thing, but diving into Ext again is scaring me off a bit.
Quote from: BobRay at Apr 11, 2012, 05:28 PM
Let me know if you have any feedback on using MyComponent to create packages. I have some ideas for improving it.
I guess my biggest request would be to reduce the redundancy of all the information and package metadata you have to enter into MyComponent.
To start with MyComponent requires lots of multi-file searching and replacing and then lots of hand tweaking to get all the things the search missed. All of the project metadata (name, author, copyright, license, date) is repeated in every project file. Plus there are two readmes. It would be great if I could enter all the information just once.
Personally, I just delete the metadata from all the files and just leave it in the readme. But I suppose if you wanted to get fancy, MyComponent could insert comments at the top of all php files, and generate readme.txt from readme.md, etc.
Also, the package category has to be entered in more than one place, and this can lead to typos.
It would be very cool if the directory structure could be pruned a bit. Currently it is:
/assets/mycomponents/thingy/core/components/thingy/elements/snippets/thingy.snippet.php
I know that MyComponent's file tree is based on what actually gets installed by the package, and sometimes you do need full access to this tree. But in the common case, it's probably sufficient to have something like this instead:
/assets/mycomponents/thingy/snippets/thingy.php
Quote from: BobRay at Apr 11, 2012, 05:28 PM
I've started work on a utility to export chunks, snippets, and TVs to it directly (along with their properties and an automatic transport.object.php file).
Very, very cool!!
Michael