Evolving past scaffolding (new to CI)


In Rails, I liked throwing up scaffolding, then modifying the scaffolding in iterations until it no longer looked anything like the default.

In CI, I like the default scaffolding for getting data into my database, but now I want to move beyond it and start making my own admin areas. However, I'm having trouble seeing the Code Igniter-style way to do this.

Can anyone point me in the right direction?

Thanks Smile


This book has a good reusable CRUD controller walkthrough:

This appears to do basically the same, haven't test it though:

[eluser]Colin Williams[/eluser]
Scaffolding was deprecated a few releases back. It is definitely not the way to kick off an app.

I'm new to CI, so I obviously don't know much about its philosophy.

That said, scaffolding doesn't only serve to get data into your database quickly. It's also a great way to show new developers how things work, and to provide something to build off of. I'm surprised scaffolding in CI is limited to something of such little value -- after all, anyone can install phpmyadmin to do basic CRUD.

[eluser]Colin Williams[/eluser]
It is deprecated for some of those very reasons, jragon. It ultimately didn't fit in with their vision of the framework.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.