Yii Framework Forum: Xcrudcontroller - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Xcrudcontroller A base class to quickly build customized CRUD interfaces Rate Topic: -----

#1 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,013
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 24 January 2013 - 09:33 AM

I was tired of writing the same CRUD code over and over again. And i also was not happy with code generation through Gii, because it turned out, that i had to modify the auto-generated code a lot to suit my needs. To be honest i'm not a big fan of code generation at all.

So i wrote this little base CRUD controller class, which helps me a lot to quickly build powerful backend interfaces.

Main features:


* Create, list, view, edit and delete actions. Follow DRY and don't repeat the same CRUD logic in all your controllers.
* Powerful filter pattern. Use a dedicated filter form in your listing to build convenient search interfaces.
* Helpers for URL creation. Take the user back to the same listing page after editing/viewing a record.

Check out the extension and read the full docs including a quickstart example and some advanced tricks over at the github project page.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users