封面
版权页
Credits
About the Author
About the Reviewer
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. Composer Configuration Classes and Path Aliases
Composer
Configuration
Components and objects
Path aliases
Summary
Chapter 2. Console Commands and Applications
Configuration and usage
Built-in console commands
Creating console commands
Summary
Chapter 3. Migrations DAO and Query Building
Connecting to databases
Writing database migrations
Database access objects
Query Builder
Data providers and data widgets
Data replication and load balancing
Summary
Chapter 4. Active Record Models and Forms
Configuring Gii
Active Record
Models
Forms
Summary
Chapter 5. Modules Widgets and Helpers
Modules
Widgets
Helpers
Summary
Chapter 6. Asset Management
Asset bundles
Third-party asset tools
Summary
Chapter 7. Authenticating and Authorizing Users
Authentication of users
Authorization
Flash messages
Hashing and encryption
Summary
Chapter 8. Routing Responses and Events
Routing
Requests
Responses
Events
Summary
Chapter 9. RESTful APIs
ActiveController
Authentication filters
Verb filters
Cross-origin resource headers
Rate Limiting
Error handling
Custom API controllers
Summary
Chapter 10. Testing with Codeception
Reasons for testing
Configuring Codeception with Yii2
Unit testing
Functional testing
Acceptance testing
Fixtures
Automatic change testing
Summary
Chapter 11. Internationalization and Localization
Configuring Yii2 and PHP
The application language
Message translations
Viewing file translations
Module translations
Widget translations
Summary
Chapter 12. Performance and Security
Caching
General performance enhancements
Security considerations
Summary
Chapter 13. Debugging and Deploying
Debugging
Deploying
Summary
Index
更新时间:2021-07-23 14:30:50