I need to make a web application with a light-weight remote scripting solution where images are to be loaded dynamically.
The user clicks on categories and new images will load, without having the whole web page reloaded on each click.
I'd like some guidance about best practices for a solution. I'd rather not use heavy frameworks (Ajax, scriptacolus, prototype, gwt) for this single task. But if it is necessary i need help in finding the most light-weight one.
I have tried Remote scripting with IFRAME but I have a hard time figuring out if that solution will be sufficient. Can anyone with more experience tell me if I will turn up in a dead end.
Please feel free to ask questions since I am not sure that I have provided you with enough details.
Ajax is not a "heavy-weight framework". It's not a framework at all; it's a methodology.
#categoryList - your select element with list of categories.
#images - some sort of container (div maybe)
When you do a $.load() you would return the HTML that contains all your img elements referencing that category's images.
Joined: Jul 26, 2009
Thanks for the quick reply.
I am very interested to learn new things but right now I need help to choose the solution that I do not have the time to first evaluate options.