Books on Yii2
Good day reader. This question arose when studying the first version of Yii (when I read the documentation, but there are still moments that are not clear to me).
Under the cut, I offer a mini review of the list of books that I have found to date, in addition to official documentation.
The first book will probably be “Web Application Development with Yii 2 and PHP”, the authors of which are Mark Safronov and Jeffrey Winesett. The book consists of 377 pages.
Under the spoiler content (many pictures):
The next book will be Yii 2 For Beginners “A step by step guide to learning Yii 2 for beginners”, authored by Bill Keck.
The book consists of 412 pages and describes topics such as:
I hope from a beginner who is only trying to understand Yii2, to a developer, he will find something useful in these books.
Under the cut, I offer a mini review of the list of books that I have found to date, in addition to official documentation.
The first book will probably be “Web Application Development with Yii 2 and PHP”, the authors of which are Mark Safronov and Jeffrey Winesett. The book consists of 377 pages.
Under the spoiler content (many pictures):
content
The next book will be Yii 2 For Beginners “A step by step guide to learning Yii 2 for beginners”, authored by Bill Keck.
The book consists of 412 pages and describes topics such as:
content (text)
Chapter One: Introduction
Chapter Two: Yii 2 Advanced Template Installation
Chapter Three: Welcome to the MVC
Chapter Four: Modifying the User Model
Chapter Five: Creating New Models with Gii
Chapter Six: Helpers
Chapter Seven: Site Controller
Chapter Eight: Profile Crud
Chapter Nine: Upgrade and Access Control
Chapter Ten: Homepage Social Widgets
Chapter Eleven: Backend Creation
Chapter Twelve: Bonus Material
- Introduction
- Features
- What Makes The Yii 2 Framework Special?
- Upsides
- Downsides
- Why I chose Yii 2
- Other options
- Yii 2 arrives
- Gii
- DB-First Approach
- Mysql
- Improved Workflow
- Minimum PHP Skills
- Tools You Will Need
- Errata
- Contact Bill Keck
- Summary
Chapter Two: Yii 2 Advanced Template Installation
- Quick Setup of Yii2 Advanced Template
- Step 1 - Create Folder
- Step 2 - Apache Conf
- Step 3 - Local Host
- Step 4 - Restart Apache
- Step 5 - Create Project in IDE
- Step 6 - Find Command Line Path
- Step 7 - Composer Self-Update
- Step 8 - Install Yii 2
- Step 9 - Check For Yii 2 Folder
- Step 10 - Run Php Init
- Step 11 - Create The Database
- Step 12 - Set DB Connection
- Step 13 - Run Migration
- Step 14 - Create Git Repository
- Step 15 - Confirm App Is Working
- Trouble-shooting
- Summary
Chapter Three: Welcome to the MVC
- MVC Pattern
- Index.php
- The Application Instance
- Routing
- Using Gii
- Bootstrap
- Debugger
- Summary
Chapter Four: Modifying the User Model
- Role and Status
- The User Model
- Properties of the Model
- Constants
- Identity Interface
- Behaviors
- Rules
- Identity Methods
- Boilerplate Methods
- Other Models Accessing User
- SignupForm Model
- Summary
Chapter Five: Creating New Models with Gii
- Creating Tables
- Role Table
- Status Table
- User Type Table
- Gender Table
- Profile Table
- Synchronize
- Configuring Gii
- Making Models with Gii
- Create Role Model
- Add Records To Role Table
- Add Relationship To Role
- Update User Model with Role
- Create Status Model
- Update User Model with getStatus
- Add Records to Status Table
- Create UserType Model
- Update User Model with UserType
- Add Records to user_type Table
- Create Gender Model
- Add Records to gender Table
- Create Profile Model
- The Complete Profile Model
- Update User Model with Profile
- Finish Up User Model
- The Complete User Model
- Summary
Chapter Six: Helpers
- Value Helpers
- Permission Helpers
- Record Helpers
- Summary
Chapter Seven: Site Controller
- Behaviors
- Actions
- Index Action
- Login Action
- Login Form Model
- Logout Action
- Contact Action
- Contact Form Model
- Captcha
- Contact View Form
- About Action
- Signup Action
- Signup Form Model
- ResetPasswordForm Model
- Backend Site Controller
- Beginning Access Control
- loginAdmin Method
- Summary
Chapter Eight: Profile Crud
- CRUD
- Profile Controller
- Profile Search
- _search
- _form
- Index
- View
- Create
- Update
- Modifying Profile Controller & Views
- Modifying the Profile Controller
- Index Action
- View Action
- Create Action
- Update Action
- Delete Action
- FindModel Action
- Modifying the Profile Views
- View.php
- Gender
- Form Partial
- Create
- Update
- Site Layout
- Profile Link
- DatePicker
- Summary
Chapter Nine: Upgrade and Access Control
- Upgrade Controller
- Upgrade View
- Require Upgrade To
- Access Control
- Passing A Variable From the Controller
- Summary
Chapter Ten: Homepage Social Widgets
- Implementing Homepage Social Widgets
- Index
- Facebook Widget
- Facebook App Setup
- Facebook Configuration
- Extensions
- HTML Helper
- Collapse Widget
- Modal Widget
- Alert Widget
- Font-Awesome
- Asset Bundle
- Add Font-Awesome to Layout
- Summary
Chapter Eleven: Backend Creation
- Main.php
- Updating Backend Views
- backend/views/profile/_form.php
- backend/views/profile/view.php
- backend/views/user/view.php
- backend/views/user/_form
- Deeper Changes to Backend
- backend/views/user/index.php
- backend/views/profile/index.php
- backend/views/profile/_search.php
- backend/views/user/_search.php
- User Search
- Admin UI
- Controller Behaviors
- Match Callback
- Summary
- About The Author
Chapter Twelve: Bonus Material
- AutoResponder
- Dropdown Navigation
- FAQ
- Test Controller
- Components
- Creating a Custom Widget
- Closing A Potential Hole
- CDN
- Summary
I hope from a beginner who is only trying to understand Yii2, to a developer, he will find something useful in these books.