Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-07-10 | Each resource has now an ID; Code improvements and comment blocks added. | Thomas Lange | 6 | -107/+121 | |
2016-06-25 | Update with new features and code improvements. | Thomas Lange | 7 | -71/+252 | |
+ New classes have been added: "BigPipe\Resource", "BigPipe\Resource\CSS", "BigPipe\Resource\JS". If you wan't to add a resource to a Pagelet, you can now built a new resource object with the "CSS" or "JS" class (the "Resource" class is abstract and the parent class of "CSS" and "JS") and can add PhaseDoneJS callbacks for this resources with "Resource::addPhaseDoneJS()" similar to "Pagelet::addPhaseDoneJS()". To add the resource to your pagelet: "$Pagelet->addResource($Resource)". Of course, you can still use the two SHORT methods "Pagelet::addCSS()" and "Pagelet::addJS()" which needs only one parameter with the resource URL. + Each resource has now PhaseDoneJS callbacks for 3 phases (Object initializied [INIT], Loading started [LOAD], Loading complete [DONE]). + Check your usage of the PhaseDoneJS callback constants of the Pagelet class: These constants have been renamed. + Debugging mode: Just set BigPipe::debugging(TRUE) and each pagelet and resource will be pass through a function which adds PhaseDoneJS callbacks with debug informations (Look now at the Javascript console and enjoy the beautiful colors which makes the debug informations better readable for your eyes. \(o_o)/). + Several code improvements on almost all files. | |||||
2016-06-23 | Pagelets executed immediately; Dependency feature; Several improvements | Thomas Lange | 4 | -4/+63 | |
+ All pagelets are now executed immediately on arrive. + A "Display Dependency" feature was added. If you give a pagelet an dependency, it will first be executed if all pagelets, who registered as dependency, are displayed. + If BigPipe.reset() is called, the function loops through each Resource and executes Resource.abortLoading(). This removes the <link> or <script> element from DOM and removes the onload callbacks. This is to prevent that an onload callback from a previous page are executed while the user has already changes the page asynchronously and a resource from the previous page wasn't already loaded. | |||||
2016-05-13 | Multiple updates | Thomas Lange | 3 | -26/+36 | |
2016-05-10 | Include JS resources before main JS code | Thomas Lange | 1 | -4/+4 | |
2016-05-10 | Comment update | Thomas Lange | 1 | -1/+1 | |
2016-05-10 | Comment update | Thomas Lange | 1 | -1/+1 | |
2016-05-10 | Double quotes converted to single quotes | Thomas Lange | 1 | -2/+2 | |
2016-04-22 | Multiple updates with async demo. | Thomas Lange | 3 | -52/+52 | |
2016-03-26 | Custom pagelet ID's | Thomas Lange | 2 | -4/+4 | |
2015-12-26 | Multiple updates; new feature PhaseDoneJS | Thomas Lange | 4 | -32/+98 | |
2015-07-25 | Namespaces added | Thomas Lange | 2 | -0/+4 | |
2015-04-15 | Initial commit | Thomas Lange | 3 | -0/+175 | |