Jump to content

Dynamic Form Creation


gpoole

Recommended Posts

Hi there, first post :-).

 

I've been given the following spec:

 

Design a class hierarchy for automating HTML form generation, validation (client and server side), submission and processing. The aim is to remove the mix of PHP and HTML code. The programmer needs to be able to create a form by creating appropriate PHP objects, connecting them together and then calling a final “draw()” method which will output the actual HTML to the browser.

 

The programmer should then also be able to intercept the form when it is submitted,

automatically reconstruct the PHP objects and process it accordingly.

 

The first paragraph makes sense, but I'm having trouble understanding what is meant by 'intercepting' the form and reconstructing PHP objects around it.

 

Any ideas what they're trying to get at here?

 

Thanks a lot!

Link to comment
https://forums.phpfreaks.com/topic/161177-dynamic-form-creation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.