Not sure what to call this except a thingy, but would like to start a
discussion on an idea that I have/partly implemented. The idea is to
allow an admin to create a doctrine query. This query will be used to
get all those records for display on the page.

Setting up the filters, my plan is to have custom widgets/validators.
I have a text widget that puts a drop down of operators (ie: equal to,
less than, greater than). I haven't done it yet, but I'm looking at
using validators to format the user submited values and adds the
correct joins and where clause to the doctrine query.

What I have so far are just basic widgets with none of the validators
doing any of this. Works fine =)  I'm using the sfGrid and
sfDataSource plugins in combination with this for those that want to
know.


Has anyone else done something like this or could give some advice on
this? Anyone see what could go wrong with this approach?

-f1g

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to