aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)AuthorFilesLines
2021-10-24Remove closing tags and ensure LF at end of filesThomas Lange1-1/+1
Remove the unnecessary PHP closing tags and ensure that *all* non-binary files ending with an LF character.
2018-02-03Move autoloader for classes into pagelets.phpThomas Lange1-11/+0
This commit moves the "spl_autoload_register" function directly into the pagelets.php to reduce duplicate code within index.php and async.php.
2018-02-03Move check if BigPipe should be disabled into the pagelets.phpThomas Lange1-8/+0
This commit moves the if condition, which checks if the pipelining mode of BigPipe should be disabled, directly into the pagelets.php to reduce duplicate code within index.php and async.php.
2018-02-03Remove the function "removeLineBreaksAndTabs" completelyThomas Lange1-2/+0
2018-02-03Remove sending the "Cache-Control" header on the demo page(s)Thomas Lange1-5/+0
2018-01-21Rename BigPipe::render() to BigPipe::completeResponse()Thomas Lange1-1/+1
2018-01-20Fix inconsistent line separators across filesThomas Lange1-63/+63
The development of this project began several years ago on a Windows system until I switched to GNU\Linux. Therefore, some files contained CRLF as line separators, now replaced with LF.
2017-11-23The file permissions have been normalized.Thomas Lange1-0/+0
2017-08-25Optimization: The outsourced function "globalExecution" is no longer ↵Thomas Lange1-5/+0
necessary and has been replaced by a simpler variant inside the BigPipe library.
2017-05-26It was forgotten to rename the method call "::enablePipeline()" to ↵Thomas Lange1-1/+1
"::enabled()".
2017-03-08CSS class "hidden" was replaced by the semantic HTML5 attribute "hidden".Thomas Lange1-1/+0
2016-06-25Update with new features and code improvements.Thomas Lange1-5/+9
+ 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-23Pagelets executed immediately; Dependency feature; Several improvementsThomas Lange1-26/+2
+ 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-13Multiple updatesThomas Lange1-3/+3
2016-05-13Multiple updatesThomas Lange1-3/+3
2016-04-22Multiple updates with async demo.Thomas Lange1-87/+89
2016-03-26Custom pagelet ID'sThomas Lange1-1/+1
2015-12-26Multiple updates; new feature PhaseDoneJSThomas Lange1-19/+28
2015-07-25Namespaces addedThomas Lange1-6/+6
2015-04-15Initial commitThomas Lange1-0/+79