cvs: phpdoc /en/faq languages.xml
| From: | Daniel P. Brown | Date: | Fri, 08 May 2009 14:44:59 +0000 |
| Subject: | cvs: phpdoc /en/faq languages.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3984@lists.php.net to get a copy of this message | ||
danbrown Fri May 8 14:44:59 2009 UTC
Modified files:
/phpdoc/en/faq languages.xml
Log:
Rewrite.
http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/languages.xml?r1=1.16&r2=1.17&diff_format=u
Index: phpdoc/en/faq/languages.xml
diff -u phpdoc/en/faq/languages.xml:1.16 phpdoc/en/faq/languages.xml:1.17
--- phpdoc/en/faq/languages.xml:1.16 Tue Apr 21 01:01:07 2009
+++ phpdoc/en/faq/languages.xml Fri May 8 14:44:59 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
<chapter xml:id="faq.languages" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>PHP and other languages</title>
<titleabbrev>PHP and other languages</titleabbrev>
@@ -16,25 +16,27 @@
</question>
<answer>
<para>
- 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:
+ ASP is not really a language in itself, but an acronym for Active
+ Server Pages; the actual languages used to program ASP include
+ Visual Basic Script, JScript, and C#, among others. The biggest
+ drawback of ASP is that it's a proprietary system that is natively
+ used only on the Microsoft Internet Information Server (IIS) platform.
+ This limits its availability to Win32 based servers. There are a
+ couple of projects in the works that allows ASP to function with
+ other environments and webservers:
<link xlink:href="&url.instantasp;">InstantASP</link>
from <link xlink:href="&url.halcyon;">Halcyon</link> (commercial),
Chili!Soft ASP from
- <link xlink:href="&url.chilisoft;">Chili!Soft</link> (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'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.
+ <link xlink:href="&url.chilisoft;">Chili!Soft</link> (commercial),
and
+ <link xlink:href="&url.mono;">Mono</link> (open-source).
+ ASP is said to be a slower and more cumbersome language than PHP, with
+ less overall stability. One of the pro's of ASP is that, since it
+ primarily uses VBScript, it's relatively easy to pick up the language
+ if you're already proficient in Visual Basic. ASP support is also
+ enabled by default in IIS, making it easy to get up and running.
+ However, the components built in ASP are really limited, so if you
+ need to use "advanced" features (like interacting with FTP servers),
+ you'll need to buy additional components.
</para>
</answer>
</qandaentry>
@@ -46,7 +48,7 @@
<answer>
<para>
Yes, the server-side <link
xlink:href="&url.asp2php;">asp2php</link>
- is the one most often referred to as well as <link
+ is the one most often referenced, and there is also <link
xlink:href="&url.asptranslator;">this client-side</link> option.
</para>
</answer>
@@ -54,28 +56,25 @@
<qandaentry xml:id="faq.languages.coldfusion">
<question>
- <para>PHP vs. Cold Fusion?</para>
+ <para>PHP vs. ColdFusion?</para>
</question>
<answer>
<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'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.
- </para>
- <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 <link
xlink:href="&url.coldfusion.summary;">&url.coldfusion.summary;</link>.
+ programming tasks and trying out new ideas, and is considered by many
+ to be more stable and less resource-intensive as well. While ColdFusion
+ once had better error handling, database abstraction, and date parsing,
+ the database abstraction shortfalls were addressed in PHP 4. A
+ particular quality that is listed as one of ColdFusion's strengths
+ is its excellent search engine, but many strong arguments suggest that
+ a search engine is not something that should be included in a web
+ scripting language. Further, PHP runs on nearly every modern platform
+ in existence, while Cold Fusion is only available on Windows, Solaris,
+ Linux, MacOS, and AIX. Cold Fusion has a good IDE and is generally
+ quicker for new programmers to achieve results for very simple
+ applications, whereas PHP initially requires more programming
+ knowledge. Cold Fusion is designed with non-programmers in mind, while
+ PHP is focused on programmers.
</para>
</answer>
</qandaentry>
@@ -87,15 +86,18 @@
<answer>
<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 '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.
+ scripting for the web, while Perl was designed to do a lot more.
+ Because of this, Perl can get very complicated. The flexibility /
+ complexity of Perl can make it difficult for developers of varying
+ skill levels to collaborate. PHP has a less-confusing and stricter
+ format without losing flexibility. PHP is also easier to integrate into
+ existing HTML than Perl. In large part, PHP has all the 'good'
+ functionality of Perl - constructs, syntax, et cetera - without making
+ it as complicated as Perl can be. Yet PHP's command-line interpreter
+ (CLI) is powerful enough to perform high-level tasks much in the same
+ way Perl has been traditionally employed. Perl is a very tried and
+ true language, and has stood its ground since the 1980's, but PHP has
+ matured and evolved quickly, and continues to make fantastic progress.
</para>
</answer>
</qandaentry>