Website Design
Webapp now with AJAX
by Alexander on Aug.14, 2008, under Website Design
Woot, with some help of a new friend I was able to get some more understanding of AJAX and learn some tips with coding my webapp so that it can be more friendly with loading times. I was able to incorporate a LoadMore() variable which does the trick. I’m trying my best to keep Edge users in mind when my webapp is loaded, I know how little patience some people can have! I absolutely do not want to go over 1 minute for sure for loading time. Although it does depend on the singal strength as well, whenever I clock my loading time for my webapp I always start with a clear cache, and do a few trial runs in different areas to get the best signal strength possible. So far, loading my webapp with a clear cache and the best signal it clocks in at 42 seconds. Not too shabby, but I think I can shave off a few seconds by limiting my thumbnail pages to showing 6 initially instead of 9.
So now, the remaining tasks at hand are to create a graphic for the load more button, continue trimming down the loading time where I can, and finish importing my art to the webapp by sizing it down. After that, the webapp will be complete! Full speed ahead!
PS:
If you haven’t yet, just a reminder to go check out my art piece at LACMA. (Get directions there) The photo piece is called “Reflection of Palm Tree”, and is on display until the end of August 2008.
Last bit of coding
by Alexander on Aug.08, 2008, under Website Design
Alright so the webapp is going steady, but as I was adding more content (pics, sketches, etc) I noticed my load time was inching ever so more longer and longer. I knew that if I added any more pics (even though they are just thumbnails at a SUPER compressed rate) that most iPhone Edge wont even bother with letting my webapp finish loading.
So, it looks like Im going to be limiting the thumbnails to a certain number per category. Im also going to add a “load 10 more” button on the bottom of each category (if needed) to then call for those images or thumnails to be downloaded at the time of push. That should help cut down on the initial load time and only load what is needed. One small problem, it requires me to dive into a bit of Ajax coding, which quite frankly I havent dabbled in yet but theres a first time for everything. Tonight will be my first attempt at getting everything working and then hopefully it will be full speed ahead to adding content.













