Wednesday, March 19, 2008

PHP & others

What is PHP?
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
http://www.php.net/
http://au2.php.net/manual/zh/language.basic-syntax.php for basic syntax,
http://au2.php.net/manual/zh/index.php for PHP manual
I read the introductory tutorial. http://au2.php.net/tut.php
I'm interested in comparing PHP with ASP, because I used a little ASP before, but later I found a lot of developers use PHP.
1. Open Source. User have to pay for upload, send Email, etc. in ASP, but it's free in PHP.
2. PHP is faster,
3. support from ISAPI,

Perl、PHP、ASP、JSP
1. Perl(Practical Extraction and Report Language)- An old language, flexible, very easy to write obfuscated and confusing Perl.
2.PHP (Hypertext Preprocessor)- uses a blend of interpretation and compilation in order to provide the best mix of performance and flexibility to programmers.
3. ASP (Active Server Pages)- it is proprietary, single platform (Windows), and slow.
Can I say the dollar-sign in PHP is cool, and I like it.
4. Cold Fusion -The biggest advantage to ColdFusion is its IDE and the language it uses, "CFML" (ColdFusion Markup Language), The main drawback is user-friendliness, stock ColdFusion has just one way to solve a problem, and this greatly reduces your control over the solution you make.
5. JSP(JavaServer Pages)- "dark horse" in web scripting, a popular choice when existing back-end business logic is written in Java.
PHP Equivalents for ASP Objects http://phplens.com/phpeverywhere/node/view/32
Looks like I found some answers to some simple questions but came with more complicated questions.

No comments: