2. معرفیدورهآموزشیتخصصیبسترنرمافزاریYii.2
کد:دورهAPA 112–زمستان9314
http://cert.um.ac.ir
صفحه2از4
:دوره مخاطبانبرنامهتوسعه و نویسانبرنامه دهندگانوب تحت کاربردی های
پیش:دوره نیازهایبا آشناییبرنامهزبان به وب تحت نویسیPHP
روشثبت:نامبهوب طریق از و الکترونیکی صورتآزمایشگاه گاهمشهد فردوسی دانشگاه آپا تخصصینشانی به
http://cert.um.ac.irمی انجام.گیرد
:دوره سرفصل
Course Syllabus(Yii 2 framework)
sessions Topic
1
Introduction to the Yii Framework
Features of Yii
Model View Controller (MVC) design pattern
Data Base Access Objects (DAO)
Form input and validation
Authentication and authorization
Internationalization (I18N) and localization (L10N)
Web services
Layered caching scheme
Error handling and logging
Security
Automatic code generation
Friendly with third party code
Detailed documentation
Object relational mapping and Active Record
Recommended software
Yii 1.0 VS Yii 2.0
Yii 2 Basic Project Template
Yii 2.0 Application Structure
Folders Structure
Objects
Application Properties
Application Configurations
Application Lifecycle
Yii 2.0 Naming convention
2,3,4
Scenario 1 : " Creating Simple MVC Application “
Best MVC Practices
Scenario 2: " Introducing The Sample Application “
3. معرفیدورهآموزشیتخصصیبسترنرمافزاریYii.2
کد:دورهAPA 112–زمستان9314
http://cert.um.ac.ir
صفحه3از4
Getting Started
Yii Framework Installation
o Installing via Composer
o Other Installation Options
Creating a new application
Yii Handling Requests
Scenario 3: " Building Components with Gii “
Creating the Initial Sample Application
Creating a new Yii web Sample application
Creating a new MySQL database
Configuring the new web application to connect to the newly created
Introduce Gii
Configuring Gii
Using Gii to create our Sample Application AR class
database
Adding a db connection as an application component
Scenario 3: " Making a custom asset bundle “
The Render
Anatomy of Yii rendering
The Yii application components
The asset bundles
Making a custom asset bundle for our application
Theme & I18n selecting application language
5
Scenario : " Customizations Models “
Introduce important classes
Development Workflow
Working with Models
The Model Classes
Establishing Rules
Changing Labels
Watching for Model Events
Relating Models
6
Scenario : " Introducing Trackstar “
Creating user stories
Navigation and page flow
Defining a data scheme
Project & User CRUD
Adding tasks
Creating the Active Record model classes
Creating the Crud
Adding the types drop-down menu for issue
Working with Models
Event Handling in Yii
7 Scenario : " The introduction Features of DetailView & GridView “
The introduction of modules associated with DetailView & GridView
4. معرفیدورهآموزشیتخصصیبسترنرمافزاریYii.2
کد:دورهAPA 112–زمستان9314
http://cert.um.ac.ir
صفحه4از4
8
Scenario : " Pjax on ActiveForm and GridView “
Designing the schema
Defining some relationships
Building the database and the relationships
Creating the Issue CRUD operations
Using the Issue CRUD operation
Creating a new Issue
Adding the types drop-down menu
The introduction of Active Form
The introduction of Pjax
9
Scenario: " Return back to the owner and requester .
Relational Active Record
Declaring Relationship
Performing Relational Query
Performing Relational query without getting related models
Relational Query Options
Disambiguating Column Names
Dynamic Relational Query Options
Relational Query Performance
Statistical Query
10 Scenario : “User Management”
Authenticating users using the database
11 Scenario : “Authorization”
Access Control filter
Role-based access control
Configuring the authorization manager
Creating the RBAC database tables
Creating the RBAC authorization hierarchy
Writing a console application command
Assigning users to roles
Adding RBAC roles to projects
Implementing the new Project AR methods
12 Scenario : “Adding Modules”
Introduce Common Modules
13 Scenario : “file Upload In yii”
The introduction of modules associated with File Uploads