13 Sep 2006 00:25:58 UTC
- Distribution: Jifty
- Module version: 0.60912
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (17)
- Testers (9 / 0 / 0)
- KwaliteeBus factor: 3
- License: perl_5
- Perl: v5.8.3
- Activity24 month
- Download (520.01KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- SEE ALSO
Jifty - an application framework
Yet another web framework.
- DRY (Don't Repeat Yourself)
Jifty tries not to make you say things more than once.
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 don't have to.
With Jifty, it's 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 we've 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
Jiftyobject. This object deals with configuration files, logging and database handles for the system. Before this method returns, it calls the application's
MyApp-start>) to handle any application-specific startup.
Most of the time, the server will call this for you to set up your
Jiftyobject. 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.
If this is set to true, Jifty will not create a Jifty::Handle and connect to a database. Only use this if you're about to drop the database or do something extreme like that; most of Jifty expects the handle to exist. Defaults to false.
The name that Jifty::Logger will log under. If you don't specify anything Jifty::Logger will log under the empty string. See Jifty::Logger for more infomation.
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.
An accessor for our Jifty::Handler object.
An accessor for the Jifty::Handle object that stores the database handle for the application.
An accessor for the Jifty::Web object that the web interface uses.
Returns a list of Jifty::Plugin objects for this Jifty application.
An accessor for the Jifty::ClassLoader object that stores the loaded classes for the application.
Set up our database connection. Optionally takes a param hash with a single argument. This method is automatically called by "new".
Defaults to false. If true, Jifty won't try to set up a database handle
no_handleis set or our application's config file is missing a
Databaseconfiguration section or has a
SkipDatabase: 1directive in its framework configuration, does nothing.
Jifty is Copyright 2005 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
Jesse Vincent, Alex Vandiver and David Glasser.