Tuesday, July 31, 2007

Django or Rails for Grails user

I had a wonderful experience with Grails after finishing two projects. If you are a new Java programmer who's looking for a good web frameworks, Grails will be your savior just like what it was to me.

Here's what I like about Grails

  • Relatively easy to learn compared to other Java web frameworks.
  • Provides the basic things that one need, it's all there and there's not much
    to configure (ex. No XML).
  • It's agile!
  • Good ORM built on top of Hibernate.
  • Grails was developed mostly in Java so it's enterprise-ready and it scales well.
  • Uses groovy. Easy to learn Java scripting language
  • Although it's not really Java, it does take advantage of the massive amount of Java libraries available, including ones I use like the Java Excel API and JFreeChart.
  • I like database stored procedure programming, and calling stored procedure
    from Grails is easy as well as executing complex sql queries.
  • Integrate my choice of Javascript framework easily. I use jQuery.
  • Grails helps me code properly because of its MVC pattern and services
    concept.
  • Grails plug-in are so cool like Quartz and Searchable

One of the requirements of my next project is that it be hosted on the internet. My client doesn't care what technology I use but wants the hosting fee to be as low as possible. And as we all know, Java web hosting is not cheap compared to others.

I hope to use a non-Java web framework, Django or Ruby on Rails, that I could be comfortable with because of the knowledge and experience I have with Grails. I'd like to see the things that I like in Grails on them. Right now, I'm gearing towards Django because I know a little of Python.

Comments & Suggestions?

19 comments:

Anonymous said...

Check out rimuhosting.com before you decide that hosting for Java is too expensive. [no connection other than being a satisified customer bla bla bla]

Anonymous said...

I would avoid shared hosting altogether for a django or rails app and go with a virtual machine (or dedicated server). There are quite a number around nowadays and you might even find one that's cheap enough for you to continue using grails.

Anonymous said...

Go with Rails. Grails is adapted from Rails, and Groovy is much closer conceptually to Ruby than Python.

Anonymous said...

i'd like to see the source code from a real-world grails app. would you be willing to share it?

Anonymous said...

Learning a framework takes longer than learning either Python or Ruby, both of which are easy to pick up. So I'd say choose the framework closest to what you are used to. In this case, it would be Rails.

Shadowfiend said...

Learning a framework will take longer than learning either Python's or Ruby's syntax. There's far more about both to learn, however, and learning a framework will typically *guide* your learning of its underlying language -- meaning you'll be learning both at the same time, even if you come in already knowing a little of the language. At least that's how it worked for me with Ruby.

Anonymous said...

does Grails support JQuery?

darryl.west said...

i am currently testing grails on slicehost, a virtual hosting shop. $20/month for the smallest slice, good for testing. $40-$60 for a production ready, small site.

another option is amazon EC2, but it's about $70/month for full time use. the biggest advantage is that you pay by the hour, so spinning up new servers is always based on demand.

I'm also considering using JQuery for my latest grails project. Did you have any troubles with it?

thanks...

James Chua said...

@darryl.west

I got no problem with grails and jquery. Technically there's no such as compatibility problem when it comes to web framework and javascript library. btw jQuery rocks!

aircraft support said...

black mold exposureblack mold symptoms of exposurewrought iron garden gatesiron garden gates find them herefine thin hair hairstylessearch hair styles for fine thin hairnight vision binocularsbuy night vision binocularslipitor reactionslipitor allergic reactionsluxury beach resort in the philippines

afordable beach resorts in the philippineshomeopathy for eczema.baby eczema.save big with great mineral makeup bargainsmineral makeup wholesalersprodam iphone Apple prodam iphone prahacect iphone manualmanual for P 168 iphonefero 52 binocularsnight vision Fero 52 binocularsThe best night vision binoculars here

night vision binoculars bargainsfree photo albums computer programsfree software to make photo albumsfree tax formsprintable tax forms for free craftmatic air bedcraftmatic air bed adjustable info hereboyd air bedboyd night air bed lowest pricefind air beds in wisconsinbest air beds in wisconsincloud air beds

best cloud inflatable air bedssealy air beds portableportables air bedsrv luggage racksaluminum made rv luggage racksair bed raisedbest form raised air bedsaircraft support equipmentsbest support equipments for aircraftsbed air informercialsbest informercials bed airmattress sized air beds

bestair bed mattress antique doorknobsantique doorknob identification tipsdvd player troubleshootingtroubleshooting with the dvd playerflat panel television lcd vs plasmaflat panel lcd television versus plasma pic the bestThe causes of economic recessionwhat are the causes of economic recessionadjustable bed air foam The best bed air foam

hoof prints antique equestrian printsantique hoof prints equestrian printsBuy air bedadjustablebuy the best adjustable air bedsair beds canadian storesCanadian stores for air beds

migraine causemigraine treatments floridaflorida headache clinicdrying dessicantair drying dessicantdessicant air dryerpediatric asthmaasthma specialistasthma children specialistcarpet cleaning dallas txcarpet cleaners dallascarpet cleaning dallas

tomas said...

Well, you could also write it with Grails and host it on Mor.ph

Anonymous said...

[url=http://desethepl.freehostia.com/75/04-2010.php]Мне 20 лет диета[/url]
- голодание похудеть

[url=http://dnevnik.bigmir.net/groups/article/56377]диета для очень быстрого похудения [/url]

[url=http://dnevnik.bigmir.net/groups/article/56374]диеты для похудения жесткие[/url]

buy viagra said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I dont know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Anonymous said...

[url=http://www.pi7.ru/zhenskiy-zhurnal/1643-ty-krasiva-ot-prirody.html ]Почему вы считаете, что женщина чтото должна мужчине? [/url]
У меня есть любовник,так как мужу до меня дела нет. Поэтому прошу не развивать эту тему тут тема про другое. Муж в частых командировках. И когда он там мы встречаемся с любовником у него дома.
Он очень ко мне привязан, для него это не столько секс, он ведёт себя как по уши влюблённый .
Всё для меня делает, каждый день гладит везде где только можно целует, обнимает, и посмотрит влюблёнными глазами.
Не хочет отпускать ни на шаг. Когда приезжает благоверный мы видимся редко. Но я могу всё сделать для того сыскать время его на пару часов увидеть. Позвонить. Мы оба каждый вечер в мессенжере. Он мне никогда не пишет сам. Ну порой может. А когда я ему пишу он ответит что-то коротко и всё. Ничего не спросит, ничего от себя не скажет. И так каждый день. Иногда мне казалось что он просто меня забывает. Но когда у нас появляется вполне вероятность видеться.Т.е. благоверный в командировке, машина в моем постановлении и т.д. и я приезжаю к нему, так он весь пылает от любви ко мне. Говорит что не может без меня..
Как можно обьяснить его нежелание пообщаться в МСН???

Anonymous said...

Многие возмущаются, что руские слишком часто ругаются матом. Нет, это американцы ругаются, а мы им РАЗГОВАРИВАЕМ Хорошо зафиксированный пациент в анастезии не нуждается Все люди делятся на две категории:

Anonymous said...

Хороший пост! Подчерпнул для себя много нового и интересного! Пойду ссылку другу дам в аське :)

Anonymous said...

привет, Забавная информация

Anonymous said...

Хеј јако лепо блогу! Ман .. Лепа .. Амазинг .. Ја ћу маркер ваш блог и да се храни ...

Anonymous said...

Всем привет, Мне кажется это отличная фраза