grails-guides / creating-your-first-grails-app Goto Github PK
View Code? Open in Web Editor NEWGuide for creating your first Grails application
Guide for creating your first Grails application
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
Using Firefox build 52.0.2 on Windows 7 the top navigation links (Learn, Guides, Documentation, etc.) do not show the pointer icon on mouse over, they show the text cursor. The pointer shows fine on the main page of guides.grails.org/ but on all of the guide pages it does not.
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
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."
Thanks for this guide! I followed along and at Step 5.4 (Bootstrapping) the build started to fail due to missing classes.
There are two confusing parts in the creating-your-first-grails-app#services guide:
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.
"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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.