GithubHelp home page GithubHelp logo

grails-guides / creating-your-first-grails-app Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 143.0 1.38 MB

Guide for creating your first Grails application

JavaScript 61.04% CSS 19.48% Groovy 15.31% Shell 2.82% Batchfile 1.36%

creating-your-first-grails-app's People

Contributors

auxiliaire avatar bambbt avatar benrhine avatar nmaynes avatar sbglasius avatar sdelamo avatar sumitbando avatar vikram7singh avatar zacharyklein avatar zifah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

creating-your-first-grails-app's Issues

Creating your first grails app with Spring Security?

Great guide and example code!
As Authentication and Authorization are core components of most real world apps, I think it would be very helpful to the community to fork this guide with a more advanced version that adds Spring Security and/or Spring Security UI to this project.

For example, this github issue has the key hack required to get spring-security, hibernate4 and grails3.x working together.
grails-plugins/grails-cache-ehcache#26

Bump guide to 3.3.2?

The guide is awesome, but if you are using the latest grails version, 3.2.2, some things do not work as expected, I needed to downgrade my grails to 3.3.1 to make everything work.

Cheers!

Dyelamos

5.2 DB Console

change path from /dbconsole to /h2-console

make clear that other database engines need their own console:
"Please consider that h2-console only works with h2 database engine configured. Use an appropritate database console if you want to use any other database engine."

Possibly omitted create-service step, Section 5.2

Thanks for this guide! I followed along and at Step 5.4 (Bootstrapping) the build started to fail due to missing classes.

  • MakeService
  • ModelService
  • VehicleService
    Workaround: I looked at some other source and found the command (grails create-service Make, etc.) and then I copied over the 4 service classes you have in the Complete project. Then modified the package name to mine.

Confusing Documentation in Services section

There are two confusing parts in the creating-your-first-grails-app#services guide:

  1. There is a <1> marker by the VehicleController.groovy code snippet with the description:

"By simply defining a property in our controller with the same name as our service class, Grails will inject a reference to the service for us."

but it points to a @Transactional line.

  1. Immediately below that part, there is the description:

"We’ve added new property to the model, called estimatedValue."

but it was not shown in the code snippet. It would also be helpful if in the code it shows how the estimatedValue service is used to get the value for that property.

See the attached screenshot below.

grails_guide_services_stroked

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.