Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 38.876.237 Times

OpenInteract2::Manual::Tutorial 1.99_06

  Date Added: July 04, 2010  |  Visits: 1.432

OpenInteract2::Manual::Tutorial

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 downloads)



OpenInteract2::Manual::Tutorial is a Perl module that will teach learn you how to create and modify a package. SYNOPSIS This tutorial will show you the different methods for creating a package and how to maintain them. CREATING THE PACKAGE A word on the example For our example were going to create a book package. This will keep track of all our books and allow us to search our library, add new books, update existing ones and remove old ones. It wont be the backbone for a massive e-commerce website to make you lots of money. It does not attempt to best model the relationships for all the data about a book. Looking for shortcuts? If you want to get something running in the fastest manner possible we can generate a simple CRUDS application for you. (CRUDS: CReate Update Delete Search) Just run something like the following: $ oi2_manage easy_app --package=book --table=book --dsn=DBI:Pg:dbname=mylibrary --username=foo --password=bar This will create a simple application built off a table book with templates and objects for searching, creating, updating and removing objects. (More at OpenInteract2::Manage::Package::CreatePackageFromTable.) Since this is a tutorial well assume you want to read to learn, so on we go. Generating the skeleton OpenInteract comes with tools to create a skeleton package -- we dont want to do all this from scratch! The skeleton package has the directory structure, metadata and a number of files to get you going on your new package. Heres how to create one -- be sure to first go to the directory under which the package will be created: $ oi2_manage create_package --package=book And heres what youll see: PROGRESS: Starting task PROGRESS: Task complete ACTION: Create package book OK: Package book created ok in /path/to/my/book And now lets see what it created: $ find book/ book/ book/conf book/conf/spops.ini book/conf/action.ini book/data book/doc book/doc/book.pod book/struct book/template book/template/sample.tmpl book/script book/html book/html/images book/OpenInteract2 book/OpenInteract2/Action book/OpenInteract2/Action/Book.pm book/OpenInteract2/SQLInstall book/OpenInteract2/SQLInstall/Book.pm book/package.ini book/MANIFEST.SKIP book/Changes book/MANIFEST These files and directories are explained in OpenInteract2::Manual::Packages. You will normally need to edit/add the following: book/package.ini # Add name, version, author information book/MANIFEST # Add names of distribution files book/conf/spops.ini # Describe the objects your package uses book/conf/action.ini # Map URLs to handlers in your package book/data # Specify the initial data and security book/struct # Describe the tables used to store your objects book/template # HTML to display and manipulate your objects book/OpenInteract2 # Optional Perl modules defining object behavior book/OpenInteract2/Action # Manipulate objects for desired functionality book/OpenInteract2/SQLInstall # Tell the installer about your tables, data, security book/doc/book.pod # Last but not least, tell the world about it Short sidebar: Creating a MANIFEST Notice that we create a MANIFEST file for you when the package is created. As you add more files to your package youll need to add them to your book/MANIFEST. Fortunately, it can be created automatically: $ cd /path/to/mypackage $ perl -MExtUtils::Manifest -e ExtUtils::Manifest::mkmanifest() Thats it! If you have an old MANIFEST file in the directory it will be copied to MANIFEST.bak. Also note that files matching patterns in the book/MANIFEST.SKIP file will not be included..

Requirements: No special requirements
Platforms: Linux
Keyword: Book Create Create A How To Learn Manifest Objects Package Perl Perl Module Sqlinstall To Create
Users rating: 0/10

License: Freeware Size: 931.84 KB
USER REVIEWS
More Reviews or Write Review


OPENINTERACT2::MANUAL::TUTORIAL RELATED
Teaching Tools  -  How to draw a horse 5
How to draw a horse drawing game. A drawing activity for kids centered around their horse. In this section you will be learning how to draw a horse. You will draw the basic shapes to help you draw the horse. how to draw a face drawing game. free /...
10.24 KB  
Sports  -  How To Backyard 3.1
A How-To for making your own Backyard Wrestling Group on a budget. We here at the OPPW feel it should be time that Backyard Wrestling come back to life! It was ruined by a market that was only about money. Not the fun friends can have. This app,...
204.8 KB  
Home & Leisure  -  How To Make A Candy Bouquet 1.0
eBook showing how to make a candy bouquet, with pictures and detailed instructions.
768 KB  
Books  -  How to Write a Diary, nciku Reader Edition (Simplified Chinese) 1.0
This is the nciku Reader edition of ("How to Write a Diary"), by the Chinese author (Fu Youmei). nciku Reader helps you read Chinese books by providing convenient dictionary and pinyin functions to help you understand the original...
13.8 MB  
Networking Tools  -  How To SEO Your Website 1.0
How To SEO Your Website in the Search Engine. Steps you can take to get Ranked. The best way to set up a website to get good internet search engine placement. Get more website traffic by making your site more attractive to Google and other search...
37 KB  
E-Mail Tools  -  How to Open OST File Free 1.0
Do not worry if you are looking for a reliable solution about how to open ost file, you have already found the response. The service of Microsoft Outlook recovery, provided by How to Open OST File Free, represents the fastest way out if you...
1.86 MB  
Utilities  -  How to change folder icon 1.4
How to change folder icon? Use this handy shell extension that enables you to quickly change folder icons to indicate a priority level or project status, or you can use it to mark a folder with a special icon or color of your choice. Right-click...
985 KB  
Icon Tools  -  Pop-a-BMP-to-ICO 1.0
Pop-a-BMP-to-ICO is a simple image converter that was designed to make creating icons easier by converting 32x32 bitmap images into .ICO files.
295 KB  
Libraries  -  Xmldoom::doc::UsingTorque 0.0.16
Xmldoom::doc::UsingTorque Perl module contains a how to about making Torque generator to work with your database.xml. Because the format used in the database definition (commonly named database.xml) is the same as Apache Torque, we can use their...
102.4 KB  
Finance  -  A-PDF To Black/White 2.5.0
A-PDF To Black / White is a handy application designed to offer a quick way to convert the images to monochrome or grayscale in Acrobat PDF documents directly. It detects color images and convert them to bw or gray automatically, then reduces...
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB