php framework difference

14

Upload: agriya

Post on 07-Aug-2015

1.186 views

Category:

Software


1 download

TRANSCRIPT

What is PHP frame work"PHP is the world’s most popular scripting language for many different reasons – flexibility, ease-of-use, any language for that matter. PHP frameworks help to promote rapid application development (RAD) that saves you time, build more stable applications, and reduces the amount of repetitive coding for developers. It helps beginners to create more stable apps by ensuring proper database interaction and coding on the presentation layer. The general idea behind the workings of a PHP framework is referred to as Model View Controller (MVC).

Types of PHP frameworkThere are 36 categories of frame work. They are as follows :

1. Aiki Framework2. Apigility3. Ayoola Framework4. CakePHP5. ClanCatsFramework6. CodeIgniter7. Drupal8. Fat-Free Framework9. FuelPHP

10. Hammerkit 11. Hazaar MVC12. Horde (software)13. ImpressPages14. INEK (PHP)15. Jamroom16. Joomla17. Kajona18. Kohana (framework)

19. Laravel20. Lithium (PHP framework)21. Nette Framework22. Novius OS23. Phalcon (framework)24. PHPixie25. PRADO (framework)26. ProcessWire27. Seagull PHP Framework

28. SilverStripe29. Solodev30. Symfony31. TYPO332. TYPO3 Flow33. XOOPS34. Yii35. Zend Framework36. Zikula

Types of PHP frameworkThere are 36 categories of frame work. They are as follows :

Why we choose Laravel and Yii frame work

• It’s the most widely used frame work among techies.

• In various forums and social media groups these

topics are discussed enormously.

• There is a information gap between these two.

Laravel Yii

Similarities between Laravel and Yii

• Both are open source frameworks.

• The duo also follows Model-view-controller (MVC)

architectural pattern.

• They are active, cross-platform frameworks written in PHP.

LaravelYii

• In Yii, HTML helper come in handy. It offers static methods to handle the usually used HTML tags. For Yii framework users, It is from the code, HTML helper generates tags.

• While in Laravel, HTML and PHP backend code development needs to be done manually.

• In terms of performance, it is Laravel that steals the thunder. It has Excellent performance.

• Whereas Yii has lower user-contributed extensions in comparison to Laravel. Performance is lesser when contrasted with Laravel. That said, Yii has commercial extensions that are lesser than Laravel.

Difference between Laravel Vs Yii

Laravel Yii

• However, it is the Laravel that wins hands down on this front.• To a greater scale, extensions in Laravel do not have

documentation; hence will not run out-of-the-box. • Both Laravel developer and Yii developer can easily seek

support from the vast community.• Laravel has activists across the internet, while Yii does have,

but not the extent of Laravel.• The reason being that rather than using single object

properties, the PHP arrays are extensively used.

Difference between Laravel Vs Yii

Laravel Yii

Difference between Laravel Vs Yii

• Code looks simple and easy to understand in Laravel.• Out-of-the-box user authentication is provided in Yii with

ACL/roles. Helper classes execute user authentication very easily.

• In Yii, the users would feel that the Coding looks polluted. • In Laravel too, the configuration is out-of-box. Execution of

authentication is easier in Laravel as well.

Laravel Yii

• In terms of security, Yii is a clear winner• After the removal of filters, Laravel framework has no secure

middleware. • For Yii, with a Yii2 composer install, installed security is

offered. • In Laravel, Route middleware is utilized to enable the

authenticated users alone to access a specific route.

Difference between Laravel Vs Yii

Laravel Yii

• Very simple to install

• Uses cutting-edge technologies - late static binding,

anonymous functions and SPL classes and interfaces

• It is very much extensible

• Largely reduces the development time

Reasons to use Yii 2

Reasons to use Laravel 5

• Simple routing

• Effective ORM

• Easy to integrate with third-party libraries

• Query Builder offers a direct database access

• Bundles offer modular packaging system

CONCLUSION

• What may hold true for a developer of one framework

may not hold true for an other developer.

• Concluding on which is the best framework is

subjective.

• So, both Yii and Laravel and best and popular in their

own right.

Laravel Yii

Who is Agriya?

Agriya is a pioneer in Clone scripts and web development. We have built more than 300 websites. We give end to end solution for building a website, from the designing to coding we take care of it. Our services extend from online business to mobile application business as well. We have developed fantastic products like

Getlancer Platform

Crowdfunding Platform

Etsy Clone

Contest Software Thumbtack Clone Booking and rental software

Groupon Clone Fiverr clone Airbnb Clone

Who is Agriya?