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)
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)
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)
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)
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)
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)