Theoretically, which should be quicker to load:
• From PHP, loop through an array of widgets, sending an Active
4D query out for each widget (200 widgets on the page --> 200 A4D
queries) - the A4D queries are short and direct.
OR
• From PHP, send an Active 4D query to grab all the data
(distinct values on [modules] widgets, explode each of those
strings, make a separate "entry" in the return string for each
substring). When looping through an array of widgets in PHP, look
through the stored array for related module information.
The second option. 200 HTTP requests is a lot of overhead.
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/