orlade
orlade

Reputation: 2090

Server framework for rich Dojo app?

I've been working with web2py recently, and found it very nice to use for building RESTful web apps. However I've decided to extend my JavaScript skills a bit and tackle a more 'modern', rich, asynchronous client-side JS application. Something like Gmail, in the sense that it loads the UI up-front and then only talks to the server to keep the data in sync.

I'd like to use Dojo (used Dojo and jQuery in the past, and prefer Dojo for its structure) for the client-side stuff, but what should I use on the server side? What's the best way to get Dojo's data stores talking to a standard MySQL database? I sense that something like web2py, as simple as it is, would be overkill when it really just needs to handle AJAX DB requests. I can imagine that if Dojo could talk directly to the DB a server-side framework might not be necessary at all.

There are a few questions like "what is the best framework", whether JS or server, but I guess I'm wondering what role the server-side framework plays at all in an app like Gmail, and what is the most suitable framework for such minimal logic processing?

Upvotes: 0

Views: 654

Answers (1)

regality
regality

Reputation: 6554

When it comes to RIAs (Rich Internet Applications), the server needs to be just as robust and full featured as any other web application. The biggest difference is that the rendering of templates is outsourced to clients via javascript. So the short answer is, it doesn't matter. Just use whatever server side framework you feel most comfortable with.

Upvotes: 2

Related Questions