On 22/4/09 14:52, Matt S Trout wrote:
On Wed, Apr 22, 2009 at 02:41:34PM +1000, [email protected] wrote:

  I just looked at my app and found that I need to reuse the Schema
files found in my 'Schema' directory.

Your DBIC classes aren't connected to the Catalyst app at all.

Unless you've fallen into the trap of putting business logic in your Controller classes.

See this as a good opportunity to refactor the logic back into the Schema classes where it belongs (or to a set of business objects if that suits your application better).

Your code will be better for it :-)

S.



_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to