Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

zf(8) [debian man page]

ZF(8)								zendframework tool							     ZF(8)

NAME
zf - command line tool for zendframework SYNOPSIS
zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...] DESCRIPTION
zf is a command line tool to create and manage zendframework projects. The CLI, or command line tool (internally known as the console tool), is currently the primary interface for dispatching Zend_Tool requests. With the CLI tool, developers can issue tooling requests inside the "command line window", also commonly known as a "terminal" window. OPTIONS
zf show version mode[=mini] name-included[=1] This will show the current version number of the copy of Zend Framework the zf.php tool is using. zf show manifest This will show what information is in the tooling systems manifest. This is more important for provider developers than casual users of the tooling system. zf create project MyProjectName The project provider is the first command you might want to run. This will setup the basic structure of your application. This is required before any of the other providers can be executed. zf create module Blog This will create a module named Blog at application/modules/Blog, and all of the artifacts that a module will need. zf create controller Auth This will create a controller named Auth, specifically it will create a file at application/controllers/AuthController.php with the AuthController inside. zf create action login Auth This will create an action in an existing controller. zf create view Auth my-script-name This will create a view script in the controller folder of Auth. zf create model User This will create a model User. zf create form Auth This will create a form Auth. zf configure dbadapter adapter=Pdo_Mysql&username=test&password=test&dbname=test This will configure your database connection and is saved in your application.ini. zf create dbtable User user This creates a Zend_Db_Table model/data file. zf enable layout This enable layout in your application and creates necessary files and store this to your application.ini. HOMEPAGE
More information about zendframework project can be found at <http://framework.zend.com/>. AUTHOR
The development is currently coordinated by Zend Technologies Ltd. <http://framework.zend.com>. This manual page was written by Frank Habermann <lordlamer@lordlamer.de>, for the Debian project (but may be used by others). 1.10.1 2010-02-12 ZF(8)

Check Out this Related Man Page

Plack::Middleware::Auth::Basic(3pm)			User Contributed Perl Documentation		       Plack::Middleware::Auth::Basic(3pm)

NAME
Plack::Middleware::Auth::Basic - Simple basic authentication middleware SYNOPSIS
use Plack::Builder; my $app = sub { ... }; builder { enable "Auth::Basic", authenticator => &authen_cb; $app; }; sub authen_cb { my($username, $password) = @_; return $username eq 'admin' && $password eq 's3cr3t'; } DESCRIPTION
Plack::Middleware::Auth::Basic is a basic authentication handler for Plack. CONFIGURATION
authenticator A callback function that takes username and password supplied and returns whether the authentication succeeds. Required. Authenticator can also be an object that responds to "authenticate" method that takes username and password and returns boolean, so backends for Authen::Simple is perfect to use: use Authen::Simple::LDAP; enable "Auth::Basic", authenticator => Authen::Simple::LDAP->new(...); realm Realm name to display in the basic authentication dialog. Defaults to restricted area. LIMITATIONS
This middleware expects that the application has a full access to the headers sent by clients in PSGI environment. That is normally the case with standalone Perl PSGI web servers such as Starman or HTTP::Server::Simple::PSGI. However, in a web server configuration where you can't achieve this (i.e. using your application via Apache's mod_cgi), this middleware does not work since your application can't know the value of "Authorization:" header. If you use Apache as a web server and CGI to run your PSGI application, you can either a) compile Apache with "-DSECURITY_HOLE_PASS_AUTHORIZATION" option, or b) use mod_rewrite to pass the Authorization header to the application with the rewrite rule like following. RewriteEngine on RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] AUTHOR
Tatsuhiko Miyagawa SEE ALSO
Plack perl v5.14.2 2012-06-21 Plack::Middleware::Auth::Basic(3pm)
Man Page

Featured Tech Videos