Coder Social home page Coder Social logo

nerdmind / bigpipe Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 103 KB

Implementation of Facebook's high-performance pipelining technique „BigPipe“, written in PHP & JS.

Home Page: https://code.nerdmind.de/bigpipe/

License: MIT License

PHP 74.55% JavaScript 25.45%
bigpipe facebook javascript php pipeline

bigpipe's People

Contributors

nerdmind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bigpipe's Issues

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

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.

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.