Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jifty::handle(3pm) [debian man page]

Jifty::Handle(3pm)					User Contributed Perl Documentation					Jifty::Handle(3pm)

NAME
Jifty::Handle -- A database handle class for Jifty DESCRIPTION
A wrapper around Jifty::DBI::Handle which is aware of versions in the database METHODS
new PARAMHASH This class method instantiates a new Jifty::Handle object. This object deals with database handles for the system. After it is created, it will be a subclass of Jifty::DBI::Handle. canonical_database_name Returns the canonical name of the application's database (the actual name that will be given to the database driver). This name is a lower-case version of the "Database" argument in the "Database" section of the framework config. For SQLite databases (where the database name is actually a filename), this also converts a relative path into an absolute path based at the application root. connect ARGS Like Jifty::DBI's connect method but pulls the name of the database from the current Jifty::Config. check_schema_version [pretend => 0|1] Make sure that we have a recent enough database schema. If we don't, then error out. If "pretend =" 1> is passed, then any auto-upgrade action this might take is dry-run only. create_database MODE "MODE" is either "print" or "execute". This method either prints the commands necessary to create the database or actually creates it, depending on the value of MODE. Returns undef on failure. drop_database MODE "MODE" is either "print" or "execute". This method either prints the commands necessary to drop the database or actually drops it, depending on the value of MODE. Returns undef on failure. AUTHOR
Various folks at BestPractical Solutions, LLC. perl v5.14.2 2011-01-24 Jifty::Handle(3pm)

Check Out this Related Man Page

Jifty::Handler(3pm)					User Contributed Perl Documentation				       Jifty::Handler(3pm)

NAME
Jifty::Handler - Methods related to the finding and returning content SYNOPSIS
use Jifty; Jifty->new(); my $handler = Jifty::Handler->new; $handler->handle_request( $env ); DESCRIPTION
Jifty::Handler provides methods required to find and return content to the browser. "handle_request", for instance, is the main entry point for HTTP requests. new Create a new Jifty::Handler object. Generally, Jifty.pm does this only once at startup. view_handlers Returns a list of modules implementing view for your Jifty application. You can override this by specifying: framework: View: Handlers: - Jifty::View::Something::Handler - Jifty::View::SomethingElse::Handler setup_view_handlers Initialize all of our view handlers. view ClassName Returns the Jifty view handler for "ClassName". psgi_app_static Returns a closure for PSGI application that handles all static content, including plugins. psgi_app Returns a closure for PSGI application. handle_request When your server process (be it Jifty-internal, FastCGI or anything else) wants to handle a request coming in from the outside world, you should call "handle_request". cleanup_request Dispatchers should call this at the end of each request, as a class method. It flushes the session to disk, as well as flushing Jifty::DBI's cache. perl v5.14.2 2011-04-07 Jifty::Handler(3pm)
Man Page

7 More Discussions You Might Find Interesting

1. Programming

¿how can I connect C to a database?

hi, please, help me i need connect my program in C whit a SybaseIQ 12 database i´m programming in solaris 5 (unix) please, help me, because i don`t know what to do... thanks.. jonathan (0 Replies)
Discussion started by: DebianJ
0 Replies

2. Programming

How to connect database in TC

Anybody please help me how connect a database file in TC for windows. regards Senthil. K (5 Replies)
Discussion started by: Senthil
5 Replies

3. IP Networking

how you connect to a database

i am working on informix database can any body helps me with coding how to connect to it on solaris (3 Replies)
Discussion started by: ramneek
3 Replies

4. Shell Programming and Scripting

How to handle the Multiple Rows in the Database

Hi All, I have problem with database validations, actually my requirement is, my code will generate some seqno;s, which i have to check in database, whether the generated seqno;s are present in database or not, if the generated seqno;s are present in the database means, i need to generate... (2 Replies)
Discussion started by: hsekol
2 Replies

5. HP-UX

UNIX memory problems

I don't know if this is better suited for the application section, but here goes. We are currently running HP-UX 11 as our database server. The database is Progress version 9.1C. As of late, some of our batch processes that run on the UNIX db server are erroring out because of what appear to... (3 Replies)
Discussion started by: eddiej
3 Replies

6. Shell Programming and Scripting

Shell Linux to connect to a database and execute store procedure

HI, i want to write a script (Linux) that: 1) connect to a database oracle 2) execute some store procedure. Can anybody help me, please? Thanks a lot Andrew (3 Replies)
Discussion started by: manichino74
3 Replies

7. UNIX for Dummies Questions & Answers

Access to a database

Hello all, is it possible to write a script in order to connect to a database, load data in a specific domain and execute the corresponding command? (3 Replies)
Discussion started by: FelipeAd
3 Replies