Cargando…

Yii project blueprints : from conception to production, learn how to develop real-world applications with the Yii framework /

This book is for intermediate-to-advanced level Yii developers who want to master the Yii framework and develop real-world applications. You should have experience of working with Yii, PHP 5, HTML, CSS, and JavaScript.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Portwood, Charles R., II
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing, 2014.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: A Task Management Application; Describing the project; Tasks; Projects; Users; The database; The tasks table; The projects table; Users; Choosing a database technology; The tasks table; The projects table; The database overview; Initializing the project; Creating the database with migrations; Creating models with Gii; Enhancing the models; Updating the default validation rules; Defined relations; Removing tasks when a project is deleted; Retrieving project metadata
  • Automatically setting the created and updated timeCreating the presentation layer; Managing projects; Creating the layout; Creating the project index action; Changing a project''s completion state; Deleting projects; Creating and updating projects; Viewing tasks; Managing tasks; Preventing unauthorized access to our application; Requiring authentication with filters and access rules; Creating a controller for authentication; Creating a login layout; Create a login view; Identifying our users with the UserIdentity CUserIdentity class; Creating the login model; Finishing touches; Disabling Gii
  • Defining a default routeAdding extra routes; Summary; Chapter 2: Discovering What''s Nearby; Describing the project; Searching nearby locations; Showing locations; Storing locations; Importing locations; Designing the database; Locations; Initializing the project; Creating the configuration file; Retrieving the sample data; Creating the database; Creating the locations model; Importing the data feed; Google APIs; Enabling Google APIs; Generating an API key; Storing the API key; Creating the presentation layer; Interacting with the Google Maps JavaScript API; Searching nearby locations
  • Selecting a locationShowing locations on a map; Optimizing performance with caching; Summary; Chapter 3: Scheduled Reminders; Prerequisites; Describing the project; Users; Events; Reminders; Task runner; Initializing the project; Create a MySQL user and database; Creating a Yii configuration file; Creating a parameters configuration file; Adding Composer dependencies; Creating the database; The users migration; The reminders and events migration; Creating models; Model behaviors; The Users model; Bcrypt password hashing; The Reminders model; The Events model
  • Searching for events and displaying themCustom routing for dates; Creating the controller for events; Creating the reminders controller; Creating the layout; Creating the main view; Creating the item view; Creating the event list view; Creating and saving events; Creating the controller to manage users; Creating users; Deleting users; Changing the user''s password; Authenticating with Bcrypt; Requiring authentication; Sending e-mail reminders; Summary; Chapter 4: Developing an Issue-tracking Application; Prerequisites; Describing the project; Users; Roles; Issues; Statuses; Updates