>>>>> "Octavian" == Octavian Rasnita <octav...@fcc.ro> writes:
Octavian> What do you think it is the preferable way of passing the Octavian> parameters to the custom methods defined in the ResultSet Octavian> class for other more complex methods like ->search(), Octavian> update(), create(), update_or_create()...? (as a list of Octavian> parameters, or as a hash?) You should create an API that makes sense for your system requirements before you even think of writing ->search, ->create(), etc. methods. Once you've got the API nailed, all you do is implement the mapping to the backend of choice (DBIC in our case), once you're at this level, anything that gets the mapping job done will suffice. _______________________________________________ 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/dbix-class@lists.scsys.co.uk