Skip to content

Commit 3f98c9d

Browse files
committed
Update README
- Add information about Grace vs Spring Boot - Update the badge of Spring Boot
1 parent 2193776 commit 3f98c9d

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,48 @@
55

66
[![Java Version](https://img.shields.io/badge/Java-17-blue?style=flat&logo=openjdk&color=437291)](https://docs.oracle.com/en/java/javase/17/)
77
[![Groovy Version](https://img.shields.io/badge/Groovy-4.0.26-blue?logo=apachegroovy&style=flat&color=4298b8)](https://groovy-lang.org/releasenotes/groovy-4.0.html)
8-
[![Spring Boot Version](https://img.shields.io/badge/Spring_Boot-3.3.10-blue?logo=springboot&style=flat&color=6db33f)](https://github.com/spring-projects/spring-boot/releases/tag/v3.3.10)
8+
[![Spring Boot Version](https://img.shields.io/badge/Spring_Boot-3.3.11-blue?logo=springboot&style=flat&color=6db33f)](https://github.com/spring-projects/spring-boot/releases/tag/v3.3.11)
99

1010
# Grace Framework
1111

1212
[Grace](https://github.com/graceframework/grace-framework) is a fork of Grails 5 that started development in early 2022, it's a powerful and open-source One-Person web framework used to build enterprise-grade [Spring Boot](https://spring.io/projects/spring-boot/) applications with the powerful [Groovy](https://groovy-lang.org/) programming language. The core framework is very extensible and there are numerous [Plugins](https://github.com/grace-plugins/) available that provide easy integration of add-on features.
1313

14+
## Grace vs Spring Boot
15+
16+
Grace and Spring Boot frameworks are excellent for building web applications, but their use depends on what you want. Generally, Grace framework may be advantageous in full-stack and monolithic applications, but Spring Boot is preferred for developing complex and microservice applications. Grace has better developer productivity than Spring Boot. Because it follows the convention over the configuration principle, it minimizes code requirements. This enhances productivity and fosters faster app development. The framework creates faster and more functional prototypes than Spring Boot due to its simple code generation like scaffolding and CoC. Grace fully embraces Groovy to enable many features that would not be possible using Java alone, including a rich Plugin ecosystem and Dynamic Modules, many DSLs, AST Transformations, Trait-based solutions, and much more. Grace also allow you create many different types of applications using Application profiles and templates. The learning curve for Grace is moderate and more straightforward than Spring Boot due to its emphasis on convention and simplicity. Currently, Grace framework has a less active developer community and support than Spring Boot, and the IDE tools don't support Groovy and Grace as well as Java and Spring Boot.
17+
18+
You can learn more on the page [Grace vs Spring Boot](https://github.com/graceframework/grace-framework/wiki/Grace-vs-Spring-Boot).
19+
1420
## Getting Started
1521

1622
You need a Java Development Kit (JDK) installed, but it is not necessary to install Groovy because it's bundled with the Grace distribution.
1723

1824
To install Grace, visit https://github.com/graceframework/grace-framework/releases and download the version you would like to use. Set a `GRACE_HOME` environment variable to point to the root of the extracted download and add `GRACE_HOME/bin` to your executable `PATH`. Then in a shell, type the following:
1925

2026
```bash
21-
grace create-app com.example.blog
22-
cd blog
23-
grace run-app
27+
$ grace create-app com.example.blog
28+
$ cd blog
29+
$ grace run-app
30+
```
31+
32+
SDKMAN! (The Software Development Kit Manager) can be used for managing multiple versions of various binary SDKs, including Groovy, Gradle and the Grace. Get SDKMAN! from sdkman.io and install Grace by using the following commands:
33+
34+
```bash
35+
$ sdk install grace
2436
```
2537

2638
To build Grace, clone this GitHub repository and execute the install Gradle target:
2739

2840
```bash
29-
git clone https://github.com/graceframework/grace-framework.git
30-
cd grace-framework
31-
./gradlew pTML zipDist
41+
$ git clone https://github.com/graceframework/grace-framework.git
42+
$ cd grace-framework
43+
$ ./gradlew pTML zipDist
3244
```
3345

3446
If you encounter out of memory errors when trying to run the install target, try adjusting Gradle build settings. For example:
3547

3648
```bash
37-
export GRADLE_OPTS="-Xmx2G -Xms2G -XX:NewSize=512m -XX:MaxNewSize=512m"
49+
$ export GRADLE_OPTS="-Xmx2G -Xms2G -XX:NewSize=512m -XX:MaxNewSize=512m"
3850
```
3951

4052
For installation instructions see [INSTALL.txt](INSTALL.txt).

0 commit comments

Comments
 (0)