Aviv Ronen Blog

Jul 15 2008

Babylon - Babylon7 Translation in a click

The leading translation software in the world

I cant tell you how much i like babylon translation tool, so i decided to create a special folder in my blog about that..

Babylon main features:

  • Simple and intuitive Single Click activation
  • Enables full text translation
  • The world’s knowledge of Wikipedia already inside
  • Additional content from Oxford, Britannica, Larousse and other leading publishers
  • Spell check for Hotmail, Gmail, Blogs…
  • Auto completion feature, which completes words or phrases as you type

Why should you use Babylon 7?

Babylon  7:

  • Easy translation at a single-‘Babylon click’!
  • Translates directly from your favorite desktop applications, Word, Outlook and more… in a single click
  • Spell Check for Hotmail, Gmail, Blogs The spell check delivers spelling suggestions along with translation and dictionary results
  • Smart Dictionary – translations to and from any language For example: Chinese to German, French to Italian and more
  • Wikipedia results in 13 languages – in a single click
  • Auto-completion while typing a word for translation
  • Other translation services:

  • Slow, inefficient service that requires the internet.
  • In order to translate a word you will need to copy the desired text, open the browser and paste it in the service.
  • No spell check
  • Translates only to or from English
  • No results from Wikipedia at all or in English only
  • No Auto-completion

  • babylon


    Jul 15 2008

    PHP ociparse Error Handling

    ociparse

    (PHP 4, PHP 5, PECL oci8:1.0-1.2.4)

    ociparse — Alias of oci_parse()

    Description

    This function is an alias of: oci_parse().


     

    $stmt = OCIParse($conn, $query);
    if (!$stmt) {
       $err = OCIError($conn);
       echo “Error:”.$err[”message”];

    }


    Jul 14 2008

    php_manual

    php_manual


    Jun 30 2008

    PHP MySQL Connect

    MySQL Connect

    <?php
    $connection=mysql_connect(”localhost”, “username”, “password”) or die(mysql_error());
    echo “Connected to MySQL<br />”;
    ?>


    Jun 23 2008

    Simple PHP Exception Handling explanation

    What is an Exception

    Finaly, with php5 came a new object oriented way for dealing errors,
    if a specified error (exceptional) condition occurs exception handling is used to change the
    flow of the code execution .

    Exceptions are a great tool and should only be used with error conditions,
    dont ever use them to jump to another place in the code at a specified
    point - you cant know what will happend.

    Basic Use of php5 Exceptions

    When an exception is thrown, PHP will try to find the matching “catch” block.

    The bad way:

    <?php
     function checksum($number1=NULL,$number2=NULL)
       {
           if($number1===NULL OR $number2===NULL)
              {
      throw new Exception("Value must not be NULL");
     }
       return true;
      }
     checksum(7,NULL);
     ?>

    The good way:

    Good Luck! use this php5 tool smartly.