[jifty-devel] Reusing Jifty models outside Jifty apps

Jesse Vincent jesse at bestpractical.com
Tue Dec 12 10:59:50 EST 2006


> 
> Putting C<Jifty->new()> into BEGIN {} works for me. So the boilerplate
> actually look like this:
> 
>   use Jifty::Everything;
>   BEGIN { Jifty->new; }
> 
>   use Qooqle::Model::QQUser;
>   use Qooqle::Model::Session;
>   use Qooqle::Model::Message;
> 
> Hmm, incredibly clean. :)
> 
> Maybe we should add this bit to Jifty::Manual::Models?

I _think_ it probably wants to end up in Jifty::Manual::Tutorial
instead.

-j

> 
> Cheers,
> Agent
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> 

-- 


More information about the jifty-devel mailing list