an Open Source, full stack, web application framework for the JVM. “ – 「透過Groovy語言與慣例優先原則來提供一個 極具生產力並精簡的開發體驗。」 – 目標:極大地簡化企業級Java web application 的開發。 • 意思就是還是用那些企業級、受過歲月歷練的 framework,但希望能盡量的簡化使用的方式。
要建立controller,在專案目錄中: grails> create-controller <domain-name> 由於Grails遵守domain-driven準則,建議在透過 上述指令建立controller時,給予的名稱為一個 domain class name,代表該controller所要互動 的domain。而Grails所自動產生的controller class name 則會在後面加上Controller。