Difference between revisions of "WebIssues/Web Client"
From MiMec
($JS_LIBS) |
(→javascript) |
||
Line 12: | Line 12: | ||
==javascript== | ==javascript== | ||
− | There is a <code>$JS_LIBS</code> variable in the | + | ===$JS_LIBS=== |
+ | There is a <code>$JS_LIBS</code> variable in the <code>config.local.php</code> file and points to the "js" subdirectory of the webissues directory. | ||
+ | |||
+ | One optimization trick is to locate the javascript libraries/style sheets on another domain. For example a http://libs_sub.domain.com can be optimized with compression and caching enabled. The rationale is that normally a browser out of courtesy will only make around five concurrent connections to a server, so having some material on another domain, even serving from the same machine really does speed things up. |
Revision as of 00:09, 25 February 2008
Here the overall idea of the web design, and as usual this document is subject to change.
The target web client is based on the following components being available.
apache
database
php
smarty
javascript
$JS_LIBS
There is a $JS_LIBS
variable in the config.local.php
file and points to the "js" subdirectory of the webissues directory.
One optimization trick is to locate the javascript libraries/style sheets on another domain. For example a http://libs_sub.domain.com can be optimized with compression and caching enabled. The rationale is that normally a browser out of courtesy will only make around five concurrent connections to a server, so having some material on another domain, even serving from the same machine really does speed things up.