Query: jifty::view::declare
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Jifty::View::Declare(3pm) User Contributed Perl Documentation Jifty::View::Declare(3pm)NAMEJifty::View::Declare - Build views using Template::DeclareSYNOPSISpackage MyApp::View; use Jifty::View::Declare -base; template 'index.html' => page { { title is 'Some Title' } b { "The Index" }; };DESCRIPTIONTemplate::Declare is a templating system using a declarative syntax built on top of Perl. This provides a templating language built in a similar style to the dispatcher language in Jifty::Dispatcher, the model language in Jifty::DBI::Schema, and the action language in Jifty::Param::Schema. To use this view system, you must declare a class named "MyApp::View" (where MyApp is the name of your Jifty application). Use this library class to bring in all the details needed to make it work: package MyApp::View; use Jifty::View::Declare -base; # Your code... For more details on how to write the individual templates, see Template::Declare and also Jifty::View::Declare::Helpers for Jifty specific details.SEE ALSOJifty::View::Declare::Helpers, Template::DeclareLICENSEJifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself. perl v5.14.2 2010-12-10 Jifty::View::Declare(3pm)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Find columns in a file based on header and print to new file |