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

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

Serving Software Downloads in 956 Categories, Downloaded 50.322.220 Times

HTML::Widget::DBIC 0.01

  Date Added: November 04, 2010  |  Visits: 1.174

HTML::Widget::DBIC

Report Broken Link
Printer Friendly Version


Product Homepage
Download (96 downloads)



HTML::Widget::DBIC is a subclass of HTML::Widgets for dealing with DBIx::Class. SYNOPSIS # create a widget coupled with a db record my $widget = HTML::Widget::DBIC->create_from_config( $config, $resultset, $item ); # process a query my $result = $widget->process ( $query ); # and save the values from the query to the database $result->save_to_db(); METHODS create_from_config Method to create widget. The parameters are configuration for all the widget fields, a DBIC Resultset and optionally a DBIC record (item) - to fill in the current values in the form and as the target for saving the data, if not present when saving a new record will be created. The config is a reference to a list of configuration for particular fields. Like: my $config = [ { foreign_class => Dvd, widget_element => [ Select, multiple => 1 ], name => dvds, label => Dvds, bridge_rel => dvdtags }, { widget_element => [ Textarea, rows => 5, cols => 60 ], constraints => [ { max => 255, constraint => Length, message => Should be shorten than 255 characters }, { constraint => All, message => The field is required } ], name => name, label => Name }, { primary_key => 1, name => id, label => Id } ]; process Like HTML::Widget->process but produces HTML::Widget::Result::DBIC - with extra info for saving to database. save_to_db HTML::Widget::DBIC::Result method to save the data from widget to the database.

Requirements: No special requirements
Platforms: Linux
Keyword: Config Dbic Dbix Html Htmlwidgetdbic Libraries Name Process Programming Save Subclass Widget
Users rating: 0/10

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


HTML::WIDGET::DBIC RELATED
Libraries  -  DBIx::HTML::ClientDB 1.05
DBIx::HTML::ClientDB is a Perl module to convert sql into a client-side db with keyed access. Synopsis use DBIx::HTML::ClientDB; my($object) = DBIx::HTML::ClientDB -> new ( dbh => $dbh, row_headings => Unit code,Unit code,Campus name,Unit...
11.26 KB  
3D Graphic Tools  -  JIU 0.14.0
JIU is a library which offers functionality to load, analyze, process and save pixel images. Various file formats are supported, demo applications for the command line and the AWT GUI toolkit are provided too..
1.2 MB  
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
Modules  -  RSS Feed Reader for WordPress 0.1
The RSS Feed Reader WordPress plugin lets you output any RSS feed as HTML within your WordPress page, post or sidebar widget. Simply enter the shortcode with the relevant settings and that's it! * RSS Feed Reader WordPress Plugin homepage with...
51.2 KB  
Libraries  -  Simple Config 1.1.1
Simple Config library supports configuration files consisting of simple name-value pairs, similar to the old Windows INI files. A config file can be loaded into memory, queried by item name, modified, and written back out to a file. Configuration...
23.55 KB  
Libraries  -  Config::JSON 1.0.3
Config::JSON is a JSON based config file system. SYNOPSIS use Config::JSON; my $config = Config::JSON->create($pathToFile); my $config = Config::JSON->new($pathToFile); my $element = $config->get($param); $config->set($param,$value);...
5.12 KB  
Libraries  -  Rsync::Config::Module 0.3.1
Rsync::Config::Module is a module entry from a rsync configuration file. Rsync::Config::Module is used to create a module who can be later used in generating a rsync configuration file. Each module is made by atoms (Rsync::Config::Atom)....
22.53 KB  
Libraries  -  HTML::Seamstress::Quickstart 4.26
HTML::Seamstress::Quickstart is a gentle introduction to HTML::Seamstress. Introduction This guide is designed to get you started with dynamically generating and modifying ("templating") HTML with HTML::Seamstress. We will work through...
49.15 KB  
Libraries  -  XAO::DO::FS::Config 1.06
XAO::DO::FS::Config is an embeddable configuration object for XAO::FS. SYNOPSIS use XAO::Projects; use XAO::Objects; my $config=XAO::Objects->new(objname => Config, sitename => test); XAO::Projects::create_project(name => test, object...
98.3 KB  
Libraries  -  OpenInteract2::Config::Initializer 1.99_06
OpenInteract2::Config::Initializer is a Perl module for observable configuration initialization events. SYNOPSIS # Add an initializer in your package.conf name mypackage version 1.10 ... config_watcher OpenInteract2::MyInitializerSpops...
931.84 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