1.

Record Nr.

UNINA9910814899803321

Autore

Winesett Jeffrey

Titolo

Agile web application development with Yii1.1 and PHP5 : fast-track your web application development by harnessing the power of the Yii PHP framework / / Jeffrey Winesett

Pubbl/distr/stampa

Birmingham, : Packt Publishing, 2010

ISBN

1-282-72005-8

9786612720055

1-84719-959-3

Edizione

[1st ed.]

Descrizione fisica

1 online resource (368 p.)

Disciplina

006.76

Soggetti

Web site development

Application software - Development

PHP (Computer program language)

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; Table of Contents; Preface; Chapter 1: Meet Yii; Yii is easy; Yii is efficient; Yii is extensible; MVC architecture; The model; The view; The 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; One final step; Reviewing our request routing; Adding dynamic content

Adding the date and time Adding the date and time, a better approach; 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; Defining a data scheme; Defining our development methodology; Automated software testing; Unit and functional testing; Benefits of testing; Test-driven development; Testing in Yii; Unit tests; Installing PHPUnit



Functional tests Installing Selenium; Running a quick example; Hello TDD!; Summary; Chapter 4: Iteration 1: Creating the Initial TrackStar Application; Iteration planning; Creating the new application; Connecting to the database; Testing the connection; Yii and databases; Adding a db connection as an application component; Summary; Chapter 5: Iteration 2: Project CRUD; Iteration planning; Running our test suite; Creating the project table; Naming conventions; Creating the AR model class; Configuring Gii; Using Gii to create our Project AR class; Testing out our newly generated code

Creating the unit test file Testing create; Testing read; Testing update and delete; Was all that testing really necessary?; Enabling CRUD operations for users; Creating CRUD scaffolding for projects; Creating a new project; Adding a required field to our form; Reading the project; Updating and deleting projects; Managing projects in admin mode; More on testing-fixtures; Configuring the fixture manager; Creating a fixture; Configuring this fixture for use; Specifying a test database; Using fixtures; Summary; Chapter 6: Iteration 3: Adding tasks; Iteration planning; Running the test suite

Designing the schema Defining some relationships; Building the database and the relationships; Creating the 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 the types drop-down menu; Getting the test in the ""Red""; Moving From ""Red"" To ""Green""; Moving Back To ""Red""; Getting back to ""Green"" once again; Adding the issue type dropdown; Adding the status dropdown: Do it yourself; Fixing the owner and requester fields; Enforcing a project context

Implementing a filter

Sommario/riassunto

Fast-track your Web application development by harnessing the power of the Yii PHP framework