TrustRadius: an HG Insights company

Yii Framework

Score6 out of 10

10 Reviews and Ratings

What is Yii Framework?

Yii Framework is a free and open source PHP framework.

Categories & Use Cases

Best PHP framework

Pros

  • Yii is fully MVC and object oriented. It implements the patrons really well and helps developers (and company) to stick to a single way to do things.
  • Yii offers a lot of components to build any application fast. Just read documentation and implement it. Also there are many 3rd party projects that you can use for extend Yii functionality.
  • It has a really good documentation where you can find all required information for classes, components, etc. There are multiple examples in the Wiki and if you still need to find more information there's a good community forums where you can find information.
  • Yii it's easy to use because it uses components very known for developers like bootstrap or jQuery. It's easy for any average developer to learn how to use Yii and start working with it.
  • Yii lets you build small CRUD applications instantly, Web or REST API CRUD applications can be done in a single click
  • Database migration process is really simple to use, fast and let us implement database changes really quick without any worries.

Cons

  • Maybe support to update their main components like jQuery or Boostrap. It's too attached with the included versions.
  • Their view template engine is simple, doesn't offer support for better options like competition.
  • Wiki can include more tutorials for common examples or problems.

Return on Investment

  • Initial learning was hard, it has very specific tools and requires a basic knowledge that takes time to learn. But after that it's really fast and easy to do apps.
  • When it changed to version 2, servers had to be be upgraded due to the new requirements. Also it required to learn many things that were not backwards compatible.
  • It saves time by help us to create great applications in less time but very powerfuls.

Alternatives Considered

Laravel PHP Framework and CodeIgniter

Other Software Used

Laravel PHP Framework

Usability

Working with Yii Framework

Pros

  • Generating forms and integrates bootstrap
  • Provides great CRUD functionality with active record
  • Provides lots of useful HTML helper widgets for UI enhancement
  • Provides good access control (RBAC)

Cons

  • There should be more flexibility to extend or add capability for theming
  • Provide in-build REST API integration tool rather than using 3rd party
  • More hands on documentation around consuming REST API and access control

Return on Investment

  • Overall Yii has speed up our development and help to cut down on development cost.
  • On the other hand, the bloated vendor library does cause space issues when we have high volume of applications on our servers.

Alternatives Considered

Zend Framework

Other Software Used

JIRA Software