Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 6

PHP

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:-

1. PHP >= 7.2.5 (or use Laravel Homestead)


2. Composer installed
3. Database support for MySQL 5.6+, PostgreSQL 9.4+, SQLite 3.8.8+, SQL Server 2017+.
ADVANTAGES USING
LARAVEL

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.

You might also like