2. Index
1) Basic Information on PHP
2) What is MVC ?
3) What is YII ?
4) Yii Installation and system
requirement.
5) Yii folder structure ?
6) Yii First application create.
7) Yii Hello world form
3. • What is PHP?
PHP (recursive acronym for PHP: Hypertext
Preprocessor) is a widely-used open source
general-purpose scripting language that is
especially suited for web development and can be
embedded into HTML.
1.PHP is an acronym for "PHP Hypertext
Preprocessor"
2.PHP is a widely-used, open source scripting
language
4. • What is MVC ?
- MVC, or Model-View-Controller is a
software architecture, or design pattern,
that is used in software engineering, whose
fundamental principle is based on the idea
that the logic of an application should be
separated from its presentation.
A simple way to think of this would be to consider the following:
1. A user interacts with the view - by clicking on a link or submitting a form.
2. The Controller handles the user input, and transfers the information to the model
3. The Model receives the information and updates it's state (adds data to a
database, for example, or calculates todays date)
4. The View checks the state of the Model and responds accordingly (listing the
newly entered data, maybe)
5. The View waits for another interaction from the user.
5.
6. • What is Yii ?
Yii is a high-performance, component-based PHP framework for developing large-
scale Web applications rapidly. It enables maximum reusability in Web
programming and can significantly accelerate your Web application development
process.
1) Requirements
To run a Yii-powered Web application, you need a Web server that supports PHP
5.1.0. For developers who want to use Yii, understanding object-oriented
programming (OOP) is very helpful, because Yii is a pure OOP framework.