[Catalyst] table discovery

Jurgen Pletinckx jurgen.pletinckx at algonomics.com
Thu Oct 6 11:11:25 CEST 2005


So I mostly succeeded in setting up a scaffolded server. The
relationships were a bit tricky, as for others, but it all
worked out in the end.

(I referred mostly to MoviesScaffoldingDemoTranscript and to 
the Class::DBI doc on relationships. And to the mailing list 
archive where relationships are explained on a regular basis.
And it still took some tries to get it right. Ah well.)

The process left me with some questions.

* is the list of tables regenerated each time, independent of 
whatever Model classes I have available?

* if it is generated, this happens probably through 
Class::CBI::Loader->tables. Can I access this method (or the
list of tables) from within my app? MyApp::M::CDBI->tables
and variations on that theme don't seem to do it.



What _is_ scaffolding, btw? Does this application of the term 
to DB frontends originate with Rails? Or is it an earlier 
concept?


-- 
Jurgen Pletinckx




More information about the Catalyst mailing list