<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    First they ignore you
    then they ridicule you
    then they fight you
    then you win
        -- Mahatma Gandhi
    Chinese => English     英文 => 中文             
    隨筆-221  評(píng)論-1047  文章-0  trackbacks-0

    A month ago, if you would've told me that I was soon to become a raving Groovy and Grails fanatic, I would've told you that you were crazy. I've had a passing interest in Groovy for awhile, but not enough to really get excited. As for Grails...well...I just lumped it in along with Trails, Sails, and all of the other Rails wannabe frameworks.

    But then I sat in on Groovy and Grails talks at the LoneStar Software Symposium. In short, I was blown away!

    The first thing I learned was that Groovy had matured quite a bit and is likely to reach 1.0 status in the very near future. This is good news because it will help bring Groovy out of its current "toy" status and into the proverbial "real world". Also, Venkat was able to demonstrate some killer language features in Groovy that up until now have been reserved for the Ruby folks.

    Then in his next section, Venkat covered Grails. I sat in as a skeptic, but walked out a believer. Grails isn't just a Rails-wannabe...it's the real deal! While Venkat was demonstrating Grails, I downloaded and installed Grails and followed along, building the same example on my laptop. I was very impressed at how very Rails-like it felt. It's not a perfect match to Rails, but it's darn close...close enough to make me like it.

    When developing in Grails, you can run your application within the built-in Jetty server. In many ways, this is much like running a Rails app in the built-in WebBrick server. Once you're done, Grails provides a command that creates a good old-fashioned WAR file, suitable for deployment in your favorite servlet container.

    What's even more cool about Grails is that it has Spring and Hibernate under the covers. But you won't need to know that unless you want to wire dependencies into your controllers using some of Spring's dependency injection goodness or if you want to tweak the database mapping.

    Speaking of database mapping, this is one place where Grails differs slightly from Rails. Where Rails uses ActiveRecord for domain object persistence, Grails uses GORM. Some folks I know are a bit put off (understandably so) by ActiveRecord which starts with a database schema and infers a domain model. GORM, on the other hand, takes the opposite approach, starting with domain objects and infers a database schema. Of course, if you don't like the inferred schema, it's Hibernate under the covers, so you're free to tweak the mapping to your heart's (or data architect's) content.

    What's more, I also learned that Oracle has put their stamp of approval on Grails. Not that it matters much to me...but a big name like Oracle legitimizes Grails a bit more.

    Finally, with a fewGroovy and Grails books making their debut, now's a perfect time to plug in and learn some Groovy and Grails stuff.

    You'll notice that I've added a "Groovy|Grails" category to my blog. This is the first and only blog entry under that category for now. But expect more stuff here as I dig into Groovy and Grails more.


    原文地址:http://jroller.com/page/habuma?entry=i_m_digging_groovy_and
    附:Groovy輕松入門--Grails實(shí)戰(zhàn)之GORM篇
    posted on 2007-04-06 23:59 山風(fēng)小子 閱讀(626) 評(píng)論(2)  編輯  收藏 所屬分類: Groovy & Grails
    主站蜘蛛池模板: 亚洲国产成a人v在线观看| 91午夜精品亚洲一区二区三区| 亚洲国产成人九九综合| 亚洲色偷偷色噜噜狠狠99网| 亚洲VA成无码人在线观看天堂| 91精品视频在线免费观看| 曰批视频免费40分钟试看天天| 老司机午夜在线视频免费观| 亚洲资源在线视频| 亚洲成人免费在线| 免费精品国产自产拍在线观看 | 在线观看免费污视频| 四虎影视在线看免费观看| 亚洲AV无码精品国产成人| 亚洲人成网站18禁止| 99re6热视频精品免费观看| 91精品手机国产免费| 中文亚洲AV片在线观看不卡| 亚洲va久久久久| 精品视频一区二区三区免费| 日韩免费无码一区二区视频| 91亚洲自偷在线观看国产馆| 国产无遮挡色视频免费观看性色| 毛片a级三毛片免费播放| 国产男女猛烈无遮挡免费视频网站| 亚洲AV无码之日韩精品| 中文字幕专区在线亚洲| 无码天堂亚洲国产AV| a级毛片免费观看在线| 亚洲精品国产日韩无码AV永久免费网| 亚洲日韩国产成网在线观看| 免费无码国产在线观国内自拍中文字幕| 两性刺激生活片免费视频| 精品亚洲AV无码一区二区| 国产免费av片在线看| 亚洲一区在线视频| 国产精品另类激情久久久免费| MM1313亚洲精品无码久久| 国产精品久久久久影院免费| 免费国产va在线观看| 亚洲香蕉网久久综合影视|