Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A web framework where AJAX was not an after thought

AJAX is a pain in the ass because it essentially means you'll have to write two sets of similarish code: one for browsers with JavaScript enabled and those without.

Not only this, but you have to connect JavaScript events to hook into your models and display the results.

And if all that weren't bad enough, you need to send an address change with the request, otherwise the user won't be able to "click back" correctly (if confused look at what happens to the address bar when you click links in GMail).

We're searching for something that had the foresight and design goals with all these concerns in mind.

Performance and security are also obvious major concerns.

We love config-based systems as well, where you don't have to write a lot of code you just drop it into an easily read config format.

It's like asking for the holy grail right?

like image 824
Pirate for Profit Avatar asked Apr 15 '10 02:04

Pirate for Profit


1 Answers

Have you given a look to Pyjamas

Quoted from the site

Why should I use it?

You can write web applications in python - a readable programming language - instead of in HTML and Javascript, both of which become quickly unreadable for even medium-sized applications. Your application's design can benefit from encapsulating high level concepts into classes and modules (instead of trying to fit as much HTML as you can stand into one page); you can reuse - and import - classes and modules.

Also, the AJAX library takes care of all the browser interoperability issues on your behalf, leaving you free to focus on application development instead of learning all the "usual" browser incompatibilities.

like image 191
Anurag Uniyal Avatar answered Sep 22 '22 00:09

Anurag Uniyal