|
Mailing Lists
|
Home /
Groups /
Ajax
Architecture question
Author: skip evans
Short Link: http://www.houseoffusion.com/groups/ajax/thread.cfm/threadid:1332#4199
Hey all,
I use a code base I developed myself for PHP/MySQL
applications in which all the functions for things like
registration, discussion board, etc, are grouped into a
single PHP file for each module.
Now I am converting them to use AJAX, so that each module
when it loads with an HTTP call loads its required AJAX
functions into the browser on the first call, and then
those functions are available on the client for all
subsequent calls while that module is active.
I would like to take it one step further and enable the
system to use AJAX calls to access the modules without
having to call the PHP module with HTTP from the main menu.
So I am wondering if it is practical to load all the
required JavaScript code up into the browser once at the
first load and run the system continually from then on
from the browser.
Is it practical to think it safe to load 3 to 5 thousand
lines of JavaScript code up into the browser?
Any known limits to be careful of?
I'd be curious to hear what amounts of code people have
loaded up into the browser for AJAX purposes and what
their experiences have been.
Thanks!
Skip
--
Skip Evans
Big Sky Penguin
61 W Broadway
Butte, Montana 59701
=-=-=-=-=-=-=-=-=-=-
Check out PHPenguin, a versatile and lightweight
code base for developing PHP/MySQL applications.
phpenguin.bigksypenguin.com
|
May 19, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||