LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-28-2004, 09:42 PM   #1
woranl
Member
 
Registered: Apr 2003
Location: Toronto
Distribution: Fedora Core
Posts: 119

Rep: Reputation: 15
Question xml, php, asp ?


What's the different between php, asp, and xml ?

I used to write web applications in asp using vb (in Windows of cuz). But now I want to try linux, so vb is not very appropriate (can Linux run vb?) .

I know nothing about php and xml.

So what are the different between all of them ??
 
Old 01-28-2004, 09:52 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
php is a programming language in itself. "ASP" is a scripting language, and PHP is advertised as the same. phpbuilder.com is a very useful site for starter scripts (though the last i went there was 3 years ago.)
xml is a means of storing and transferring data. i wont use any jargon (metadata, pop/mom, blah blah...). it's easy to read, but as the amount of data increases, so will the size of your file, which may not be good.

use php/asp to pass xml data around.
 
Old 01-29-2004, 01:51 PM   #3
acjt
Member
 
Registered: Dec 2002
Location: Australia
Distribution: Gentoo
Posts: 161

Rep: Reputation: 30
You can use XML to write a web application.
xml + xsl -> xslt -> html page.
Can be a nice way to do it, also works the other way and can become a bad way to do it. Depends on your situation, but it is an option all the same.
PHP seems to be very very popular in the open source world, and I've started seeing commercial sites/jobs requiring this skill.
Another option is of course JSP.
Again, depends on what type of web application you wish to write.
 
Old 01-29-2004, 06:13 PM   #4
woranl
Member
 
Registered: Apr 2003
Location: Toronto
Distribution: Fedora Core
Posts: 119

Original Poster
Rep: Reputation: 15
If all three can do the same thing, how can I choose which one to use ?

Is ASP only for Microsoft? and PHP for open source?
I'm new to web programing on linux, how can I build ASP on linux?

Can you pls list some advantage & disadvantage between all of them?

If I need to learn one of the three right now, which one will you suggest?
 
Old 01-29-2004, 08:29 PM   #5
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Yes, ASP is mainly for Windows, don't bother with XML beyond data storage for now. If you want to make dynamic sites, learn some PHP (with a mysql database as your back end).
 
Old 01-31-2004, 12:41 PM   #6
Chris Weimer
Member
 
Registered: Jan 2004
Location: NYC
Distribution: Fedora XFCE
Posts: 91

Rep: Reputation: Disabled
agreed, PHP and MySQL are together a very strong force for web applications/dynamic websites. If you process a lot of information, it may be helpful to use XML, and ASP - well, forget about it. Deemed worthless for Linux OS.
 
Old 01-31-2004, 12:54 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Part of the decision depends on what you wnat to do and whether you want to run client or server side scripts.
 
Old 02-01-2004, 09:39 AM   #8
wood
Member
 
Registered: Aug 2003
Posts: 78

Rep: Reputation: 15
How about perl? is perl better than php, or the opposite way?
 
Old 02-01-2004, 09:43 AM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
As with all programming languages - "Neither is better". Both have their advantages depending on what you wish to achieve.
 
Old 02-02-2004, 10:14 AM   #10
caged
Member
 
Registered: Jan 2004
Location: new zealand
Distribution: Mandrake,Slackware
Posts: 165

Rep: Reputation: 30
i really like PHP more so than ASP. even running on iis PHP just seemed faster.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP vs. PHP Question irfanhab Programming 1 01-06-2005 07:43 AM
PhP vs Asp essoft478 Programming 4 09-12-2004 03:36 PM
ASP to PHP Conversion Goblin Programming 11 08-26-2003 12:43 PM
php vs asp.net lackluster General 4 07-18-2003 12:12 AM
Xml & Asp.net futurist Linux - Software 1 03-25-2003 10:24 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration