Changes between Version 1 and Version 2 of IntroFormHandling

Show
Ignore:
Timestamp:
07/25/06 04:51:04 (8 years ago)
Author:
tstuij
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IntroFormHandling

    v1 v2  
    55 
    66    <h2>Advanced form handling</h2> 
    7     <p>Ucw has some extra classes and methods defined that operate on forms so as to make making them easier and  checking what's in them safer. In this model every input field becomes a class which handles for example strings or integers and to which you can assign validators which check the inbound fields whatever you want to check. Also pre-defined render methods spit out html to let everything look nice and they spit out javascript to do validation on the client side (which is complimentary, not necessary). Source for the chapter are <a href='ucw-intro_source.tar'>here</a> to be found.</p> 
     7    <p>Ucw has some extra classes and methods defined that operate on forms so as to make making them easier and  checking what's in them safer. In this model every input field becomes a class which handles for example strings or integers and to which you can assign validators which check the inbound fields whatever you want to check. Also pre-defined render methods spit out html to let everything look nice and they spit out javascript to do validation on the client side (which is complimentary, not necessary). Source for the chapter are <a href='http://www.fallenfrukt.com/ucw-intro_source.tar'>here</a> to be found.</p> 
    88    <p>Just to see how a bare boned and all washed up form might look and to not having to explain everything in one go, here is a form with a field which checks its content on being not empty and on being between four and eighteen characters.</p> 
    99    <pre>