CodeIgniter vs Grails: What are the differences?
CodeIgniter: A Fully Baked PHP Framework. CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps; Grails: An Open Source, full stack, web application framework for the JVM. Grails is a framework used to build web applications with the Groovy programming language. The core framework is very extensible and there are numerous plugins available that provide easy integration of add-on features.
CodeIgniter and Grails can be categorized as "Frameworks (Full Stack)" tools.
"Mvc" is the primary reason why developers consider CodeIgniter over the competitors, whereas "Groovy" was stated as the key factor in picking Grails.
CodeIgniter and Grails are both open source tools. It seems that CodeIgniter with 17.4K GitHub stars and 7.72K forks on GitHub has more adoption than Grails with 2.48K GitHub stars and 945 GitHub forks.
Buffer, Accenture, and Ola are some of the popular companies that use CodeIgniter, whereas Grails is used by LinkedIn, PedidosYa, and TransferWise. CodeIgniter has a broader approval, being mentioned in 261 company stacks & 105 developers stacks; compared to Grails, which is listed in 47 company stacks and 22 developer stacks.
What is CodeIgniter?
What is Grails?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Grails?
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions
Some may wonder why did we choose Grails ? Really good question :) We spent quite some time to evaluate what framework to go with and the battle was between Play Scala and Grails ( Groovy ). We have enough experience with both and, to be honest, I absolutely in love with Scala; however, the tipping point for us was the potential speed of development. Grails allows much faster development pace than Play , and as of right now this is the most important parameter. We might convert later though. Also, worth mentioning, by default Grails comes with Gradle as a build tool, so why change?
I used CodeIgniter while working at KHM Travel Group. It was the system we used for an affiliate-based site called TravSearch, which I later replaced with a WordPress Multisite. I developed a .csv upload form to transfer all the information from the affiliate table of CodeIgniter to the user and options tables in WPMU.
CodeIgniter is the MVC framework used for the PHP coding. Also, validation criteria for (database) table fields are the provided by CodeIgniter, and signatures for others are derived from those.
It is super easy to do things in PHP using codeigniter. Used the MVC architecture to create different types of pages and modules.
All the power of the JVM, with the ease-of-use of a modern web framework.
Integrate with some code-igniter low-level modules through composer.