Professional Documents
Culture Documents
PHP Framework
PHP Framework
FRAMEWO
RK
Tulip Resources Sdn Bhd
WHAT IS A PHP
FRAMEWORK?
is a platform to create PHP web applications.
good reasons for using PHP frameworks:-
1. Faster development
2. Less code to write
3. Follow good coding practices
4. Secure
5. Better teamwork
PHP ARCHITECTURE
1. Model stores the business logic and application data.
2. passes data to the View, the presentation layer.
3. The User interacts with the View and can input instructions via
the Controller.
4. Controller gives these commands to the Model, and the cycle
continues.
BEST PHP FRAMEWORKS IN 2023?
1. Laravel
2. Symfony
3. Yii
Laravel is billed as “The PHP Framework for Web Artisans.” It was developed by Taylor
Otwell, who wanted a framework with elements that CodeIgniter didn’t have, such as user
authentication.
Technical requirements:-
Quick and simple Secure Better website Really Flexible Easy third-party Simply website
performance integfrations maintenance
DIFFERENCE BETWEEN YII VS
LARAVEL
COMPARISON YII LARAVEL
Perfomance Fastest in term of performance for web development. Slower as compared to Yii.
Routing Offers automatic default routing. No need to declare a Must declare a route for each action in the controller.
route for every action in controller.
Migration Offers a full-fledged tool for effective data migrations. Offers a seeder to migrate critical data smoothly.
Debugging Offers an integrated debugging console to handle tasks Offers comprehensive debugging role and available with a
such as database requests. stack of callbacks.
Development Time Among both framework, Yii is a better choice for If you are planning to develop a web app with custom
developing content websites with fever or more admin functionality, choose Laravel. As it takes less time to
panels and data manipulations. develop custom functionality. This framework offers
numerous packages to extend its functionality.