>
> There is no performance hit for having as many helpers; however, the 
> latter is the best solution; put all your business logic methods in a 
> separate, reusable module, and return that module via a small helper and/or 
> plugin.
>

I agree completely with tempire on this, and have been using the pattern 
very successfully for plugins like Mojolicious::Plugin::Minion.

  
  
https://github.com/kraih/minion/blob/master/lib/Mojolicious/Plugin/Minion.pm#L14

--
sebastian 

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to