Basics and Installation
- Introduction to Grails
- Installing a Windows Development Environment
- Installing an OS X Development Environment
- Installing a Linux Development Environment
Project Tracker – First Stack
Project Tracker – Building the Application
Thank you
Your tutorials are excellent! Thank you.
You sir are a lifesaver. It took me just a day to get my fingers on Grails (did some Servlet and JSP programming few years back)
One quick question for you. What’s the hardware that you’ve used while doing this tutorial? It took you only ~2 seconds to restart app, while it takes me sometimes up to 30 sec for it (Amd dual core 2.1ghz, sata HDD). Does it have any additional tweaks that you recommend (or it’s just raw power + SSD)?
Thanks in advance and keep up the good work.
Thanks for the feedback. Glad they were helpful. With my tongue in cheek, my hardware is the ability to remove frames from the video during the editing process. So like yourself, my restarts take a while, I just remove the majority of the dead space in the video. ~Mike
Thank you very much for your good tutorials. You are a great teacher. Much better the Uni teachers who mostly there for the Cheques and not interested the education of their students. We learn more on here than Uni.
Hi Mike. Yes, very helpful. A good HelloWorld++ start to the groovy/grails world. I’m still missing my Wysinwyg dev environments. Perhaps the grails form builder project will progress.
Yes, if you can, please email me the slide so I can see how you did the transitions.
Many Thanks
Paul
Hi Mike,
Great videos. Being totally new to grails. I watched them all. Great with dual monitors. Worked fine on my system.
I was wondering what did you use to create the slides. Specifically the Introduction to Grails slides where you have the diagram that animates the arrows.
Thanks
Paul
Paul:
Glad they were helpful. All my slides were done in PowerPoint, with the screencasts recorded in Camtasia Studio. I’m happy to send you the intro .ppt if you ever need it.
Mike
Hi Mike,
Can you provide few tutorials (or any links) on writing webservices for grails. I am looking for something like sending data from grails server to mobile client.
After watching the entire thing – Thank you!
This is a really impressive tutorial series – and you’ve put it up free for everyone to watch! An amazing job – I really hope you make more videos!
Enjoyed the videos. Will hope for new posts.
http://www.grails.org/Google+Chart+Plugin
Google Chart Chart Plugin
Author: James Williams (james.l.williams AT gmail DOT com) Contributer: Zan Thrash (zanthrash AT gmail DOT com) This is a plugin for Google Chart API.
Supports pie charts, bar charts, line charts, venn diagrams, scatter plots, maps, text data encoding with scaling.
Seeks to fully implement Google’s spec, http://code.google.com/apis/chart/
Builder to create Google Chart URLs in domain or service layer.
Recently added:QR codes
I want to ask how to create a chart in grails ?
this is a test post, new to the forum. welcome me.
Welcome! Thanks for stopping by.
Thank you so much. I’ve redone everything from scratch, and did not encounter any errors the second time around using a fresh directory. Your blog is magnificent. Excellent and wonderfully taught tutorials.
More power, and more videos, please.
Thanks John!
Hi,
I have a unique problem defined in one of the discussion forums of grails see detailed problem definition by clicking the link below,
http://grails.1312388.n4.nabble.com/findWhere-does-not-return-a-unique-count-tp4638789.html
Hope someone can reply with whats missing or incorrect?
Thanks in advance.
Super!
Great! Thanks.
Thank You for this.
I must compliment you on your very clear and simple screencasts. I’ve only watched two thus far but presume others are just as simple and clean.
Personally, I’d love to see something similar for Gradle. Regardless, I will keep checking back to see what new and interesting things you have posted!
Really god Job
of spreading knowledge.. Hope we will get more videos from you Mike … Thumbs up …..
Thanks, glad they are helpful.
Thanks for thees clear creencasts.
I ran into this message, after having set up dynamic scaffolding and model associations :
- I create an endUser (id 1) ; then I create a project : when I click create -> massage :
” Property [owner] of class [class projecttracker.Project] cannot be null ”
… as if that first endUser was not existing, eventhough it does exist in the database (devDB with dbCreate = ‘update’). Do you have any hint as where this is coming from, of what I should check to fix it ?
It sounds like the error is coming from the Project object wanting to have an endUser assigned to it as an owner. Do you see an Owner field in your Project screen, and is it populated with an endUser when you create the Project? If you are still having problems, you may want to change your settings in the devDB back to “create-drop” and restart your server. Then you can be assured that your domain model definitions are in sync with your database tables. You will lose your data at that point, so you will need to recreate your endUser and Project.
Thank you Michael,
I followed your instructions and all is well now.
By the way, I completed the screen cast series up to security, and kudos for this extremely informative overview : It really helped me to discover the power and versatility of Grails (I am a Ruby On Rails fan), so I could see how far it can go : I will now digg into the tutorials to set up an application with real persistence (MySql), for my next project.
I love java so as groovy and grail, if your provide us with more examples we can learn very much and use Grail as the first option for any enterprise application.
Hello Mike
Thanks you very much for this great tutorial. For my application I need to retain database of my previous session for login credential. In spite of putting “update” in front of ‘dbCreate’ field I am not being able to retain my previous database. I already updated dataSource in all three, i.e. production, test and development environment.
ANY HELP WILL BE GREATLY APPRECIATED….
Thanks,
I assume that you know the default DB is only an in memory one?
To really make it permenant you need to have a real DB running like MySQL and the correct driver in your grails project so that DB will be used. There are tutorials “out there” for this. Also see this issue in the SPRING ROO forum where they use exactly the same technology and so ask the same questions as you have.
Li: I am having the same plroebm. Our grails app depends on two external Java Modules as well. I have set up the grail module to depend on those two external modules, but the minute I try to build or run the app, I get a compiler error stating it cannot find the classes in those external modules.The only way I have round to get around it is to JAR those modules up and stick them in the LIB directory. Kind of a pain if you ask me.
Drop down one line to the URL setting and remove the mem: parameter. That will persist your database in a file instead of in memory.
The first thing you do in video #9 “Creating a Controler” FAILS on my clean STS install.
Compiling 1 source files…..
| Domain class not found in grails-app/domain, trying hibernate mapped classes…
| No domain class found for name ListProjects. Please try again and enter a valid domain class name
I guess another step is needed / missing i.e. supplying the domain somewhere – somehow.
Is the project on github then I could workout what I needed to add.
MY BAD
My error was selecting the menu option
…..- Generate controller
where as – the method vid #9 wants you to use to create a controller is to select the menu option
…..- Controller
Glad you were able to find the issue.
~Mike
Thank you very much for this level of tutorial on Grails 2. I learned a lot. Can you post more videos on the removing the default index page from Grails framework and other stuffs like creating complex form for multiple domains. Eagerly waiting for those tuts.
Great work. It helps me so much for a quick start into grails.
Thanks a lot.
Regards Sebastian
Hi,
I would like to have an example with an existing database without an field ID (instead gut_nr) and Informix Serial.
This is a already existing and I want to introduce grooy/grails instead of PHP.
And nice would be an example with two 1:n – Relations
case <person
case ( case_nr SERIAL, case_short CHAR(20) )
case_person ( cp_case_nr , cp_person_nr, cp_sort, cp_comment)
person (person_nr SERIAL, person_name CHAR(20) )
Yours Bernhard
At the relation, something ist lost in the HTML-Jungle.
when using the gerater and less symbol
case 1 :: N case_person N :: 1 Person.
- One case can have many persons
- one Perosn can be part of many cases
The tabe case_person ist the relation-table in between the
other two tables, but does not only realize the relation,
but has own content, which describes the relation.
Great Tutorials! Thanks so much for doing these
Thanks a lot for this course. It really helped me getting started with grails.
Hope that you will extend this course some time soon
Thanks,
mohsin
You are welcome. I am working on some new things now. What Grails topics would you like to learn more?
Easy to understand
Using grails 2.0
Excellent =)
You really helped me.
Like your videos, we have to do a project in uni on grails and we have to install and run the hello world ,,, but I think this might be better… HA HA
I think I will use your subscribe Widget !!!!
Thanks a lots for posting examples. You rock!!!
Thanks a lot for the video casts! I have been trying to follow “Getting Started With Grails” but I’ve been running into some issues because I’m using rails 2.0.1 and the book is a few years old (grails 1.2). I am looking forward for the other videos.
Me too, its excellent to have examples,
which deals with the newest versions.
Great tutorial-will you be covering testing?
Thanks – yes, I do plan to cover testing at some point.
Cool blog!
Nice content, I truly wait for posts from you.
Great tutorial.
The problem, I had before, other tutorials miss the start of the things.
Means: I learn any nice part, but I do not know, how to run.
i.e. at the basics: its a great help, to learn, how to change the port. For the beginner, a great help, because if port 8080 is blocked: end of learning.
And very useful, you use the new 2.0 – Version, so what you teach is brand new.
Waiting for the next steps.
Thanks Mike! I will subscribe for alerts.
Keep up the good work!
Julian
Nice! Great job on the videos! Looking forward to the Project Tracker videos. When will those videos be available?
Julian:
Glad you like them so far. I just posted the first two Project Tracker videos. I’m hoping to post new videos every week or two. I just added a subscribe widget on the home page if you want to be alerted by email when I post new videos (no spam – promise).
Regards,
Mike