Welcome Guest, Not a member yet? Register   Sign In
Evolving past scaffolding (new to CI)
#1

[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
#2

[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
#3

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

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

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




Theme © iAndrew 2016 - Forum software by © MyBB