i started coding in grails

i started coding in grails in the last days.
for the start i must say, every webframework seems to be the same, and every webframework seems to be different.

one thing i am missing is that the scaffolding is not that clear then it is in ruby on rails.
in ruby i can define my table in the database and the generated html is in the same order like the db.
there is no sort in grails or i am not understanding it.

one great thing is the services section. you can put functionality into services and they are completely ready for transactions. so if the script breaks, all the datas are getting roled back. great stuff!

more to come…

One Response to i started coding in grails

  1. in ruby i can define my table in the database and the generated html is in the same order like the db.
    there is no sort in grails or i am not understanding it.

    By default, the Grails scaffolding sorts the columns (i.e., the domain class attributes) in alphabetical order. If you’d like to define your own ordering and still use the scaffolding, you can do so via the constraints as described here.

    I hope this helps.

    Cheers,
    Jason

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: