summaryrefslogtreecommitdiff
path: root/UPGRADE
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-10-21 14:00:46 +0000
committerctrlaltca@gmail.com <>2011-10-21 14:00:46 +0000
commit615c15d9a2001c58b2030c23b44f655b57dd21d0 (patch)
treedbfabc8ed347e6214472df6a0c54060e34fd24b5 /UPGRADE
parentad678bcd067deafcaa9984b179471fd980465cd8 (diff)
removed TClientScriptLoader missed in r3039. Updated documentation
Diffstat (limited to 'UPGRADE')
-rw-r--r--UPGRADE4
1 files changed, 4 insertions, 0 deletions
diff --git a/UPGRADE b/UPGRADE
index e0a182f2..f290c3e0 100644
--- a/UPGRADE
+++ b/UPGRADE
@@ -16,6 +16,10 @@ Upgrading from v3.1.x
If you were relying (linking directly) to that script to get some js file, you'll need to re-adapt your
scripts. Remember, linking directly a file in the assets/ directory is always a bad idea, let Prado do
it for you using publishAssets().
+- The removal of clientscripts.php lead to the removal of TClientScriptManager::registerJavascriptPackages()
+ and the entire TClientScriptLoader class. These two were used to publish multiple javascript files at once
+ and to compress/minify them. While the compression is something that is probably better done at the
+ webserver/processor level, you can still get your scripts minified using TJavaScript::JSMin();
- Ticket #325 enabled pregressive rendering inside Prado. Previously, all the output of Prado was
buffered and sent to the client all at once. Now, you decide to render smaller parts of the page
and send them to client right after completed, one after the other (see TFlushOutput documentation).