2010年10月26日星期二

[fw-db] Large Zend_Form with many fields and processing it problem

Hi,
I'm designing a really big Zend_Form and I have a few problems:

I start by populating it with a model (a movie - data taken from 16 database
tables, about 5 of them are joining tables, at this point it doesn't matter
as it's just a movie object) with many fields created by foreach loops.
But I have no idea how to process such a big form.
1. Should check what data is updated? How? What then?
2. How to handle the case when I want to remove some data? Emptying fields
manually is not comfortable.

For now I begin with the simplest movie form with data from just one main
table.
But to my mind it won't be very well if I have to force user to move to
other forms to edit directors or actors?

I will be really grateful for advice on design complex forms and processing
updates/adding to many tables.

With regards,
Greg
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Large-Zend-Form-with-many-fields-and-processing-it-problem-tp3014216p3014216.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: