RE: [PHP] how does one bind a gui representation and a container object.

2009-01-08 Thread McClusky, Kevin - Sacramento
Reading your original request a little more carefully, it appears you're really looking for a way to immediately update the database when someone changes a value in an HTML form. Ajax is necessary. Make an ajax call triggered by a change in the table's data, which sends the change as GET or POST

RE: [PHP] how does one bind a gui representation and a container object.

2009-01-08 Thread McClusky, Kevin - Sacramento
As an ammendum to the prior response, you may want to look into using AJAX with a streaming connection to the server. If you have a small number of users, this works nicely (I have used it in production systems before). http://ajaxpatterns.org/HTTP_Streaming#Solution If there are a large number

Re: [PHP] how does one bind a gui representation and a container object.

2009-01-08 Thread ceo
You'll have to use Ajax to make another HTTP request. HTTP is not really designed for this, and it will make the site quite sluggish most likely... You should certainly make it an async call and not slow users down with this "feature". -- PHP General Mailing List (http://www.php.net/)