Core PHP Vs PHP Frameworks
17/04/2019 . 1 minute, 3 seconds to read . Posted by Admin#php #learnphp #phpframework
Difference between Core PHP Vs PHP Frameworks
To compare any development approach we need to discuss the most important points of the development process for each approach. The support of each approach to these points will finally give us the best approach to use for our development.
Here is a list of the most important points which should be supported by a good development approach.
- Security
- Speed
- Customizable
- Standard
- Fast Development
- Separation Of Concerns
- Light Weight
The following table compares all these features for both approaches.
Feature | Core PHP | PHP Frameworks |
---|---|---|
Application Security | Need to implement our self | Automatically implemented |
Speed | Faster | Less fast then core |
Customizable | Fully Customizable | Need to follow the structure so less customizable |
Standard | The is no standard app structure | Have a standard app structure |
Fast Development | Slow development | Fast development because some features are builtin |
Separation Of Concerns | No MVC approach | Most of the frameworks follow MVC structure |
Light Weight | More lightweight because there will be no extra code | Heavyweight then core PHP |
Conclusion:
The conclusion of the above comparison is we should use PHP frameworks for our app because those are developed by market professionals to ease normal programmer work. Otherwise, we need to implement each feature ourself in core PHP.