[Catalyst] More natural access to model?

Kieren Diment diment at gmail.com
Tue May 12 11:14:48 GMT 2009


On 12/05/2009, at 8:57 PM, Paweł Tęcza wrote:

>
> Do you know solution of that issue? Maybe I should define  
> subroutines in
> MyApp::Schema::ResultSet::Studies module for all type of data?
>

Yes you should.  That means that even though your code might be  
horrible, you can hide the implementation details  from the web  
application portion of the code, and if you think about design  
properly up front, removing the horrible code later on should be  
pretty straightforward.






More information about the Catalyst mailing list