What is Gripes?
Gripes is the combination of 3 very powerful, yet relatively unused, technologies.
-
Gradle
The backbone of Gripes. Gradle makes creating, testing, running, and deploying the Gripes project possible. Gradle also handles all of the dependencies, no sense in re-inventing this, Gradle does it best.
-
Stripes Framework
Stripes prides itself on making web development in Java easier than ever before. This it does, and does it well.
-
Groovy
Java is clunky and verbose, so we use Groovy.
How Does It Work?
Gripes, in essence, is a plugin to Gradle. Gradle manages dependencies, builds wars, and can even run the Gripes application. The application itself is built using the Stripes Framework. The last main benefit of Gripes, is that it implements Stripes using Groovy, allowing for even more rapid and flexible development.
Getting Started
- Download and Install Gradle
- Open a terminal window and run: 'mkdir gripes-app && cd gripes-app'
- Run: 'curl -o build.gradle http://www.gripes-project.org/build.gradle.txt && gradle init'
- Edit the gripes{} section of gripes-app/conf/gripes-basic.gradle accordingly
- Run: 'gradle setup'
- First entity class: 'gradle create -Pmodel=Page'
- Edit the entity, adding properties (i.e. String name, description)
- Create actions: 'gradle create -Paction=Page'
- Run the app: 'gradle run'
- Browse: http://localhost:8888/gripes