[ic] [loop-code] interpolation = security risk?

Grant emailgrant at gmail.com
Thu Oct 23 18:14:28 UTC 2014

>> Or perhaps more practically, are there best practices for rewriting ITL
>> in Perl so that it still runs on IC5 but is as easy as possible to
>> port to IC6?
> In preparation for porting to IC6, my approach in our IC5 development for
> the past few years has been:
> - write anything new into Perl modules using Moose and DBIx::Class
> - try to think of ActionMaps as Dancer routes and ITL as my templating
> engine
> - in general, use ActionMaps to pass data from the modules to the templates
> - [loop object.mv_results=`$arrayref`] has been really useful for this
> I used dbicdump to create the DBIx classes from our existing IC5 database
> and then created an IC5 Sub which gets a DBIx schema connection using an
> interchange DBI handle.
> We will be porting one of our IC5 sites (recork.org) in the coming months...
> hopefully I will be able to report that this approach made it easier :)

Then I'm definitely doing it wrong.  :)  Please let us know how that
method works out for the recork.org port.

- Grant

More information about the interchange-users mailing list