Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the point of scaffolding?

I don't understand the significance of something like rails, codeigniter, etc. and scaffolding. From what I read, and maybe it's just wrong, scaffolding isn't used in the production environment. I don't know what it's for. It's neat but I don't know what I am supposed to do with it.

Thanks.

like image 804
johnny Avatar asked Oct 25 '22 07:10

johnny


1 Answers

You use Scaffolding to get some results rapdily, for instance to quickly whip out an early protoype or to get functionality like CRUD in place. Usually the code generated through scaffolding is a crutch you have to replace or extend later with something more sophisticated.

So yes, you are right. It's a temporal solution, a stand-in, unless you get the real thing in place.

In that sense, scaffolding is a Technical Debt.

like image 125
Gordon Avatar answered Nov 09 '22 22:11

Gordon