Ajax design tips
September 30, 2006 1:05 PM   Subscribe

Ajax design - The more little UI widgets I add to my project, the harder it is to maintain a coherent directory structure. Any tips or articles on how to maintain an intelligent directory/site structure on Ajax projects, where you have N number of little UI widgets that are retrieved on demand?
posted by xmutex to Computers & Internet (2 answers total) 2 users marked this as a favorite
 
Can you be more specific about the problem?
posted by Khalad at 4:27 PM on September 30, 2006


Are you saying that all your little widgets are in separate files?

If so, why?

Make a logical grouping of which functions are likely to be required on the same page and put all those functions into the same file. That way your pages have fewer <script> tags. You might waste a bit of bandwidth for each file you include, but that's probably better than having multiple includes which make for multiple server hits.

But yes, more detail would help. Maybe I've misinterpreted the problem.
posted by AmbroseChapel at 4:37 PM on September 30, 2006


« Older Where can I find a javascript slider bar widget?   |   Secure Wireless Internet Newer »
This thread is closed to new comments.