I am pretty new to Grails, though I do have a lot of experience developing webapplications using other mvc frameworks in different languages (Perl, Python, Ruby).
I am trying to understand the implications of CRUD in grails.
Basically Grails creates by default for a create function the following two methods:
create, which is used to display the form to create save, which is used to save the posted form
Now coming from different frameworks I am used to having just one method for create:
create, this function will display the form if the request method is GET and save the form if the request method is POST, which seems to be the prefered way of most frameworks?!?!?
Why did Grails go the route of having completely different methods for this functionality? I know I can change it by hand, but what would be the implications of doing this? What will I loose, what will I gain.
I know this is not a very specific question and I sure do not want to start a flame war, but I want to understand why to choose one way of the other ...
Thanks in advance for your ansers.