Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-16 | Add debugging classes for Pagelet, Stylesheet and Javascript | Thomas Lange | 3 | -0/+42 | |
2017-11-23 | The file permissions have been normalized. | Thomas Lange | 12 | -0/+0 | |
2017-10-21 | Code optimization: The method "getStructure" has been added to the abstract ↵ | Thomas Lange | 4 | -21/+37 | |
Item class. | |||||
2017-10-07 | The shorthand methods "addCSS" and "addJS" have been removed. If you need ↵ | Thomas Lange | 2 | -22/+6 | |
shorthand syntax, you can abstract the Pagelet class and use your own extended class which is more flexible and will keep the BigPipe main classes as small as possible. | |||||
2017-10-05 | The method "addDependency" no longer accepts a pagelet ID as a string. You ↵ | Thomas Lange | 1 | -6/+2 | |
must now pass an existing Pagelet instance to the method! | |||||
2017-10-04 | The method "addPagelet" from the BigPipe main class was replaced by the new ↵ | Thomas Lange | 2 | -12/+25 | |
implemented methods "enqueue" and "dequeue" for the new queueing mechanism. The "dequeue" method is currently unused but will be used in the future. The changes in this commit are partially preparations for further commits. | |||||
2017-10-04 | A new method called "getPriority" has been implemented, which returns the ↵ | Thomas Lange | 1 | -0/+9 | |
priority of the corresponding Pagelet instance. | |||||
2017-08-27 | The javascript library is now running in strict mode. | Thomas Lange | 1 | -0/+1 | |
2017-08-27 | Optimization: The javascript library has been restructured and is now using ↵ | Thomas Lange | 1 | -198/+202 | |
the "class" keyword which was introduced in ECMAScript 6 (2015) to build the prototypes. In addition, some variables and functions were renamed and declared with the shorthand syntax. | |||||
2017-08-26 | Optimization: Some anonymous callback functions has been simplified with ↵ | Thomas Lange | 1 | -9/+9 | |
arrow functions which were introduced in ECMAScript 6 (2015). | |||||
2017-08-25 | Optimization: Some comments has been optimized and all occurrences of "var" ↵ | Thomas Lange | 1 | -17/+17 | |
has been replaced by the new introduced keyword "let" from ECMAScript 6 (2015), which scopes the variable to the nearest enclosing block instead of the nearest function block. | |||||
2017-08-25 | A missing semicolon has been added and an unused property from the Resource ↵ | Thomas Lange | 1 | -5/+4 | |
prototype was removed. | |||||
2017-08-25 | Optimization: The outsourced function "globalExecution" is no longer ↵ | Thomas Lange | 3 | -12/+2 | |
necessary and has been replaced by a simpler variant inside the BigPipe library. | |||||
2017-08-25 | Bugfix: Javascript code for stopping the current request moved into a ↵ | Thomas Lange | 1 | -1/+5 | |
try/catch block to prevent troubles with some creepy Microsoft browsers. | |||||
2017-08-16 | A new method called "setPlaceholderHTML" was implemented and can be used to ↵ | Thomas Lange | 1 | -1/+9 | |
display custom HTML content immediately while the pagelet is still processing. | |||||
2017-08-06 | The "CSS" and "JS" resource representation classes has been renamed to ↵ | Thomas Lange | 1 | -4/+4 | |
"Stylesheet" and "Javascript" to make it more consistent with the other class names (instead of using the abbreviations). | |||||
2017-08-06 | The "CSS" and "JS" resource representation classes has been renamed to ↵ | Thomas Lange | 2 | -4/+4 | |
"Stylesheet" and "Javascript" to make it more consistent with the other class names (instead of using the abbreviations). | |||||
2017-05-26 | It was forgotten to rename the method call "::enablePipeline()" to ↵ | Thomas Lange | 1 | -1/+1 | |
"::enabled()". | |||||
2017-03-08 | CSS class "hidden" was replaced by the semantic HTML5 attribute "hidden". | Thomas Lange | 2 | -2/+1 | |
2017-02-25 | Markdown formatting removed. | Thomas Lange | 1 | -3/+3 | |
2017-02-25 | Typo in filename removed. | Thomas Lange | 1 | -1/+1 | |
2016-10-22 | The Pagelet representation class in PHP now has a separate method to add ↵ | Thomas Lange | 3 | -6/+21 | |
dependencies (either with the instance of the dependency Pagelet or the unique ID as string as argument). | |||||
2016-07-10 | Comment updates: Separate email address for code stuff. | Thomas Lange | 7 | -7/+7 | |
2016-07-10 | Each resource has now an ID; Code improvements and comment blocks added. | Thomas Lange | 7 | -134/+144 | |
2016-06-26 | Link changed to code.facebook.com | Thomas Lange | 1 | -1/+1 | |
2016-06-25 | Update with new features and code improvements. | Thomas Lange | 11 | -185/+432 | |
+ 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 | 7 | -143/+180 | |
+ 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-06-20 | Markdown prettify | Thomas Lange | 1 | -17/+5 | |
2016-05-13 | Multiple updates | Thomas Lange | 1 | -3/+3 | |
2016-05-13 | Multiple updates | Thomas Lange | 1 | -3/+3 | |
2016-05-13 | Multiple updates | Thomas Lange | 6 | -37/+57 | |
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 | Add .idea/ to .gitignore | Thomas Lange | 1 | -0/+1 | |
2016-04-22 | Multiple updates with async demo. | Thomas Lange | 11 | -488/+634 | |
2016-03-26 | Custom pagelet ID's | Thomas Lange | 3 | -5/+5 | |
2016-02-10 | Initial commit | Thomas Lange | 1 | -0/+8 | |
2015-12-26 | Multiple updates; new feature PhaseDoneJS | Thomas Lange | 12 | -169/+230 | |
2015-07-25 | Namespaces added | Thomas Lange | 3 | -6/+10 | |
2015-04-15 | Some changes | Thomas Lange | 1 | -1/+1 | |
2015-04-15 | Create licence.md | Thomas Lange | 1 | -0/+21 | |
2015-04-15 | Initial commit | Thomas Lange | 10 | -0/+622 | |