Php page static feeling somewhat limited

Source: Internet
Author: User
The static page of php is somewhat limited. The following are my questions. I hope that the ob cache can be implemented statically. enable ob cache on the php page, receive the echo information on the php page, and save the dynamic page data as a static page description: 1. this website does not use MVC, and php pages are directly output. This website is too informal. 2. if the template technology is not used, and MVC is still not used, I feel that the static page of o php is somewhat limited.

The following are my doubts.


Ob cache is static. you can enable ob cache on the php page, receive the echo information of the php page, and save the data on the dynamic page as a static page.
Note:
1. this website does not use MVC, and php pages are directly output. This website is too informal.
2. the template technology is not used, and MVC is still not used, so ob is a little chicken.

I have always felt that ob is not streaming. Please correct me!

Share:
------ Solution --------------------
File_get_contents ($ url)
------ Solution --------------------
Reference:
The following are my doubts.


Ob cache is static. you can enable ob cache on the php page, receive the echo information of the php page, and save the data on the dynamic page as a static page.
Note:
1. this website does not use MVC, and php pages are directly output. This website is too informal.
2. the template technology is not used, and MVC is still not used, so ob is a little chicken.

I have always felt that ob is not streaming. Please correct me!

Generating OB may not be enabled
Get the content directly with file_get_contents ("http://bbs.csdn.net") to generate static
------ Solution --------------------
Mvc and static are two different things.
Mvc should be used.
Static Mode depends on the situation. If used, there is also a degree of static problems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.