PDA

View Full Version : H2O - I dont mean water!



Lefteris_D
March 10th, 2004, 10:40
Definition: HTML with HTML/OS Overlays.
Website: http://h2o.aestiva.com

Is this going to be something that nobody will remember like the D programming language or Dark Basic?

Example: Building a web-based calculator is easy. Consider the code below. This simple calculator is good place to start if you're building a special-purpose calculator. (http://h2o.aestiva.com/h2o/code/calculator.html)

<html>
<title>Calculator</title>
<body bgcolor=white>
<<
IF Calc.Num1 = "ERROR" THEN
Calc.Num1 = "0" Calc.Num2 = "0" Calc.Total = "0"
/IF
>>
<br><br>
<form method=post action=CALCULATE>
<center>
<table border=1 cellpadding=15 cellspacing=0><tr>
<td bgcolor=lightblue align=center>
<font size=4 color=red><b>CALCULATOR</b></font><br>
<font size=2><b>Select Operation &
Click Calculate</b></font></td></tr>
<tr><td>
<table border=0>
<tr><td align=left valign=top>
<input type=submit name=Calc.MyButton value="CLEAR">
<br><br></td></tr>
<tr><td></td><td><input type=text size=7 name=Calc.Num1></td></tr>
<tr><td><select name=Calc.Op size=1>
<option value="+"> +
<option value="-"> -
<option value="/"> /
<option value="*"> *
</select></td>
<td><input type=text size=7 name=Calc.Num2></td></tr>
<tr><td>
<input type=submit name=Calc.MyButton value="Calculate>">
</td>
<td><font color=darkred><b><<Calc.Total>></b></font></td></tr>
</table>
</td></tr></table>
</center>
</html>
<<OVERLAY calculate
IF Calc.MyButton="CLEAR" THEN
Calc.Num1="0" Calc.Num2="0" Calc.Total="0" Calc.Op="+"
GOTO "calculator.html"
/IF
IF Calc.Op = "+" THEN
Calc.Total = Calc.Num1 + Calc.Num2
ELIF Calc.Op = "-" THEN
Calc.Total = Calc.Num1 - Calc.Num2
ELIF Calc.Op = "*" THEN
Calc.Total = Calc.Num1 * Calc.Num2
ELIF Calc.Op = "/" THEN
Calc.Total = Calc.Num1 / Calc.Num2
/IF
GOTO "calculator.html"
>>

TGS
March 10th, 2004, 17:03
The answer is yes.

Spekkio
March 10th, 2004, 18:18
What the hell does it have that the rest doesn't?

Lefteris_D
March 11th, 2004, 08:57
Originally posted by Spekkio@Mar 10 2004, 07:18 PM
What the hell does it have that the rest doesn't?
The same can be asked about PHP, ASP, Perl and many other web scripting languages.

Only time will show.

Spekkio
March 11th, 2004, 10:55
Originally posted by Lefteris_D+Mar 11 2004, 07:57 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (Lefteris_D @ Mar 11 2004, 07:57 AM)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-Spekkio@Mar 10 2004, 07:18 PM
What the hell does it have that the rest doesn&#39;t?
The same can be asked about PHP, ASP, Perl and many other web scripting languages.

Only time will show. [/b][/quote]
PHP is established and as far as I saw you can do almost anything with it.
What does this want to do if it can&#39;t do at least what PHP can?

Lefteris_D
March 11th, 2004, 10:57
Only time will show, I am a strong php supporter as well.

NightWish
March 11th, 2004, 14:56
Well, I tried to read the site with an open mind. They make a lot of claims but few of them convince me to look into it seriously. Furthermore when they make claims like:

Originally posted by AESTIVA White Paper
Your language is easier. It&#39;s English-like so there&#39;s no need to "comment" code.
<snip/>
The H2O "high-level interpreted" architecture means programs run about as fast as compiled C.
I can&#39;t take what they say with any level of confidence... This lack of confidence is further hit when they claim "portability" and only list a hand full of providers actually running the hosting software. <_<

Quite frankly I don&#39;t see a place for the language in any of the "public" markets -- as everyone else has said... what does it offer the others don&#39;t? We have a lot of "web"-esq languages already. It might gain following in a few business sectors. However, with Microsoft&#39;s heavily supported and "pushed" ASP.NET, free things like JSP and the widly used PHP, I don&#39;t see it&#39;s unsubstantiated claims winning anyone&#39;s hearts; or wallets.

From a personal point of view... I don&#39;t think I&#39;ll give it any more of my valuable time. It is an ugly language... Ok, I&#39;m not a fan of high-level languages but ... it just looks clunky and untidy. Lastly any language that thinks it is ok with out comments is doomed in my book... what was the author of that document thinking...... :blink:

Lefteris_D
March 11th, 2004, 15:07
In any case, it wont hurt to test it though I doubt it can beat php 5 ;)

Jet Set Willy
March 11th, 2004, 20:29
They lost any confidence I had in them when they claimed it would be as fast as C. A good reason C is so fast is that you can implement low-level optimisations, something you clearly cannot do with this language. It just looks like some computer science students got over-excited.

Lefteris_D
March 11th, 2004, 21:45
Regarding the host support issue. Based on their instructions you can install it on any virtual host as long as you have access to a cgi-bin directory and the proper chmod permissions. Can anyone bother to test it? I failed to install it to my pc due to bad apache configuration...