CodeIgniter Forums
Bake in Codeignitor? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Bake in Codeignitor? (/thread-10874.html)



Bake in Codeignitor? - El Forum - 08-16-2008

[eluser]Unknown[/eluser]
I already have a database made and I want to quickly spread everything out. In CakePHP, you could use the bake command in the console/command line and it would ready everything for you.

Is there any way I can do this in Codeignitor?
Thanks, reply soon! Smile


Bake in Codeignitor? - El Forum - 08-16-2008

[eluser]Sarfaraz Momin[/eluser]
Well you do not have some like this. There used to be a scaffolding in CI but even thats deprecated. All in all I would like to tell you that getting CI up and running for development is just 10 mins of your time and its not worth putting good develoment time to get that 10 mins automated. It can be used to make more productive and cool features.

Have a good day and welcome to CI !!!

CI Rocks !!!!


Bake in Codeignitor? - El Forum - 08-16-2008

[eluser]Colin Williams[/eluser]
I've already said why I think CI will never have "baking" or ORM features in CI, so I'll leave that discussion alone.

Search for IgnitedRecord. It's a good ORM library that is continually being developed.


Bake in Codeignitor? - El Forum - 08-17-2008

[eluser]roguewave[/eluser]
Are you talking about scaffolding? If so you can check out sparkplug which will CRUD a single table at a time. Out of the box it won't handle table references like "database.table" but you can fix that pretty easily.