It feels like almost every language has a framework that is shared by most people.
JS has Juery
Ruby has Rails
Python has Django
C # has. Net
Java has struts
What about PHP? Zend? Always feel too heavy. The light-colored frame has a variety of flowers.
is PHP itself good enough, or is it that its various frameworks mimic other languages?
My own back-end experience is not rich, said the biased also look.
Reply content:
It feels like almost every language has a framework that is shared by most people.
JS has Juery
Ruby has Rails
Python has Django
C # has. Net
Java has struts
What about PHP? Zend? Always feel too heavy. The light-colored frame has a variety of flowers.
is PHP itself good enough, or is it that its various frameworks mimic other languages?
My own back-end experience is not rich, said the biased also look.
The main reason is that PHP threshold is too low, too suitable for web development, other language framework, such as rails, even get post data acquisition needs to be implemented by itself. Other languages to achieve their own framework, the cost is too high, so hard to get one, such as rails, everyone uses.
PHP to make their own framework is too easy, Phpchina above the frame, is a personal understanding of the MVC truth can be copied one, in fact, all the same, but because all of their own tinker, each have their own ideas, so maybe some places a little innovation, but most of the quality is not guaranteed, This makes the PHP framework too much and the majority of small frameworks are not robust. Of course, there are a lot of people involved in the framework such as Zend Framework2, Symfony2, and so on, all aspects have very good consideration and treatment, or very good.
In addition, what do you mean ZF is too heavy, a lot of people say that ZF or SF heavy, I think it is ridiculous, heavy in what place because of his library file is relatively large? In fact, their design is component-like, if there are some functions in the framework, such as Amazon services do not use you do not have to, directly delete can
Actually, I don't think jquery is eminence. There are also many lightweight frameworks in the ~~~js circle that are widely used
It is difficult to say that the characteristics of php,php's quick and dirty determine that someone is eminence. PHP for the Internet, the business form of the Internet is strange, all difficult to have a technical model to adapt to so many business forms, there is no unified framework. In addition, looking at so many PHP framework (regardless of size, seems to have played PHP, did not make a framework of their own, are embarrassed to greet people), is really different, there are one or two features that others do not have, which also determines the PHP framework can blossom.
There is also a very important reason, is to write PHP, you do not use the framework, can still be high efficiency, high performance! Many people in the circle are more resistant to the use of frames, since doing a separate project, when the project is not large enough to a certain extent, uses the framework to reduce efficiency and performance.
. NET is not a framework, it's a platform.
PHP does not have a framework called thinkphp, it feels like Java Strut2, the introduction is simple
You try the CI framework, easy to get started, I'm learning ~
Because PHP does not need the framework to get the post parameters to get the Get parameter read the cookie can be returned to the user echo string, for Web development This is enough, there is no framework does not matter.
What about other languages? No framework can do anything to respond to HTTP requests.
Like the martial arts, who will use the sword, but there is no recognized entry necessary or the best sword, everyone has their own set. (Pulling away ...)