Php Vs Phyton

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Php Vs Phyton - Presentation Transcript

    1. Reported by: Cruz, Argel Guison, Francis Tablan, Miguel Tan, Andrew Ward, Paul Maverick
    2. Both Python and PHP are what have become  known as interpreted scripting languages for web applications. Each has achieved substantial popularity due  primarily to their ability to facilitate rapid prototyping.
    3. Both Phyton and PHP are open source.  Can run almost all platforms without  recompilation | Extremely portable. Recommended and supported by large  developer communities.
    4. Phyton PHP • Python uses whitespace indentation • Codes with lots curly braces [{ }] and dollar signs [ $] • Case Sensitive • PHP variable names are case sensitive, but the names of functions are case insensitive. • Doesn’t support a native switch statement •The 'switch' statement and 'do ... while' Ex: construct result = { Ex: ‘a': lambda x: x * 5, switch ($value) { 'b': lambda x: x + 7, case 'a': $result = $x * 5; break; 'c': lambda x: x - 2 case 'b': $result = $x + 7; break; } [value](x) case 'c': $result = $x - 2; break; } • Functions are declared with the \"def\" • Functions often have prefixes to denote keyword. their source
    5. PHP Phyton • Specialized for Web development • A general purpose programming programming language. language • The built-in library has a wide variety of • Very clear and concise, syntax of codes naming conventions • Not Object oriented • Object-oriented file handling
    6. The PHP is more popular than Phyton in terms  of scripting languages from the web. PHP has more resources  PHP can implement in HTML file. More easier to  understand. Unlike PHP, the developer first must understand  CGI, FASTCGI, MOD_PYTHON, > FLUP, WSGI, PASTE, etc. to use Phyton.
    7. http://simonwillison.net/2004/May/7/switch/  http://wiki.python.org/moin/PythonVsPhp  http://mail.python.org/pipermail/python-  list/2007-July/622266.html

    + Francis GuisonFrancis Guison, 9 months ago

    custom

    420 views, 1 favs, 0 embeds more stats

    The Similarities and Differences of both programmin more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 420
      • 420 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 12
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags