GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JIFTY::SCRIPT::MODEL (3)

.ds Aq ’

NAME

Jifty::Script::Model - Add a model class to your Jifty application

CONTENTS

SYNOPSIS



    jifty model --name MyFirstModel
    jifty model --name MyFirstModel --force

  Options:
    --name <name>      name of the model
    --force            overwrite files

    --help             brief help message
    --man              full documentation



DESCRIPTION

Creates a skeleton model file.

    options

<B>--nameB> NAME (required) Name of the model class.
<B>--forceB> By default, this will stop and warn you if any of the files it is going to write already exist. Passing the --force flag will make it overwrite the files.
<B>--helpB> Print a brief help message and exits.
<B>--manB> Prints the manual page and exits.

DESCRIPTION

This creates a skeleton of a new model class for your jifty application, complete with a skeleton of a test suite for it, as well.

METHODS

    run

Creates a skeleton file under lib/ApplicationClass/Model/Model, as well as a skeleton tests file.

DESCRIPTION

A basic test harness for the $model model.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JIFTY::SCRIPT::MODEL (3) 2010-09-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.