JiftyX::ModelHelpers

Make it simpler to fetch records in Jifty.
Download

JiftyX::ModelHelpers Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Kang-min Liu
  • Publisher web site:
  • http://search.cpan.org/~gugod/

JiftyX::ModelHelpers Tags


JiftyX::ModelHelpers Description

Make it simpler to fetch records in Jifty. JiftyX::ModelHelpers is a Perl module to make it simpler to fetch records in Jifty.SYNOPSISSuppose you have a "Book" model in your app: use JiftyX::ModelHelper; # Load the record of book with id = $id $book = M(Book => $id); # Another way. $book = M(Book => id => $id); # Load by other criteria $book = M(Book => isbn => " 978-0099410676"); # Load a colllection of books $books = M("BookCollection", author => "Jesse");Or, even better: use JiftyX::ModelHelper; # Load the record of book with id = $id $book = Book($id); $book = Book(isbn => " 978-0099410676"); $books = BookCollection(author => "Jesse");Jifty programmers may find them self very tired of typing in their View or Dispatcher when it comes to retrieve records or collection of records. That is why this module was borned. Requirements: · Perl


JiftyX::ModelHelpers Related Software