|
Posted by Peter Fox on 06/21/06 07:38
Following on from 's message. . .
>I am about to embark on creating a mid-size web project that heavily
>relies on db interactions.
>
>Since most pages will contain recurring form elements (input text
>boxes, dropdown boxes, radio buttons, submit forms, tables, etc.), I am
>thinking of using blocks to insert components to each page. All
>standard elements would be instances of form element classes. Calling
>up these objects would generate customized html code.
Yes. Good idea.
Similar elements in similar positions with the screen zoned
appropriately.
The second part is getting the data in/out of the database.
Do this by connecting screen objects to the database model.
I've done this for a few years now and what I also have as a result is a
whizzo development system of objects I can stick together on a screen
with a few lines of code to do both screen and db.
Drop me a line(trapped) and you can have the whole code base ready to
run on mySQL.
--
PETER FOX Not the same since the porcelain business went down the pan
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Navigation:
[Reply to this message]
|