Chapter 7. Working on the User Interface

In this chapter, you will discover how powerful Gii is as a tool. It provides support for CRUD actions, as well as creating a controller and its respective views.

We will cover the following topics related to the user interface in this chapter:

  • Using Gii to generate create, read, update, and delete (CRUD) actions:
    • For example – using CRUD to manage rooms, reservations, and customers using Gii
  • Customizing JavaScript and CSS:
    • For example – using JavaScript and CSS to display advertising columns that disappear if there is not enough space available
  • Using AJAX:
    • For example: reservation details loaded from customers' drop-down lists
  • Using the Bootstrap widget:
    • For example – using datepicker
  • Viewing multiple models in ...

Get Yii2 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.