Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
General coding directions |
Fri, May 25 2012 2:11 AM | Permanent Link |
Leslie | Tim,
There are important considerations when using Javascript and DOM having effect on the performanace. Code size ... It would be nince to have a colletion of general directions. One question I am thinking about is how adding methods and fields to a class effects performance? Is it better or worse using property with getter and setter then a simple value member? The latter would seem to be the more efficient solution, but with Javascript and DOM it may well be the oposite or no difference at all. Cheers, Leslie |
Fri, May 25 2012 5:13 AM | Permanent Link |
Leslie | Tim.
An other performance question: I am dealing with controls reacting to mouse events (MouseOver ...) I can see it in your code that you are setting THTMLElement.className so the state information (eg the images for Tchekbox) is stored in css. Obviously this makes themes possible. But the question is if this supposed to be faster or slower compared to setting Control backgroundImage or TImageImage.ImageName? Cheers, Leslie |
This web page was last updated on Wednesday, October 16, 2024 at 02:36 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |