|OOP concepts in PHP with forms||#1|
I know how to create classes and objects, but I want to know how to integrate FORMS with OOP concepts in PHP.
posted date: 2009-04-07 03:16:00
|Re: OOP concepts in PHP with forms||#3|
If you want to include some object orientated concepts in forms with PHP you can use the "Forms generation and validation class". There is even a video tutorial ;-). Of course you could also create your own if you like or edit an existing one. Here are the specs for the class:
posted date: 2009-04-07 03:19:00
|Re: OOP concepts in PHP with forms||#4|
I took the liberty of using the modern term, OOP, instead of OOPS. "Oops" currently sounds, well, not like OOP :)
posted date: 2009-04-07 03:20:00
|Re: OOP concepts in PHP with forms||#5|
Your question is a bit unclear. At least to me.If you want to see how (x)html forms are implemented in an OO way in PHP you may want to look at the code and the manual for Zend_Form.
posted date: 2009-04-07 03:21:00
|Re: OOP concepts in PHP with forms||#6|
You could also have a look at the Yii framework, which implements forms as models (the "M" part in MVC) - which has in my opinion much less overhead than ZF(s form implementation.
posted date: 2009-04-07 03:23:00
|select page: « 1 »|