Linked by hbbio on Thu 25th Aug 2011 22:14 UTC
General Development "Opa, a new opensource programming language aiming to make web development transparent has been publicly launched. Opa automatically generates client-side Javascript and handles communication and session control. The ultimate goal of this project is to allow writing distributed web applications using a single programming language to code application logics, database queries and user interfaces. Among existing applications already developed in Opa, some are worth a look. Best place to start is the project homepage which contains extensive documentation while the code of the technology is on GitHub. A programming challenge ends October 17th." This is weird. 'Opa' is the nickname my friends gave me 6 years ago. It's still used more often than my actual name...
Thread beginning with comment 486991
To read all comments associated with this story, please click here.
Wt
by pgquiles on Fri 26th Aug 2011 08:14 UTC
pgquiles
Member since:
2006-07-16

Why is a new programming language required to "make web development transparent"?

Opa automatically generates client-side Javascript and handles communication and session control. The ultimate goal of this project is to allow writing distributed web applications using a single programming language to code application logics, database queries and user interfaces


Wt http://webtoolkit.eu does exactly the same but in C++. You develop webapps like desktop apps: widgets, ORM, etc. No need to care about Javascript, HTML, etc. Compilers available on all platforms. The result is a single binary which includes an embedded HTTP(S) server.

While I agree with what Opa wants to achieve, inventing a new programming language for that end is unnecessary and, in fact, will become a burden: they will need to maintain both the language and the library. But actually the value lies in the library, which is the one that needs to deal with HTTP, Javascript, AJAX, etc

Reply Score: 1

RE: Wt
by Nth_Man on Fri 26th Aug 2011 11:36 in reply to "Wt"
Nth_Man Member since:
2010-05-16

I tried Wt and yes, you don't have to worry about HTML5 or Javascript or whatever. Good for me!

"Opa" is not a new concept.

Edited 2011-08-26 11:37 UTC

Reply Parent Score: 2

RE[2]: Wt
by ameasures on Fri 26th Aug 2011 12:29 in reply to "RE: Wt"
ameasures Member since:
2006-01-09

Have been looking into Wt (aka witty) myself so you are right the concept isn't entirely new.

There were, however, tablets before the iPad and MP3 players before the iPod. Being first isn't a substitute for getting it right.

Not at all sure Opa has it right but I'll take a good look.

Way too much web development has involved 4+ languages in a single source file (HTML, CSS, JS and (say) PHP) which has to be crazy for any developer focussing on a real application task.

Furthermore I would love to have my web development underpinned with tools that sort out the multiplicity of browser foibles out there without me tearing my hair out. A recompile with the latest tool edition, I can handle but working around each bug in each version of each browser saps my will to live.

Reply Parent Score: 2

RE: Wt
by zimbatm on Fri 26th Aug 2011 12:05 in reply to "Wt"
zimbatm Member since:
2005-08-22

The language is not even really new. They claim it, but it looks more like ML with some new keywords

Reply Parent Score: 1

RE[2]: Wt
by lambdaterm on Fri 26th Aug 2011 13:34 in reply to "RE: Wt"
lambdaterm Member since:
2011-08-26

Well ML is not itself really new, as it is inspired by LISP.
But just as LISP type system was too week for Robin Milner, the main idea behind Opa is to create a new, richer, type system for web applications.
Seems new "enough".

Reply Parent Score: 1