Personal views of the PHP framework, there is no need to specifically promote which one, original aim

Source: Internet
Author: User
Tags php framework
Individual views of the PHP framework, there is no need to specifically promote which one, original aim
Some people say the frame is very complicated, very iffy,
But is it true that many of these frameworks are not patterns of routing + class libraries?
Give an example: there is a file index.php
Run http://www.xx.com/index.php
And
Run HTTP://WWW.XX.COM/INDEX.PHP/1/2/3/4/5
Is there anything different about the results?
Answer: no different

Well, if we take the 1/2/3/4/5 off the back,
Like 1 for the class name.
2 Method of representation
We new 1,
Is it called the 1 class file?

And then remove the index.php, it becomes
Http://www.xx.com/1/2/3/4/5

Well, the framework has been made to do this
Ordinary mind, do not tangle how to do the framework, the development of ideas is the most important,
All roads pass through Rome.
------to solve the idea----------------------
Framework, nothing more than a tool for developing applications

Like a hammer is used to beat the general
If you still need a nail, you should choose the one with the nail.
If you want to build a small iron bowl, you have to pick the ball.
Whichever you choose, the hammering property does not change
Of course, you don't have to use a hammer to pick up a slab of bricks.
  • Related Article

    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.