Need advice about which tool to choose?Ask the StackShare community!

CakePHP

630
388
+ 1
137
Grails

369
355
+ 1
333
Add tool

CakePHP vs Grails: What are the differences?

CakePHP: The Rapid Development Framework for PHP. CakePHP makes building web applications simpler, faster, while requiring less code. A modern PHP 7 framework offering a flexible database access layer and a powerful scaffolding system; 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.

CakePHP and Grails can be primarily classified as "Frameworks (Full Stack)" tools.

"Open source" is the top reason why over 34 developers like CakePHP, while over 44 developers mention "Groovy" as the leading cause for choosing Grails.

CakePHP and Grails are both open source tools. It seems that CakePHP with 7.9K GitHub stars and 3.4K forks on GitHub has more adoption than Grails with 2.48K GitHub stars and 945 GitHub forks.

Swat.io, Walls.io, and Zumba are some of the popular companies that use CakePHP, whereas Grails is used by LinkedIn, PedidosYa, and TransferWise. CakePHP has a broader approval, being mentioned in 66 company stacks & 29 developers stacks; compared to Grails, which is listed in 47 company stacks and 22 developer stacks.

Advice on CakePHP and Grails
Needs advice
on
CakePHPCakePHPIgnite UIIgnite UI
and
LaravelLaravel

Hi, Which tool will you recommend:

I need to build a web application, oriented to small businesses, like a small ERP. It will have intensive use of Sql to access a PostgreSQL database. It has to be secure, as it will handle information on customers, sales, inventory.

If you think another tool will be better, please let that know.

Thanks a lot

See more
Replies (2)
Krunal Shah
Full Stack Developer at Infynno Solutions · | 5 upvotes · 46.7K views

Laravel and Postgres will be the better solutions you can add more like Redis for caching and React/Vue for the frontend.

See more
Recommends
Spring BootSpring Boot

Check Spring, if security and reliability is needed along with Lots of Database , check Spring Data, spring web, spring security

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CakePHP
Pros of Grails
  • 35
    Open source
  • 25
    Really rapid framework
  • 19
    Good code organization
  • 13
    Flexibility
  • 10
    Security best practices
  • 7
    Clean architecture
  • 5
    ORM
  • 5
    Less code
  • 4
    Composer friendly
  • 4
    Convention Over Configuration
  • 2
    CakePhp Book
  • 2
    Cake Bake
  • 2
    Built-in Validation
  • 1
    Ctp view File extension
  • 1
    CakePhp inflector
  • 1
    Quickly develop
  • 1
    Rest Full Apis
  • 56
    Groovy
  • 40
    Jvm
  • 38
    Rapid development
  • 37
    Gorm
  • 30
    Web framework
  • 25
    Open source
  • 21
    Plugins
  • 17
    Extensible
  • 17
    Easy
  • 14
    Dynamic
  • 6
    Clean architecture (Dependency Injection)
  • 6
    Gradle
  • 5
    Clear what everything does, lots of options
  • 4
    RAD
  • 4
    Agile
  • 4
    Great documentation
  • 3
    Android
  • 3
    Spring
  • 2
    Easy setup
  • 1
    Java web apps with steroid

Sign up to add or upvote prosMake informed product decisions

Cons of CakePHP
Cons of Grails
  • 1
    Robust Baking Tool
  • 1
    Follows Good Programming Practices
  • 3
    Frequent breaking changes
  • 2
    Undocumented features

Sign up to add or upvote consMake informed product decisions

What is CakePHP?

It makes building web applications simpler, faster, while requiring less code. A modern PHP 7 framework offering a flexible database access layer and a powerful scaffolding system.

What is Grails?

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.

Need advice about which tool to choose?Ask the StackShare community!

What companies use CakePHP?
What companies use Grails?
See which teams inside your own company are using CakePHP or Grails.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with CakePHP?
What tools integrate with Grails?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to CakePHP and Grails?
Laravel
It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
CodeIgniter
CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps.
WordPress
The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. Over 60 million people have chosen WordPress to power the place on the web they call “home” — we’d love you to join the family.
Rails
Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
See all alternatives