|DRY (Dont Repeat Yourself)||Jifty tries not to make you say things more than once.|
|Full-stack||Out of the proverbial box, Jifty comes with one way to do everything you should need to do: One database mapper, one templating system, one web services layer, one AJAX toolkit, one set of handlers for standalone or FastCGI servers. We work hard to make all the bits play well together, so you dont have to.|
|Continuations||With Jifty, its easy to let the user go off and do something else, like fill out a wizard, look something up in the help system or go twiddle their preferences and come right back to where they were.|
|Form-based dispatch||This is one of the things that Jifty does that weve not seen anywhere else. Jifty owns your form rendering and processing. This means you never need to write form handling logic. All you say is I want an input for this argument here and Jifty takes care of the rest. (Even autocomplete and validation)|
|A Pony||Jifty is the only web application framework that comes with a pony.|
If this is your first time using Jifty, Jifty::Manual::Tutorial is probably a better place to start.
This class method instantiates a new Jifty object. This object deals with configuration files, logging and database handles for the system. Before this method returns, it calls the applications start method (i.e. MyApp->start) to handle any application-specific startup.
Most of the time, the server will call this for you to set up your Jifty object. If you are writing command-line programs that want to use your libraries (as opposed to web services) you will need to call this yourself.
See Jifty::Config for details on how to configure your Jifty application.
no_handle If this is set to true, Jifty will not create a Jifty::Handle and connect to a database. Only use this if youre about to drop the database or do something extreme like that; most of Jifty expects the handle to exist. Defaults to false. logger_component The name that Jifty::Logger will log under. If you dont specify anything Jifty::Logger will log under the empty string. See Jifty::Logger for more information.
An accessor for the Jifty::Config object that stores the configuration for the Jifty application.
An accessor for our Jifty::Logger object for the application.
You probably arent interested in this. See log for information on how to make log messages.
An accessor for our Jifty::Handler object.
This is another method that you usually dont want to mess with too much. Most of the interesting web bits are handled by web.
An accessor for the Jifty::Handle object that stores the database handle for the application.
An accessor for the Jifty::API object that publishes and controls information about the applications Jifty::Actions.
Return Class in application space. For example app_class(Model, Foo) returns YourApp::Model::Foo.
By the time you get it back, the class will have already been required
Is you pass a hashref as the first argument, it will be treated as configuration parameters. The only existing parameter is require, which defaults to true.
An accessor for the Jifty::Web object that the web interface uses.
An accessor for the Jifty::Subs object that the subscription uses.
Returns an IPC::PubSub object for the current application.
Returns a list of Jifty::Plugin objects for this Jifty application.
Find plugins by name.
An accessor for the Jifty::ClassLoader object that stores the loaded classes for the application.
Set up our database connection. Optionally takes a paramhash with a single argument. This method is automatically called by new.
If no_handle is set or our applications config file is missing a Database configuration
no_handle Defaults to false. If true, Jifty wont try to set up a database handle pre_init Defaults to false. If true, plugins are notified that this is a pre-init, any trigger registration in init() should not happen during this stage. Note that model mixins register_triggers is unrelated to this.
section or has a SkipDatabase: 1 directive in its framework configuration, does nothing.
Returns a globally unique id for this instance of this jifty application. This value is generated the first time its accessed
Forks a background process, and ensures that database connections and sockets are not shared with the parent process.
Returns true if the application is in admin mode. This should be used instead of Jifty->config->framework(AdminMode).
<http://jifty.org>, Jifty::Manual::Tutorial, Jifty::Everything, Jifty::Config, Jifty::Handle, Jifty::Logger, Jifty::Handler, Jifty::Web, Jifty::API, Jifty::Subs, IPC::PubSub, Jifty::Plugin, Jifty::ClassLoader
Jesse Vincent, Alex Vandiver and David Glasser.
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
|perl v5.20.3||JIFTY (3)||2011-05-18|