Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GWT or DOJO or something else?

I come from the Microsoft world (and I come in peace). I want to rapidly prototype a web app and if it works out, take it live - and I don't want to use ASP.Net.

I am not sure which web application toolkit to use though. Should I use GWT, DOJO...other recommendations? I am open to any server-side language but am looking at RoR, Php or even Java (J2EE to be precise). I am not much of a Javascript/CSS guy so a toolkit that might make it relatively easy on me on those fronts would be preferable.

Also, I am a mac user at home. What IDEs go along with the framework you would recommend?

Any recommendations guys?

like image 510
The Fat Oracle Avatar asked Sep 20 '08 14:09

The Fat Oracle


2 Answers

If you're open to doing Java, GWT is the way to go. It allows you to have a relatively uniform codebase across client-server, and to only use one language on both.

There are some limitations to doing very off-the-beaten-path AJAXy things (which GWT makes difficult, but not impossible), but it doesn't sound like that's your use case anyway.

GWT will allow you to scale up by using more of its features as your app gets more complex - and your prototype won't be throwaway code.

like image 101
levik Avatar answered Sep 21 '22 11:09

levik


If you want to write the front and back end in JAVA, and want to do complex ajax type thing, then GWT is a great way to go.

The easiest way to think about it is that building a GWT app is kind of like building a JAVA swing application that hooks into a server. Just like a swing app that uses a server you can make it fat or thin. When you're done it all compiles down into HTML and javascript, and has very good modern browser support (ie6+ ff, opera, safari).

It does abstract all the javascript and HTML away, but if you want it to look good you'll still need to understand CSS.

I think anyone who says that that it ruins MVC or that it's a muddying of client vs server doesn't understand GWT. GWT is a CLIENT side framework. And it is only used on the CLIENT. GWT does provide an RPC mechanism to hook it into JAVA (and other) back ends, but that's just a communication protocol, it doesn't mean that your server code magically becomes your client code. Sure you can write a whole bunch of business rules into your UI if you really wanted to, but you can do this with any framework, so it would be silly to say that GWT is somehow different in that respect.

like image 33
rustyshelf Avatar answered Sep 21 '22 11:09

rustyshelf