bharathgunapati bharathgunapati - 5 months ago 89
PHP Question

Pagelets in PHP

Is there a way to implement the "pagelets" concept using PHP as Facebook does? From their blog post:

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.

Pagelets in Facebook home page; each rectangle corresponds to one pagelet:

Pagelets in Facebook home page. Each rectangle corresponds to one pagelet.


Is there a way to implement pagelets concept using PHP

No. It barely has something to do strictly with the server-side (PHP).

That is done in Javascript on the client (browser).