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.247 Times

Catalyst::Manual::Tutorial::AdvancedCRUD 0.02

  Date Added: May 26, 2010  |  Visits: 1.666

Catalyst::Manual::Tutorial::AdvancedCRUD

Report Broken Link
Printer Friendly Version


Product Homepage
Download (84 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
USER REVIEWS
More Reviews or Write Review


CATALYST::MANUAL::TUTORIAL::ADVANCEDCRUD RELATED
Libraries  -  Task::Catalyst::Tutorial 0.03
Task::Catalyst::Tutorial is a Perl module that installs everything you need to learn Catalyst. SYNOPSIS Installs the example "MyApp" described in Catalyst::Manual::Tutorial, and all its dependencies..
74.75 KB  
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  
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  
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  
Libraries  -  Catalyst::Plugin::Email::Page 0.26
Catalyst::Plugin::Email::Page is a Perl module to email your Catalyst page. SYNOPSIS use Catalyst::Plugin::Email::Page; __PACKAGE__->config->{email_page}{ email = q{webmaster@example.com}, subject = q{User Report for}, link_text =...
21.5 KB  
Telephone Utilities  -  django-form-utils 0.1.8
django-form-utils is a Django application that provides BetterForm and BetterModelForm classes which are subclasses of django.forms.Form and django.forms.ModelForm, respectively. BetterForm and BetterModelForm allow subdivision of forms into...
1.23 MB  
Nature  -  Html Form Filler 1.07
Html Form Filler is a useful form fill software.It will help you fill any html form easily and quickly. By every menu item in the ie right button menu you can fill every fill item.One ie menu item fill one form item. Operation is very...
1.12 MB  
Libraries  -  Rose::HTML::Form 0.53
Rose::HTML::Form is a HTML form base class. SYNOPSIS package PersonForm; use Rose::HTML::Form; our @ISA = qw(Rose::HTML::Form); use Person; sub build_form { my($self) = shift; $self->add_fields ( name => { type => text, size =>...
102.4 KB  
Libraries  -  Catalyst::Controller::Constraints 0.10_02
Catalyst::Controller::Constraints contains Constraint Signatures for Controller Actions. SYNOPSIS package MyApp::Controller::Foo; ... use base qw(Catalyst::Controller::Constraints); __PACKAGE__->config( constraints => { # allow only...
25.6 KB  
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