1.

Record Nr.

UNINA9910462727403321

Autore

Winesett Jeffrey

Titolo

Web application development with Yii and PHP [[electronic resource] ] : learn the Yii application development framework by taking a step-by-step approach to building a web-based project task tracking system from conception through production deployment / / Jeffrey Winesett

Pubbl/distr/stampa

Birmingham, UK, : Packt Pub., 2012

ISBN

1-283-96094-X

1-84951-873-4

Edizione

[2nd ed.]

Descrizione fisica

1 online resource (332 p.)

Collana

Community experience distilled

Disciplina

005.13

005.133

Soggetti

Web applications

Application software

Electronic books.

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Meet Yii; Easy; Efficient; Extensible; MVC architecture; Model; View; Controller; Stitching these together: Yii request routing; Blog posting example; Object-relational mapping and Active Record; Active Record; The view and controller; Summary; Chapter 2:Getting Started; Installing Yii; Installing a database; Creating a new application; ""Hello, World!""; Creating the controller; Configuring Gii; One final step; Reviewing our request routing; Adding dynamic content

Adding the date and time A different approach for adding the date and time; Moving the data creation to the controller; Have you been paying attention?; Linking pages together; Linking to a new page; Getting a little help from Yii CHtml; Summary; Chapter 3:The TrackStar Application; Introducing TrackStar; Creating user stories; Users; Projects; Issues; Navigation and page flow; Data relationships; Creating the new application; Connecting to the database; Yii and databases; Testing the database connection; Using the interactive shell; Automated



testing - unit and functional tests

Unit and functional testing Benefits of testing; Testing in Yii; Unit tests; Installing PHPUnit; Testing the connection; Summary; Chapter 4:Project CRUD; Feature planning; Creating the project table; Yii database migrations; Naming conventions; Creating the AR model class; Configuring Gii; Using Gii to create our Project AR class; Enabling CRUD operations for projects; Creating CRUD scaffolding for projects; Creating a new project; Form field validation; Reading the project; Updating and deleting projects; Managing projects in Admin mode; Summary; Chapter 5:Managing Issues; Feature planning

Designing the schema Defining some relationships; Building objects and their relationships; Creating active record model classes; Creating the Issue model class; Creating the User model class; Creating the issue CRUD operations; Using the issue CRUD operations; Creating a new issue; Adding drop-down fields; Adding the issue type drop-down; Adding the status dropdown: do it yourself; Fixing the owner and requester fields; Enforcing a project context; Defining filters; Adding a filter; Specifying the filtered actions; Adding filter logic; Adding the project ID; Altering the project details page

Returning back to the owner and requester dropdowns Generating the data to populate the dropdowns; Making one last change; The rest of the CRUD; Listing the issues; Altering the project controller; Altering the project view file; Final tweaks; Getting the status and type text to display; Adding the text display to the form; Changing the issue detail view; Displaying owner and requester names; Using relational AR; Making some final navigation tweaks; Summary; Chapter 6:User Management and Authentication; Feature planning; User CRUD; Updating our common audit history columns; Component behavior

Adding a password confirmation field

Sommario/riassunto

This is a step-by-step tutorial for developing web applications using Yii. This book follows the test-first, incremental, and iterative approach to software development while developing a project task management application. If you are a PHP programmer with knowledge of object oriented programming and want to rapidly develop modern, sophisticated web applications, then this book is for you. No prior knowledge of Yii is required to read this book.