Tabla de Contenidos:
  • 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
  • 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
  • Functional tests
  • Hello TDD!
  • Summary
  • Chapter 4: Iteration 1
  • Iteration planning
  • Creating the new application
  • Connecting to the database
  • Testing the connection
  • Adding a db connection as an application component
  • Summary
  • Chapter 5: Iteration 2
  • 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
  • Was all that testing really necessary?
  • Enabling CRUD operations for users
  • Creating CRUD scaffolding for projects
  • Creating a new project
  • Reading the project
  • Updating and deleting projects
  • Managing projects in admin mode
  • More on testing8212;fixtures
  • Configuring the fixture manager
  • Creating a fixture
  • Configuring this fixture for use
  • Specifying a test database
  • Summary
  • Chapter 6: Iteration 3
  • 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
  • Adding a filter
  • Specifying the filtered actions
  • Adding some filter logic
  • Adding the project id
  • Altering the project details page
  • Removing the project input form field
  • R.