Codeigniter 2 Scaffolding Codeigniter 2 Scaffolding codeigniter codeigniter

Codeigniter 2 Scaffolding


The idea of temporary scaffolding CRUD has always seemed a bit pointless to me for a couple reasons:

  • It's not an end game solution, you're going to have to eventually implement proper (secure) CRUD operations for your application that are better tailored to your specific application's needs.
  • If you just need quick and dirty DB input, Why not just use your DBMS? (phpMyAdmin, etc...)

To mitigate the time spent on repetitive application operations, I actually create a basic CRUD model so that I can have a good starting point to build the basic database interaction. That way you will actually be progressing towards your applications completion.


Scaffolding only ever existed to save you having to crack open Navicat, phpMyAdmin, MySQL Query Builder, etc. But this day in age, if you dont know how to work a MySQL client then you probably shouldn't be be working on a bloody website so it's been removed.


The reason I prefer to use a "quick and dirty" CRUD generator is often we bring in several non-technical people to do data clean-up. If I can easily build this "throw-away" interface without having to do a lot of coding, it saves me a lot of time as well as I am not spending much time on coding "throw-away" pages. I don't really want to give non-technical people an Admin tool just to edit data.