Hey,
I don't have a online guide to give you but usually I put all the biz logic
in a module, a regular perl module. If I need or want to use OO Perl, I use
Moo to simplify my life.
This make it easy to write test cases to make sure everything is fine.
Then I use Poet or Dancer2+Mason to do all the routing of requests into
Mason templates where I instanciate and use the module.
Bye,
On Tue, Aug 20, 2013 at 10:01 PM, Peter Eberl <p...@eberl.com> wrote:
> Ok some stuff to do tomorrow ....
>
> I've to re-write 2 CGI scripts. Nothing to fancy, 400 lines of code in
> total (at the cgi-level).
>
> But: How do I do that best so that I can use them as modules in
> mason(2.0)+poet?
>
> is there any specific syntax guide or guide / help I could use in trying
> to achieve that (without spending weeks on doing so)?
>
> kindest regards
>
> peter
>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
>
--
Pedro Melo
@pedromelo
http://www.simplicidade.org/
xmpp:m...@simplicidade.org
mailto:m...@simplicidade.org
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users