The recent discussion on read only objects has got me wondering. Say one has an app which basically sends result sets to TT templates. What stops a malicious designer from doing DB updates in the templates since they have the RS objects? I could mimic the DBI solution of returning arrayrefs of hashrefs, but that doesn't allow for the chaining of methods to get related resultsets, Nor would it give me access to pagination info.
Dan
_______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
