Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: Delphi for PHP/Library    [ Add a report in this area ]  
Report #:  78768   Status: Reported
Incomplete implementation of Ajax support.
Project:  HTML5 Builder Build #:
Version:    2.0 Submitted By:   Maciej Tubiszewski
Report Type:  Basic functionality failure Date Reported:  10/19/2009 2:15:48 AM
Severity:    Serious / Highly visible problem Last Updated: 12/18/2009 6:52:31 PM
Platform:    All platforms Internal Tracking #:  
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Each time load the form in the invocation of events supported by Ajax.
Practically you can not use Ajax because of the problems of performance
if form have few DBComboBox is performed many SELECT before UPDATE.
Ajax execution should be limited only to the events described in the function AjaxCall ().
Steps to Reproduce:

Tomohiro Takahashi at 10/19/2009 6:11:16 PM -
Could you please give us more detailed description about issue?
Please write Steps and attach sample project to understand your issue?

Maciej Tubiszewski at 1/8/2010 1:45:03 AM -
Hi Tomohiro,
Is there the chance on making something in this subject?

Maciej Tubiszewski at 12/18/2009 6:30:54 AM -
Do you need what information?

Maciej Tubiszewski at 10/21/2009 3:50:28 AM -
How do I litter the details of the problem?

Tomohiro Takahashi at 10/21/2009 6:08:44 PM -
Please update [Steps] area and attach sample project via Window Native QC Client.
The standalone client is available at this web site.

Maciej Tubiszewski at 10/22/2009 3:36:10 AM -
I sent attachments.

ajax1.php, ajax1.xml.php -
Sample project - shows the re-connect to the database despite the fact that Ajax function of the database is not used.

ajax1.jpg -
An example of the real application window to modify the data.

ajax1_sql1.txt -
Mysql log after loading the application window (ajax1.jpg).

ajax1_button.txt -
Handling code button "Change - Zmien" the application window (ajax1.jpg).

ajax1_sql2.txt -
Mysql log after the button "Change - Zmien" the application window (ajax1.jpg).
Shows how much unnecessary SELECT is executed.

Gary Neckers at 10/20/2009 10:28:09 AM -
This is an old complaint discussed a lot on qadram's forum.

We now have a fast way to do it detailed here:

Maciej Tubiszewski at 10/21/2009 3:48:23 AM -
Indeed, it was a discussion, but I would like to know if this is something done in D4PHP? Initiated projects and what's next? Do not buy the tool to then use the "pure" AJAX ...

Gary Neckers at 10/21/2009 5:57:56 PM -
BTW this speeds up ajaxcall
ajaxCall('function', array(), array(list of controls to update))
echo $this->qxCombo1->ajaxCall('ajaxButton1Click', array(), array('qxdbgviewall', 'Image1', 'Image2'));

Gary Neckers at 10/21/2009 5:54:47 PM -
The built in ajaxcall has to work for everyone - fairly easily - and, IMO, if it is used on anything but a trivial program it is unbearably slow because of the way it is integrated.

When you want/need more you need to work outside the box the framework came in.

Maciej Tubiszewski at 10/22/2009 3:17:35 AM -
I understand, but for me the speed is sufficient AjaxCall could have been prevented if the call re-creation form.


The next step will search for faster solutions. Now rouse me confusing controls the transfer of data between a server script. Once more with this, we explore this probably change my mind ...

Server Response from: ETNACODE01