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 32.290.459 Times

Catalyst::Manual::Tutorial::AdvancedCRUD 0.02

  Date Added: May 26, 2010  |  Visits: 834

Catalyst::Manual::Tutorial::AdvancedCRUD

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)

Catalyst::Manual::Tutorial::AdvancedCRUD is a Catalyst Tutorial - Part 8: Advanced CRUD. Add a Form Creation Helper Method Open lib/MyApp/Controller/Books.pm in your editor and add the following method: =head2 make_book_widget Build an HTML::Widget form for book creation and updates =cut sub make_book_widget { my ($self, $c) = @_; # Create an HTML::Widget to build the form my $w = $c->widget(book_form)->method(post); # Get authors my @authorObjs = $c->model("MyAppDB::Author")->all(); my @authors = map {$_->id => $_->last_name } sort {$a->last_name cmp $b->last_name} @authorObjs; # Create the form feilds $w->element(Textfield, title )->label(Title)->size(60); $w->element(Textfield, rating )->label(Rating)->size(1); $w->element(Select, authors)->label(Authors) ->options(@authors); $w->element(Submit, submit )->value(submit); # Return the widget return $w; } This method provides a central location that builds an HTML::Widget-based form with the appropriate fields. The "Get authors" code uses DBIC to retrieve a list of model objects and then uses map to create a hash where the hash keys are the database primary keys from the authors table and the associated values are the last names of the authors..

Requirements: No special requirements
Platforms: Linux
Keyword: Advanced Crud Advancedcrud Authors Catalyst Tutorial Catalystmanualtutorialadvancedcrud Form Html Last Libraries Part Programming Tutorial Widget
Users rating: 0/10

License: Freeware Size: 122.88 KB
CATALYST::MANUAL::TUTORIAL::ADVANCEDCRUD RELATED
Libraries  -  Catalyst::Example::InstantCRUD 0.0.18
Catalyst::Example::InstantCRUD is a CRUD scaffolding for Catalyst. SYNOPSIS instantcrud.pl -name=My::App -dsn=dbi:Pg:dbname=CE -user=zby -password=pass The instantcrud.pl executable creates a skeleton CRUD application in current directory. The...
32.77 KB  
Libraries  -  Test::Unit::Tutorial 0.14
Test::Unit::Tutorial is a Perl module that contains a tutorial on unit testing. SYNOPSIS perldoc Test::Unit::Tutorial Here should be extensive documentation on what unit testing is, why it is useful, and how to do it with the Test::Unit...
45.06 KB  
Libraries  -  yagg::Tutorial 1.4001
yagg::Tutorial is a Perl module that contains a tutorial for yagg. SYNOPSIS # To use the generator ./yagg -m nonterminals.yg terminals.lg ./output/progs/generate 5 This tutorial will show you how to use yagg, by way of two examples. In the...
215.04 KB  
Development Editors  -  SynWeb 1.4.140
SynWeb is an advanced highlighter for (Uni)SynEdit for PHP, (X)HTML, WML, CSS, JS. It has much more features than TSynMultiSyn and works about 2-10 times faster. Included also SynTokenMatch - inteligment brace/token matching, html tags, begin->end, e
921.6 KB  
Programming  -  Test Your C 1.0
Test Your C is a C Programming tutorial / quiz program with 150 questions in 10 categories, each question's answer is explained. Test Your C uses a lot of terminology found in the ANSI C standard. Quiz categories are: Declarations; Lexical...
58.2 KB  
Business  -  Intro to Bash Programming HOWTO 0.8
Intro to Bash Programming HOWTO is a bash programming tutorial. The Intro to Bash Programming HOWTO is meant for newbies who wish to learn how to write shell scripts for bash, the GNU Boure-Again shell. It contains several samples. It is very...
 
Home & Leisure  -  Speed Up Your PC 1.00
Speed Up your PC - Three part video tutorial - PC Engineer Shows Insider PC Speed Tricks - Speed Up Your Web Browser - Instantly Speed Up Your Computer
2.23 MB  
Text Management  -  phpEditorIDE 1.0
phpEditorIDE is an advanced tool for creating web pages in PHP, HTML, CSS, JScript and VBScript. It includes FTP and MySQL clients and other add-ons.
 
Networking  -  Registration Widget 1.0
As you know WordPress's Registration Form is only displayed in it's own page, and if you want to invite a user to register, the only option you have is to provide a link to the registration page. With this plugin you have a new widget that insert...
10 KB  
Education  -  Learn .Net 1.0.0.1
Learn .net application is for all students who want to learn asp.net languages. This application provide a Asp.Net with C# Video Tutorial. Video Tutorial include a Website Design and Development. The Tutorial is based on a...
2 MB  
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 3.15.3
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