Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Apache::Wyrd::SQLForm 0.98

    Download button

    No screenshots available
    Downloads: 388  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Barry King | More programs
    Perl Artistic License / FREE
    September 4th, 2007, 08:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Apache::Wyrd::SQLForm description

    A Perl module to general Form Wyrd for editing data in SQL

    Apache::Wyrd::SQLForm is a Perl module to general Form Wyrd for editing data in SQL.

    SYNOPSIS

    < BASENAME::SQLForm index="user_id" table="users" >
    < BASENAME::Form::Template name="password" >
    < BASENAME::Form::Preload >
    < BASENAME::Defaults >
    select 'root' as user_id;
    < /BASENAME::Defaults >
    < BASENAME::Query >
    select user_id from users where name='Groucho'
    < /BASENAME::Query >
    < /BASENAME::Form::Preload >
    < b >Enter Password:< /b >< br >
    < BASENAME::Input name="password" type="password" / >
    < BASENAME::Input name="user_id" type="hidden" / >
    < /BASENAME::Form::Template >
    < BASENAME::Form::Template name="result" >
    < H1 >Status: $:_status< /H1 >
    < HR >
    < P >$:_message< /P >
    < /BASENAME::Form::Template >
    < /BASENAME::SQLForm >


    The SQLForm is a subclass of Apache::Wyrd::Form. It is meant to simplify the creation of forms that are used to edit data within a database connected to via the Apache::Wyrd::DBL.

    The SQLForm makes the assumption that there is a primary table on which the edit is operating and that other tables will, if necessary, have elements inserted, changed or deleted from them as they relate to the primary table.

    This module is meant to be subclassed, so a large number of its methods are only defined in order to be overridden. Any changes to secondary tables, for example, need to be handled by subclassing _prep_secondary, _submit_secondary, and _perform_secondary_deletes, all of which do nothing by default.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Form Wyrd | SQL form | Perl module | SQL | Wyrd | form

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM