Mastering Yii : advance your modern web application development skills with Yii Framework 2 /
Annotation
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2016.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Composer, Configuration, Classes, and Path Aliases ; Composer; Configuration; Requirements checker; Entry scripts; Web entry script; Configuration files; Web and console configuration files; Database configuration; Parameter configuration; Environment configuration; Setting up our application environment; Setting the web environment for NGINX; Setting the web environment for Apache; Components and objects; Components; Objects; Path aliases; Summary
- Chapter 2: Console Commands and Applications Configuration and usage; Entry script; Configuration; Setting the console environment; Running console commands; Built-in console commands; The help command; The asset command; The cache command; The fixture command; The Gii command; The message command; The migration command; Creating console commands; Generating help information; Passing command-line arguments; Exit codes; Formatting; Summary; Chapter 3: Migrations, DAO, and Query Building ; Connecting to databases; Additional configuration options; Writing database migrations
- An overview of schemaWriting migrations; Running migrations; Altering a database schema; Database access objects; Querying for data; Quoting table and column names; Executing queries; Parameter binding; Transactions; Query Builder; Query construction methods; The select method; The from method; The where method; Ordering results; Limiting and offsetting data; Grouping and having; Joins and unions; Executing queries; Examining queries; Iterating over query results; Data providers and data widgets; Data replication and load balancing; Summary; Chapter 4: Active Record, Models, and Forms
- Configuring GiiGii for web applications; Gii for console applications; Active Record; The Active Record pattern; Creating Active Record classes; Creating active record classes with Gii; Working with Active Record; Model validation rules; Adding custom validators; Customizing validator error messages; Working with validation errors; Manually executing validation rules; Model attribute labels; Active Record relationships; Using multiple database connections with Active Record; Behaviors in Active Record; Working with Active Record; Querying data; Saving data; Deleting data; Active Record events
- ModelsModel attributes; Scenarios; Forms; Generating forms with Gii; Generating forms with Gii's web interface; Generating forms with Gii's console interface; Using forms; ActiveForm and input types; Summary; Chapter 5: Modules, Widgets, and Helpers ; Modules; Module components; The module class structure; Controllers; Views and layouts; Registering modules; Accessing modules; Managing modules with Composer; Modules in summary; Widgets; Using widgets; Commonly used built-in widgets; Bootstrap widgets; jQuery UI widgets; Yii-specific widgets; Creating custom widgets; A summary of widgets