- Index 更新時間:2021-07-16 19:39:13
- Summary
- Generating an API documentation
- Creating modules
- Creating components
- Creating widgets
- Chapter 13. Final Refactoring
- Summary
- Implementing and executing cron jobs
- Formatting the output from the console
- Creating a console controller
- Interacting with console applications
- Chapter 12. Create a Console Application to Automate the Periodic Task
- Summary
- Other forms of export – RSS
- Customizing authentication and response
- New controller action
- Authentication
- Creating a controller
- Configuring a REST app in the advanced template
- Chapter 11. Creating an API for Use in a Mobile App
- Summary
- DB-based translations
- Placeholders formatting
- File-based translations
- Setting the default language
- Chapter 10. Localize the App
- Summary
- How to use the advanced template in the shared hosting
- Customizing a URL in the advanced template
- Sharing ActiveRecord models among applications
- Configuring an application using init
- Using an advanced template to split frontend and backend
- Chapter 9. Frontend to Display Rooms to Everyone
- Summary
- Mixing ACF and RBAC
- Configuring user authorization
- Creating a user login
- Chapter 8. Log in to the App
- Summary
- Saving linked models in the same view
- Multiple models in the same view
- Using the Bootstrap widget
- Using AJAX
- Customize JavaScript and CSS
- Using Gii to generate CRUD
- Chapter 7. Working on the User Interface
- Summary
- Multiple grids on one page
- A summarized footer row in a grid
- Displaying and filtering ActiveRecord relational data in a grid's column
- Filters in GridView
- Custom columns in a grid
- Using a grid
- DataProvider for grids
- Introduction
- Chapter 6. Using a Grid for Data and Relations
- Summary
- Using multiple database connections
- Setting up the GMT time zone
- How to save a model from a form
- Working with relationships
- Using ActiveRecord to manipulate data
- Using Gii to create room customer and reservation models
- Configuring a DB connection
- Chapter 5. Developing a Reservation System
- Summary
- Uploading files
- Format date time and numbers
- Using ActiveForm
- Creating a Model
- Chapter 4. Creating a Room through Forms
- Summary
- Creating the rule class
- The URL pattern to support the multilanguage view
- The complete URL rule parameters
- Default parameters in rules
- Custom URL rules
- Using pretty URLs
- Chapter 3. Making Pretty URLs
- Summary
- Using multiple layouts
- Layout with dynamic block
- Sharing data between views and layout
- Creating static pages
- Splitting the common view content into reusable views
- How the controller sends data to view
- Creating a view to display a news list
- Creating Controller and Action
- Chapter 2. Creating a Simple News Reader
- Summary
- Naming convention
- Application properties
- Application structure
- Installing Yii2 with Composer
- Requirements and tools
- Chapter 1. Starting with Yii2
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Support files eBooks discount offers and more
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- Yii2 By Example
- coverpage
- coverpage
- Yii2 By Example
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Starting with Yii2
- Requirements and tools
- Installing Yii2 with Composer
- Application structure
- Application properties
- Naming convention
- Summary
- Chapter 2. Creating a Simple News Reader
- Creating Controller and Action
- Creating a view to display a news list
- How the controller sends data to view
- Splitting the common view content into reusable views
- Creating static pages
- Sharing data between views and layout
- Layout with dynamic block
- Using multiple layouts
- Summary
- Chapter 3. Making Pretty URLs
- Using pretty URLs
- Custom URL rules
- Default parameters in rules
- The complete URL rule parameters
- The URL pattern to support the multilanguage view
- Creating the rule class
- Summary
- Chapter 4. Creating a Room through Forms
- Creating a Model
- Using ActiveForm
- Format date time and numbers
- Uploading files
- Summary
- Chapter 5. Developing a Reservation System
- Configuring a DB connection
- Using Gii to create room customer and reservation models
- Using ActiveRecord to manipulate data
- Working with relationships
- How to save a model from a form
- Setting up the GMT time zone
- Using multiple database connections
- Summary
- Chapter 6. Using a Grid for Data and Relations
- Introduction
- DataProvider for grids
- Using a grid
- Custom columns in a grid
- Filters in GridView
- Displaying and filtering ActiveRecord relational data in a grid's column
- A summarized footer row in a grid
- Multiple grids on one page
- Summary
- Chapter 7. Working on the User Interface
- Using Gii to generate CRUD
- Customize JavaScript and CSS
- Using AJAX
- Using the Bootstrap widget
- Multiple models in the same view
- Saving linked models in the same view
- Summary
- Chapter 8. Log in to the App
- Creating a user login
- Configuring user authorization
- Mixing ACF and RBAC
- Summary
- Chapter 9. Frontend to Display Rooms to Everyone
- Using an advanced template to split frontend and backend
- Configuring an application using init
- Sharing ActiveRecord models among applications
- Customizing a URL in the advanced template
- How to use the advanced template in the shared hosting
- Summary
- Chapter 10. Localize the App
- Setting the default language
- File-based translations
- Placeholders formatting
- DB-based translations
- Summary
- Chapter 11. Creating an API for Use in a Mobile App
- Configuring a REST app in the advanced template
- Creating a controller
- Authentication
- New controller action
- Customizing authentication and response
- Other forms of export – RSS
- Summary
- Chapter 12. Create a Console Application to Automate the Periodic Task
- Interacting with console applications
- Creating a console controller
- Formatting the output from the console
- Implementing and executing cron jobs
- Summary
- Chapter 13. Final Refactoring
- Creating widgets
- Creating components
- Creating modules
- Generating an API documentation
- Summary
- Index 更新時間:2021-07-16 19:39:13