Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 42

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>PHP and other languages</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="FAQ: Frequently Asked Questions"
HREF="faq.html"><LINK
REL="PREVIOUS"
TITLE="PHP and COM"
HREF="faq.com.html"><LINK
REL="NEXT"
TITLE="Migrating from PHP 2 to PHP 3"
HREF="faq.migration.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="chapter"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="faq.com.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="faq.migration.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="faq.languages"
>Chapter 53. PHP and other languages</A
></H1
><P
>&#13;   PHP is the best language for web programing,
   but what about other languages?
  </P
><DIV
CLASS="qandaset"
><DL
><DT
>1. <A
HREF="faq.languages.html#faq.languages.asp"
>PHP vs. ASP?</A
></DT
><DT
>2. <A
HREF="faq.languages.html#faq.languages.aspconverter"
>Is there an ASP to PHP converter?</A
></DT
><DT
>3. <A
HREF="faq.languages.html#faq.languages.coldfusion"
>PHP vs. Cold Fusion?</A
></DT
><DT
>4. <A
HREF="faq.languages.html#faq.languages.perl"
>PHP vs. Perl?</A
></DT
></DL
><DIV
CLASS="qandaentry"
><B
><DIV
CLASS="question"
><P
><A
NAME="faq.languages.asp"
></A
><B
>1. </B
>PHP vs. ASP?</P
></DIV
></B
><DIV
CLASS="answer"
><P
><B
> </B
>
      ASP is not really a language in itself, it's an acronym for Active
      Server Pages, the actual language used to program ASP with is Visual
      Basic Script or JScript. The biggest drawback of ASP is that
      it's a proprietary system that is natively used only on Microsoft
      Internet Information Server (IIS). This limits it's availability to
      Win32 based servers. There are a couple of projects in the works
      that allows ASP to run in other environments and webservers:
      <A
HREF="http://www.stryon.com/products.asp?s=1"
TARGET="_top"
>InstantASP</A
>
      from <A
HREF="http://www.halcyonsoft.com/"
TARGET="_top"
>Halcyon</A
> (commercial),
      <A
HREF="http://www.chilisoft.com/"
TARGET="_top"
>Chili!Soft ASP</A
> from 
      <A
HREF="http://www.chilisoft.com/chiliasp/default.asp"
TARGET="_top"
>Chili!Soft</A
>
      (commercial) and <A
HREF="http://www.activescripting.org/"
TARGET="_top"
>OpenASP from
      ActiveScripting.org</A
> (free). ASP is said to be a slower
      and more cumbersome language than PHP, less stable as well. Some of
      the pros of ASP is that since it primarily uses VBScript it's
      relatively easy to pick up the language if you're already know
      how to program in Visual Basic. ASP support is also enabled by
      default in the IIS server making it easy to get up and running.
      The components built in ASP are really limited, so if you
      need to use "advanced" features like interacting with FTP servers,
      you need to buy additional components.
     </P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><B
><DIV
CLASS="question"
><P
><A
NAME="faq.languages.aspconverter"
></A
><B
>2. </B
>Is there an ASP to PHP converter?</P
></DIV
></B
><DIV
CLASS="answer"
><P
><B
> </B
>
      Yes, <A
HREF="http://asp2php.naken.cc/"
TARGET="_top"
>asp2php</A
> is
      the one most often referred to.
     </P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><B
><DIV
CLASS="question"
><P
><A
NAME="faq.languages.coldfusion"
></A
><B
>3. </B
>PHP vs. Cold Fusion?</P
></DIV
></B
><DIV
CLASS="answer"
><P
><B
> </B
>
      PHP is commonly said to be faster and more efficient for complex
      programming tasks and trying out new ideas. PHP is generally referred
      to as more stable and less resource intensive as well. Cold Fusion
      has better error handling, database abstraction and date parsing
      although database abstraction is addressed in PHP 4. Another
      thing that is listed as one of Cold Fusion's strengths is its excellent
      search engine, but it has been mentioned that a search engine is not
      something that should be included in a web scripting language. PHP
      runs on almost every platform there is; Cold Fusion is only available
      on Win32, Solaris, Linux and HP/UX. Cold Fusion has a good IDE
      and is generally easier to get started with, whereas PHP initially
      requires more programming knowledge. Cold Fusion is designed with
      non-programmers in mind, while PHP is focused on programmers.
     </P
><P
>&#13;      A great summary by Michael J Sheldon on this topic has
      been posted to the PHP mailing list. A copy can be found 
      <A
HREF="http://marc.theaimsgroup.com/?l=php-general&m=95602167412542&w=1"
TARGET="_top"
>here</A
>.
     </P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><B
><DIV
CLASS="question"
><P
><A
NAME="faq.languages.perl"
></A
><B
>4. </B
>PHP vs. Perl?</P
></DIV
></B
><DIV
CLASS="answer"
><P
><B
> </B
>
      The biggest advantage of PHP over Perl is that PHP was designed for
      scripting for the web where Perl was designed to do a lot more and can
      because of this get very complicated. The flexibility / complexity
      of Perl makes it easier to write code that another author / coder
      has a hard time reading. PHP has a less confusing and stricter format
      without losing flexibility. PHP is easier to integrate into existing
      HTML than Perl. PHP has pretty much all the 'good' functionality of
      Perl: constructs, syntax and so on, without making it as complicated
      as Perl can be. Perl is a very tried and true language, it's been
      around since the late eighties, but PHP is maturing very quickly.
     </P
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="faq.com.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="faq.migration.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>PHP and COM</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="faq.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Migrating from PHP 2 to PHP 3</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>