Gerson Stick Barrera Delgado William Schnaider Torres Bermon
Yii is a PHP framework for developing web applications. It uses the Model-View-Controller architecture and focuses on high performance. Yii 2.0 requires PHP 5.4 or higher and uses Composer for installation and managing dependencies. Learning Yii requires basic PHP and object-oriented programming knowledge as well as understanding Composer and the command line.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
82 views10 pages
Gerson Stick Barrera Delgado William Schnaider Torres Bermon
Yii is a PHP framework for developing web applications. It uses the Model-View-Controller architecture and focuses on high performance. Yii 2.0 requires PHP 5.4 or higher and uses Composer for installation and managing dependencies. Learning Yii requires basic PHP and object-oriented programming knowledge as well as understanding Composer and the command line.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10
Gerson Stick Barrera Delgado
William Schnaider Torres Bermon
Subject: Database Management System Semester: 8th
Pro – Media 2.0
What is a Framework? A framework is not any software or tool that is executed and offers us a graphical interface from which we work, but it is a set of files and directories that facilitate the creation of applications, which incorporate functionalities developed and proven, implemented in a programming language.
Pro – Media 2.0
Advantages of using a Framework Use of Desing Patterns
Predefined structure of the application
Highly tested code
Users community
Team work
Pro – Media 2.0
What is Yii? What is Yii for? Yii is a high performance, component- Yii can be used for developing all kinds based PHP framework for rapidly of Web applications using PHP. developing modern Web applications. Its component-based architecture and sophisticated caching support, it is especially suitable for developing large- scale applications such as: ▪ Portals ▪ Content management systems (CMS) ▪ E-commerce projects ▪ RESTful Web services Pro – Media 2.0 How does Yii Compare with Other Frameworks?
Yii implements the MVC (Model-View-Controller) architectural pattern
Yii takes the philosophy that code should be written in a simple yet elegant way.
Yii is a full-stack framework providing many proven and ready-to-use features
Yii is extremely extensible
High performance is always a primary goal of Yii.
Pro – Media 2.0
Yii Versions Yii currently has two major versions available: 1.1 and 2.0.
✓Version 1.1 is the old generation and is now in maintenance mode.
✓Version 2.0 is a complete rewrite of Yii, adopting the latest technologies and protocols, including Composer, namespaces, traits, and so forth.
Pro – Media 2.0
Requirements and Prerequisites Yii 2.0 requires PHP 5.4.0 or above and runs best with the latest version of PHP 7.
What do you need to know
Yii learning curve is not as steep as other PHP frameworks. ✓ Make sure you read and understand PHP language reference. ✓ Basic understanding of object oriented programming is required. ✓ Command line and Dependency Manager Composer
Pro – Media 2.0
Installing Yii You can install Yii in two ways, using the Composer package manager or by downloading an archive file. The former is the preferred way, as it allows you to install new extensions or update Yii by simply running a single command.