Optimize EditPickerHelper::LoadValues and MInputHelper::LoadValues methods

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Jan 18, 2010, 5:39:37 AM1/18/10
to In-Portal Development
Optimize EditPickerHelper::LoadValues and MInputHelper::LoadValues methods, so in case if they use kDBList class object (e.g. called from kDBTagProcessor::PrepareListElementParams method), then they will query requested data for all list records at once and not by one query per list element as for now. Also they could cache query result, because they won't be changed during this script run.

These LoadValues methods are used to display data from fields, that use "inp_edit_picker" and "inp_edit_minput" blocks on editing form.

--
Best Regards,

http://www.in-portal.org
http://www.alex-time.com

Dmitry A.

unread,
Jan 18, 2010, 4:07:28 PM1/18/10
to In-Portal Development Team
This sounds like a solid optimization plan for these methods

Would you please create a task for this. We should put in a "Future"
release until it's properly planned and scheduled for any specific
one.


DA.

Alexander Obuhovich

unread,
Jan 21, 2010, 4:05:07 AM1/21/10
to in-por...@googlegroups.com
Here is the task: http://tracker.in-portal.org/view.php?id=550

--
You received this message because you are subscribed to the Google Groups "In-Portal Development Team" group.
To post to this group, send email to in-por...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-dev?hl=en.






--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
Reply all
Reply to author
Forward
0 new messages