⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faq.languages.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>PHP and other languages</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="faq.com.html">PHP and COM</a></div> <div class="next" style="text-align: right; float: right;"><a href="faq.migration5.html">Migrating from PHP 4 to PHP 5</a></div> <div class="up"><a href="faq.html">FAQ</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div>  <h1>PHP and other languages</h1>    <p class="para">   PHP is the best language for web programing,   but what about other languages?  </p>  <div class="qandaset"><ol class="qandaset_questions"><li><a href="#faq.languages.asp">     PHP vs. ASP?    </a></li><li><a href="#faq.languages.aspconverter">     Is there an ASP to PHP converter?    </a></li><li><a href="#faq.languages.coldfusion">     PHP vs. Cold Fusion?    </a></li><li><a href="#faq.languages.perl">     PHP vs. Perl?    </a></li></ol>   <dl>    <dt><strong>     <p class="para">PHP vs. ASP?</p>    </strong></dt>    <dd><a name="faq.languages.asp"></a>     <p class="para">      ASP is not really a language in itself, it&#039;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&#039;s a proprietary system that is natively used only on Microsoft      Internet Information Server (IIS). This limits it&#039;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" class="link external">&raquo; InstantASP</a>      from <a href="http://www.halcyonsoft.com/" class="link external">&raquo; Halcyon</a> (commercial),      Chili!Soft ASP from       <a href="http://www.chilisoft.com/" class="link external">&raquo; Chili!Soft</a> (commercial).      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&#039;s relatively easy to pick up the language if you&#039;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 &quot;advanced&quot; features like interacting with FTP servers,      you need to buy additional components.     </p>    </dd>   </dl>   <dl>    <dt><strong>     <p class="para">Is there an ASP to PHP converter?</p>    </strong></dt>    <dd><a name="faq.languages.aspconverter"></a>     <p class="para">      Yes, the server-side <a href="http://asp2php.naken.cc/" class="link external">&raquo; asp2php</a>      is the one most often referred to as well as <a href="http://www.design215.com/toolbox/translator/" class="link external">&raquo; this client-side</a> option.     </p>    </dd>   </dl>   <dl>    <dt><strong>     <p class="para">PHP vs. Cold Fusion?</p>    </strong></dt>    <dd><a name="faq.languages.coldfusion"></a>     <p class="para">      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&#039;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 class="para">      A great summary by Michael J Sheldon on this topic has      been posted to the PHP mailing list. A copy can be found       at <a href="http://marc.theaimsgroup.com/?l=php-general&m=95602167412542&w=1" class="link external">&raquo; http://marc.theaimsgroup.com/?l=php-general&amp;m=95602167412542&amp;w=1</a>.     </p>    </dd>   </dl>   <dl>    <dt><strong>     <p class="para">PHP vs. Perl?</p>    </strong></dt>    <dd><a name="faq.languages.perl"></a>     <p class="para">      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 &#039;good&#039; 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&#039;s been      around since the late eighties, but PHP is maturing very quickly.     </p>    </dd>   </dl>  </div> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="faq.com.html">PHP and COM</a></div> <div class="next" style="text-align: right; float: right;"><a href="faq.migration5.html">Migrating from PHP 4 to PHP 5</a></div> <div class="up"><a href="faq.html">FAQ</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -