Comments on: How to convert an existing web application to use AJAX http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/ Delphi For PHP Blog - The best source of information and help on Delphi for PHP! Tue, 25 Aug 2009 01:01:04 +0000 http://wordpress.org/?v=2.5.1 By: Gerard http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-980 Gerard Thu, 04 Dec 2008 18:16:02 +0000 http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-980 how to insert in a database with delphi-php? how to insert in a database with delphi-php?

]]>
By: Kirill http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-891 Kirill Mon, 12 Nov 2007 07:03:27 +0000 http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-891 Thanks for your tutorials! That's realy cool! Thanks for your tutorials! That’s realy cool!

]]>
By: admin http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-498 admin Sat, 15 Sep 2007 23:21:51 +0000 http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-498 Steve Cooney you are absolutely correct. The demo application was more of a "What can be done" rather than what actually should be done. I can think of many real time applications where the examples I used would be needed, however as a demonstration it's probably not the best example of using AJAX :) Steve Cooney you are absolutely correct. The demo application was more of a “What can be done” rather than what actually should be done. I can think of many real time applications where the examples I used would be needed, however as a demonstration it’s probably not the best example of using AJAX :)

]]>
By: Alexandra http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-101 Alexandra Sat, 04 Aug 2007 08:38:17 +0000 http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-101 I checked it by myself. There is no difference between simple components and components, connected to DB. Thank you again. I checked it by myself. There is no difference between simple components and components, connected to DB. Thank you again.

]]>
By: Alexandra http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-98 Alexandra Fri, 03 Aug 2007 22:55:22 +0000 http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-98 great example. Thank you. I would like to know how to use AJAX, when you use components, connected to DB. great example. Thank you. I would like to know how to use AJAX, when you use components, connected to DB.

]]>
By: stefan http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-91 stefan Thu, 02 Aug 2007 16:56:11 +0000 http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-91 great example. But, you don’t update the database, you INSERT a record. I would like to know how to select a record in a dbgrid, and get the field values in editfields, change them and update that record. And if you show how to do that, I guess, deleting a record will not be a problem either. Thanks, stefan great example. But, you don’t update the database, you INSERT a record.
I would like to know how to select a record in a dbgrid, and get the field values in editfields, change them and update that record. And if you show how to do that, I guess, deleting a record will not be a problem either.
Thanks,
stefan

]]>
By: Steve Cooney http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-77 Steve Cooney Sun, 29 Jul 2007 23:04:28 +0000 http://www.delphi-php.net/how-to-convert-an-existing-web-application-to-use-ajax/#comment-77 Two points: While this is how Ajax can be demonstrated it's the wrong application of the technology. You are sending a payload back to the webserver, its instantiating the page and calling a function, returning the result and injecting it into the page asynchronously, just to add text to a control!!. You only need client side javascript to do that, AJAX is misapplied here. A real world application would not do that. Secondly the return(false) javascript ststement is not needed if you properly set the button type to btNormal instead of the default btSubmit. Two points: While this is how Ajax can be demonstrated it’s the wrong application of the technology. You are sending a payload back to the webserver, its instantiating the page and calling a function, returning the result and injecting it into the page asynchronously, just to add text to a control!!. You only need client side javascript to do that, AJAX is misapplied here. A real world application would not do that. Secondly the return(false) javascript ststement is not needed if you properly set the button type to btNormal instead of the default btSubmit.

]]>