Results 1 to 10 of 10

Thread: H2O - I dont mean water!

  1. #1
    Forum Administrator Lefteris_D's Avatar
    Join Date
    Sep 2003
    Location
    Athens, Greece
    Age
    38
    Posts
    3,846

    Default

    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.
    Code:
    <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"
    >>
    ...

  2. #2
    Cool Member TGS's Avatar
    Join Date
    Oct 2003
    Location
    Amsterdam
    Posts
    333

    Default

    The answer is yes.
    Wow! So the refrigerator light does turn off!
    Now... How do I get out of here?

  3. #3
    Banned
    Join Date
    Mar 2004
    Posts
    153

    Default

    What the hell does it have that the rest doesn't?

  4. #4
    Forum Administrator Lefteris_D's Avatar
    Join Date
    Sep 2003
    Location
    Athens, Greece
    Age
    38
    Posts
    3,846

    Default

    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.
    ...

  5. #5
    Banned
    Join Date
    Mar 2004
    Posts
    153

    Default

    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?

  6. #6
    Forum Administrator Lefteris_D's Avatar
    Join Date
    Sep 2003
    Location
    Athens, Greece
    Age
    38
    Posts
    3,846

    Default

    Only time will show, I am a strong php supporter as well.
    ...

  7. #7
    NotImminentlyCollectable NightWish's Avatar
    Join Date
    Nov 2003
    Location
    U.K. Hampshire
    Posts
    3

    Default

    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:
    ...And every word is nonsense but I understand...

  8. #8
    Forum Administrator Lefteris_D's Avatar
    Join Date
    Sep 2003
    Location
    Athens, Greece
    Age
    38
    Posts
    3,846

    Default

    In any case, it wont hurt to test it though I doubt it can beat php 5
    ...

  9. #9
    Jet Set Willy
    Guest

    Default

    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.

  10. #10
    Forum Administrator Lefteris_D's Avatar
    Join Date
    Sep 2003
    Location
    Athens, Greece
    Age
    38
    Posts
    3,846

    Default

    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...
    ...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •