CodeIgniter Forums

Full Version: Evolving past scaffolding (new to CI)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hello,

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

Jon

El Forum

[eluser]plainas[/eluser]
This book has a good reusable CRUD controller walkthrough:
http://www.amazon.com/CodeIgniter-Rapid-...1847191746

This appears to do basically the same, haven't test it though:
http://ellislab.com/forums/viewthread/100821/#509457

El Forum

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

El Forum

[eluser]Unknown[/eluser]
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.

El Forum

[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.