O'Reilly logo

Yii Rapid Application Development Hotshot by James R. Hamilton III, Lauren J. O'Meara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding Job Registration

Before we can add jobs to the queue, we need to be able to register a job with the system. We will build on the job scaffolding in this task to the point where we can manage the jobs registered with our site.

Prepare for Lift Off

  1. Create an extensions directory in your project.
      mkdir ~/projects/ch7/protected/extensions
    
  2. Use wget to download the Yii extension quickdlgs from http://www.yiiframework.com/extension/quickdlgs/ as follows:
      cd ~/Downloads
      wget http://www.yiiframework.com/extension/quickdlgs/files/quickdlgs.1.2.zip
    

    We are going to use the quickdlgs extension to add modal dialogs to create, add, and edit entries in our grids.

  3. Unzip the package in your project's extensions directory as follows:
     cd ~/projects/ch7/protected/extensions/ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required