Giter VIP home page Giter VIP logo

bigpipe's Introduction

BigPipe: Short description

BigPipe is a fundamental redesign of the dynamic web page serving system. The general idea is to decompose web pages into small chunks called pagelets, and pipeline them through several execution stages inside web servers and browsers. This is similar to the pipelining performed by most modern microprocessors: multiple instructions are pipelined through different execution units of the processor to achieve the best performance. Although BigPipe is a fundamental redesign of the existing web serving process, it does not require changing existing web browsers or servers; it is implemented entirely in PHP and JavaScript.

More information from Changhao Jiang at Facebook Engineering:
https://engineering.fb.com/2010/06/04/web/bigpipe-pipelining-web-pages-for-high-performance/

bigpipe's People

Contributors

nerdmind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bigpipe's Issues

ajax

Hey hi,

I use your Pipe since 5month and your pipe works great.
But now i worked with ajax.
I have in my index.php Pagelets, and \BigPipe\BigPipe::render(); at bottom.
But if i load other php´s via ajax with pagelets I need \BigPipe\BigPipe::render(); on end of php´s too!
But that crashes the Page because render is used 2 times.
In < head > are only pageletStaff and the real < head > is under < body >tag.
Also Pagelet is not loaded if got it over ajax. Only after PageRefresh.
Can you help with this issue?
Many thanx

Error

Parse error: syntax error, unexpected ':', expecting ';' or '{' in F:\xampp\htdocs\BigPipe-master\include\classes\BigPipe\BigPipe.php on line 33
hmm... only php7 code.

example?

Hey hi.

I load for testing a external php with pageletData via Ajax.
All working fine and is loading. But the loaded html.content stay in <code class="hidden" id="_2secondID"><!-- <section id="red" class="text">Im second</section> --></code>
<script></script>

to load the pagelet via ajax i use:
$(document).ready(function(){ $("#click").click(function(){ BigPipe.reset(); $("#content").load('home.php'); }); });

can you tell whats wrong?
Thanx for help and script

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.