Visualize your models
26 Jan 2008
Happy new year!
Way back in December I found an awesome article by Cakeexplorer on a script to build an image of your db schema. I had been meaning to write such a script for some time, it was great to have it already ticked off the to-do list.
There was one thing that I didn't like too much: it ran off the tables in the db rather than the models in your app/models folder. Roll on a month and a bit and I still haven't heard back re the comment I left on cakeexplorer's site with an updated script (which remains spookily unpublished), so the updates I added to make it do that are stuck in a bakery article. There's a screencast (first attempt at a screencast, don't have overly high expectations!) too of the script in action. Such a gem should be given as much visibility as possible IMO.
Check out the script, check out the 'cast, and above all...
Bake on!
Jacob Hackamack, on 27/10/08
I tried viewing your screencast only with it to come up blank. Do you have another URL to work with?
Thanks,
Jacob
Andy, on 28/10/08
Hi Jacob,
It's probably a codec problem, the link is valid.
In the mean time, you hopefully have already seen how easy it is to use.
I'd recommend using the version from mi-base, as that's actively maintained/kept up to 1.2date (http://code.assembla.com/mi/subversion/nodes/branches/base/vendors/shells/visualize.php)
A