Yii2 by example : develop complete web applications from scratch through practical examples and tips for beginners and more advanced users /: develop complete web applications from scratch through practical examples and tips for beginners and more advanced users. (2015)
- Record Type:
- Book
- Title:
- Yii2 by example : develop complete web applications from scratch through practical examples and tips for beginners and more advanced users /: develop complete web applications from scratch through practical examples and tips for beginners and more advanced users. (2015)
- Main Title:
- Yii2 by example : develop complete web applications from scratch through practical examples and tips for beginners and more advanced users
- Other Titles:
- Develop complete web applications from scratch through practical examples and tips for beginners and more advanced users
- Further Information:
- Note: Fabrizio Caldarelli.
- Authors:
- Caldarelli, Fabrizio
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Starting with Yii2; Requirements and tools; Installing Yii2 with Composer; Application structure; Application properties; Common application components; Handling application events; The MVC pattern in Yii2; Naming convention; Configuring the debug toolbar; Using the logger; Example -- Hello world from scratch with the Yii basic template and bootstrap template; Summary; Chapter 2: Creating a Simple News Reader; Creating Controller and Action Creating a view to display a news listHow the controller sends data to view; Example -- create a controller to display the static news items list and details using the bootstrap template; Splitting the common view content into reusable views; Example -- render partial in view; Creating static pages; Example -- add a contact page; Sharing data between views and layout; Example -- change the layout background based on a URL parameter; Layout with dynamic block; Example -- add a dynamic box to display advertising info; Using multiple layouts Example -- using different layouts to create responsive and nonresponsive content layout for the same viewSummary; Chapter 3: Making Pretty URLs; Using pretty URLs; Custom URL rules; Example -- list news items by year or category; Default parameters in rules; Example -- the index page to display the links list; The complete URL rule parameters; The URL pattern to support theCover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Starting with Yii2; Requirements and tools; Installing Yii2 with Composer; Application structure; Application properties; Common application components; Handling application events; The MVC pattern in Yii2; Naming convention; Configuring the debug toolbar; Using the logger; Example -- Hello world from scratch with the Yii basic template and bootstrap template; Summary; Chapter 2: Creating a Simple News Reader; Creating Controller and Action Creating a view to display a news listHow the controller sends data to view; Example -- create a controller to display the static news items list and details using the bootstrap template; Splitting the common view content into reusable views; Example -- render partial in view; Creating static pages; Example -- add a contact page; Sharing data between views and layout; Example -- change the layout background based on a URL parameter; Layout with dynamic block; Example -- add a dynamic box to display advertising info; Using multiple layouts Example -- using different layouts to create responsive and nonresponsive content layout for the same viewSummary; Chapter 3: Making Pretty URLs; Using pretty URLs; Custom URL rules; Example -- list news items by year or category; Default parameters in rules; Example -- the index page to display the links list; 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; Example -- a Model to store room data; Using ActiveForm; Example -- creating a new room from the HTML form Format date, time, and numbersUploading files; Example -- uploading an image of a room; Summary; Chapter 5: Developing a Reservation System; Configuring a DB connection; Example -- creating rooms, customers, and reservations tables; Example -- test connection and executing the SQL query; Using Gii to create room, customer, and reservation models; Using ActiveRecord to manipulate data; Example -- query rooms list with ActiveRecord; Working with relationships; Example -- using a relationship to connect rooms, reservations, and customers; How to save a model from a form Example -- creating and updating a room from a formSetting up the GMT time zone; Using multiple database connections; Example -- configuring a second DB connection to export data to a local SQLite DB; Summary; Chapter 6: Using a Grid for Data and Relations; Introduction; DataProvider for grids; Using a grid; Custom columns in a grid; Example -- displaying a reservations list by clicking on a customer grid row; Filters in GridView; Displaying and filtering ActiveRecord relational data in a grid's column; A summarized footer row in a grid Example -- extending GridView to customize the footer row in a grid … (more)
- Publisher Details:
- Birmingham, UK : Packt Publishing
- Publication Date:
- 2015
- Extent:
- 1 online resource (1 volume), illustrations
- Subjects:
- 005.365
COMPUTERS -- Software Development & Engineering -- Tools
Web applications -- Development
PHP (Computer program language)
COMPUTERS / Desktop Applications / General
COMPUTERS / Software Development & Engineering / Tools
COMPUTERS -- Web -- Web Programming
Electronic books
Electronic books
Electronic books - Languages:
- English
- ISBNs:
- 9781785283673
1785283677 - Related ISBNs:
- 9781785287411
1785287419 - Notes:
- Note: Description based on online resource; title from cover page (Safari, viewed October 20, 2015).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.88547
- Ingest File:
- 01_065.xml