If you look at the docs you'll see it's not trying to replace CSS and HTML (thankfully). CSS and HTML are still used. There just appears to be some extra sugar around HTML templating (and it checks your HTML at compile-time). The 'one unified language' therefore just refers to using a single language on client and server, and as it happens it's a JavaScript like language, so simply in terms of languages used it's not…
Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
61–70 of 88 posts
Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#62Opa however extends the classical syntax with advanced features specific to the web. HTML fragments can be inserted directly without quotes: line = bar ; I'm not sure that this helps readability, feels like reverse php (html inside code, vs code inside html).
Reminds me of XML literals in .NET.
Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#63Earlier quoted context omitted.
Agreed. This 'but we wanna make millions with a dual license as that 0.000001% of open source products do' attitude is definitely the largest barrier for this. And it's incredibly short sighted; just open up (L)GPL and do services + support. All big companies WILL buy support as that's what they do. AGPL is crap and will stop your growth; you have an uphill battle already, so don't do stupid things like that.
All big companies WILL buy support as that's what they do. No they won't. MIT license lets them use the software for free. Why woukd anyone pay anything if it can be used freely?
Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#64Earlier quoted context omitted.
Agreed, the law of leaky abstractions is pretty brutal. When you're writing serious systems you always have to peek under the hood -- e.g. you have to reason about data structure sizes in the JVM, or check out the code that GCC outputs, or look at the Python interpreter source code. Having a bunch of monolithic magic with its own world view sitting between you and the machine is a big barrier. I'm skeptical of anythi…
We've heard this all before, though. 40 years ago, Machine Code was where it was it, and people scoffed at those who were lazy enough to use an assembler. Then Assembly was where it was at, and the abstraction that C provided was leaky and poor, and compiled code could never be as good as hand-written assembly coded directly against the individual processor instruction set. The problem with this argument is that it a…
"Abstraction is layering ignorance on top of reality" -- Richard Gabriel
My opinion is that anything which tries to abstract network communication and make it "transparent" is going to run in to problems at scale. For some reason there is this endless desire of programmers to extend their type system across the wire. It's been tried so many times.
The goal of Opa appears to be "transparency" as discussed here -- making distributed computing look like single-machine computing. This was also the goal of GWT.
http://scholar.google.com/scholar?cluster=700969849916494972...
Also related:
http://scholar.google.com/scholar?cluster=170119098329023261...
Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#65One tool for all jobs never works.
Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#66Christ on a cracker. Web browsers don't understand Opa. They understand HTML. They understand CSS. They understand JavaScript. Who do you want on your team? Someone who understands Opa? Or someone who knows what browsers know, in detail? If I know only Opa I'm limited to what the Opa developers know about these technologies. I'm limited by what they know. By mastering these technologies I'm only limited by what I can…
Computers don't understand HTML, or CSS, or JavaScript. They only understand opcodes.
Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#67My Daddy always taught me, if you try to sit on two chairs, you'll fall in between them.
Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#68Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#69Re: Opa replaces Javascript, HTML, CSS, PHP, and SQL with one unified language.
#70Anyway, the language seems to support all the constructs of the languages it claims to replace - which could easily mean it would be even more confusing than using those languages.
Also, I think Cold Fusion is an effort to do a similar thing and has about fifteen years of history. Railo seems to be an open source clone of CFML: http://www.getrailo.org/