lazy saunter

(personal learnings in computation)

Friday, September 29, 2006

web forms

STAGES OF WEB FORM PRODUCTION

1. design page using dreamweaver, naming each form element.
2. include javascript code to check that all required form cells are filled out.
3. include javascript to check the cells are filled out correctly.
4. include PHP code at the top to check the session id.
5. create a PHP page which assigns the value of each form element to a session variable.
6. redirect to the next form page or redirect to a page displaying the values in the $_SESSION array.
7. debug.


much of the time i spend working on these pages is spent with the JavaScript parts. it is difficult to debug (as there is no debugger) and is tedious. however, it is useful to do the form validation client-side so it is a necessary evil for now. it seems like lower order work for a programmer- entry level stuff that doesnt require so much skill and requires lots of time. but this should be mastered since lots of web programming requires this technology/technique.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home