Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Why I dislike the MVC implementations in Web

by siracusa (Friar)
on Jun 08, 2005 at 02:01 UTC ( [id://464525]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyEditForm;
    ...
    sub build_form
    ...
      ...
      $self->add_field(start_date => MyDateField::MDY->new(size => ...));
    }
    
  2. or download this
    package MyWebApp;
    ...
    sub init
    ...
    
      ...
    }
    
  3. or download this
    sub do_whatever
    {
      ...
      $app->show_page('edit_page');
    }
    
  4. or download this
    <!-- file: edit.mc -->
    <html>
    ...
    <%args>
    $form
    </%args>
    
  5. or download this
    /mywebapp/edit?start_date=1/2/2005
    
    /mywebapp/edit?start_date.month=1&start_date.day=2&start_date.year=200
    +5
    
  6. or download this
    $form->field('start_date.day')->input_value(1);
    $form->field('start_date')->field('day')->input_value(1);
    
  7. or download this
    $form->field('start_date')->input_value('1/31/1988');
    $form->field('start_date')->input_value(DateTime->new(...));
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://464525]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found