Frame vs Self!! Would you like to ask if the self-written program is running efficiently without frame height?
Frame vs Self!! Would you like to ask if the self-written program is running efficiently without frame height?
I see a lot of people talking about frames, why use frames? Is it just for development speed?
If you exclude the development speed, synergy reasons, that self-written original eco-code running efficiency is no frame high?
Troubled for a long time, do not know whether to use the frame or box? To observe the well-known Chinese CMS There are several mainstream frameworks such as ZD,YII,TP, as if not?
Hope to be able to solve a confusion, (do not tell me that the development speed together good reason)
------Solution--------------------
Operating Speed:
The execution of each statement takes time.
The less code is executed, the faster it gets! This is plain truth.
The frame has its fixed routines, the code volume must be more than the original
Operating efficiency:
For common functions, the framework is more optimized.
If your level is lower than the framework developer, it's hard to say
Scope of application:
The original ecological code suitable for small, demand-changeable occasions
The framework is suitable for applications where volume and demand are relatively constant.
------Solution--------------------
The framework also has an advantage to facilitate post-maintenance! (The rule was determined to be dead)
The original ecological in case programmers go (in fact, many programmers in the domestic code is not very good), maintenance is very troublesome!
------Solution--------------------
Any language is of course less efficient to perform. The role of the framework is simply to layer programs and pages, provide a single entry, provide basic functions and methods, and some common class libraries, but the program functions need to be self-coding implementation. Often, many of the libraries in the framework may not be used or applied at all, and further modifications are needed. The framework just provides a kind of development traversal, and if you get a Fang Ji, you just need to start building the house on that basis.
------Solution--------------------
Self-written, high cost, with other people's framework, can speed up the progress of development, but also bring a certain risk, mainly security issues
------Solution--------------------
Citation:
Self-written, high cost, with other people's framework, can speed up the progress of development, but also bring a certain risk, mainly security issues
Did you write your own native code more secure than others ' frameworks?
------Solution--------------------
If the mainstream framework is not suitable for its own needs, and is doing a small project, then you can write the framework itself, so that you can avoid a lot of unnecessary code, focus on their own project function on the line
------Solution--------------------
Reference:
Quote: Reference:
Self-written, high cost, with other people's framework, can speed up the progress of development, but also bring a certain risk, mainly security issues
Do you write your own native code more secure than others ' frameworks?
The security issue of the framework is mostly because it is open, and attackers can often see the source code. But because there is not enough testing, it may be a bit more vulnerable, but because it is not open to the public, the chances of the vulnerability being found are much smaller. (Note: Except for code written by Dabbler programmers that contain common-sense errors)
------Solution--------------------
。。。。。。。。。。。。。。。。。。 This theme has a long life.