Ask a Question related to PHP Development, Design and Development.
-
Peter van Rijt #1
Difference between ASP & PHP
I doubt about the difference between ASP & PHP.
Some people say that PHP is faster than ASP and PHP is the free equivalant
of ASP.
An other difference between PHP and ASP would be that PHP is free and ASP is
the Microsoft paid equivalant.
Do you know what are the differences or if the above one's are true?
I hope you have an answer for me, thanks already for reading this!
Grtz,
Peter van Rijt - The Netherlands
-= Excuse me for my bad English. -=
Peter van Rijt Guest
-
what's the difference?
Greetings - I'm looking to buy a good beginners book on DMX/php/mysql and I see this one mentioned all over the place, but I also hear complaints... -
FMS vs FCS, BW difference?
We are migrating our system from FCS to FMS 2.0.4r79, running on Debian Sarge. With pre-recorded videos (flv), which is what we're testing first,... -
Why is there a difference??
I'm noticing that for some reason the 2 icons I have on my page are moving in different browsers. Look fine in IE but not in Firefox. Page is... -
difference between these 2?
In some examples I am looking through they are speaking of datagrids and datalists (this is not the question :) For the datalist a column is... -
what is the difference....
Hi, What is the difference between.... $data = file($this->URL); ....and... $data = @file($this->URL); -
Cameron #2
Re: Difference between ASP & PHP
Peter van Rijt wrote:
First of all PHP is multi-platform, ASP runs only on windows based systems> I doubt about the difference between ASP & PHP.
>
> Some people say that PHP is faster than ASP and PHP is the free equivalant
> of ASP.
> An other difference between PHP and ASP would be that PHP is free and ASP
> is the Microsoft paid equivalant.
>
> Do you know what are the differences or if the above one's are true?
>
> I hope you have an answer for me, thanks already for reading this!
>
> Grtz,
> Peter van Rijt - The Netherlands
>
> -= Excuse me for my bad English. -=
as I am aware, ASP also uses a load of COM objects which are rather slow,
so yes it is true that PHP is faster than ASP but obviously depends on what
you are doing.
~Cameron
Cameron Guest
-
Chris Dingman #3
Re: Difference between ASP & PHP
ASP is based on Microsoft Visual Basic whereas PHP is based on C/C++/PERL.
Basically PHP was meant to run on a *NIX platform (although there are
windows distributions) and ASP will only run on a Windows machine.
In the end it is possible to achieve more or less the same results, they
just do it in quite different ways.
I would seriously say that the previous post is correct in saying that ASP
is probably slower.
--
Chris Dingman
Webmaster
Cabaret Theatre
[url]http://www.cabarettheatre.org[/url]
Now selling officially licensed Cabaret Theatre merchandise
"Cameron" <devnull@devnull.invalid> wrote in message
news:buhlut$nep$1@news6.svr.pol.co.uk...equivalant> Peter van Rijt wrote:
>> > I doubt about the difference between ASP & PHP.
> >
> > Some people say that PHP is faster than ASP and PHP is the freeASP> > of ASP.
> > An other difference between PHP and ASP would be that PHP is free andwhat>> > is the Microsoft paid equivalant.
> >
> > Do you know what are the differences or if the above one's are true?
> >
> > I hope you have an answer for me, thanks already for reading this!
> >
> > Grtz,
> > Peter van Rijt - The Netherlands
> >
> > -= Excuse me for my bad English. -=
> First of all PHP is multi-platform, ASP runs only on windows based systems
> as I am aware, ASP also uses a load of COM objects which are rather slow,
> so yes it is true that PHP is faster than ASP but obviously depends on> you are doing.
>
> ~Cameron
Chris Dingman Guest
-
Cameron #4
Re: Difference between ASP & PHP
Chris Dingman wrote:
<snip>> ASP is based on Microsoft Visual Basic whereas PHP is based on C/C++/PERL.
>
> Basically PHP was meant to run on a *NIX platform (although there are
> windows distributions) and ASP will only run on a Windows machine.
>
> In the end it is possible to achieve more or less the same results, they
> just do it in quite different ways.
>
> I would seriously say that the previous post is correct in saying that ASP
> is probably slower.
>
>
> --
> Chris Dingman
> Webmaster
> Cabaret Theatre
> [url]http://www.cabarettheatre.org[/url]
>
> Now selling officially licensed Cabaret Theatre merchandise
Not exactly true that ASP is based on MS Visual Basic, as you can use
Javascript for ASP as well as other languages, ASP is not a language its
self, it's like an interface to the server a "container" for a scripting
language.
~Cameron
Cameron Guest
-
Ike #5
Re: Difference between ASP & PHP
And Asp.Net, like JSP, is a true object-oriented way of doing things, wheres
our (in php) "object-orientation," is rather ad-hoc. Ironically, php
requires perhaps the least other software on a server vs. the other two
ways. -Ike
"Cameron" <devnull@devnull.invalid> wrote in message
news:buho3h$ehs$1@news7.svr.pol.co.uk...C/C++/PERL.> Chris Dingman wrote:
>> > ASP is based on Microsoft Visual Basic whereas PHP is based onASP> >
> > Basically PHP was meant to run on a *NIX platform (although there are
> > windows distributions) and ASP will only run on a Windows machine.
> >
> > In the end it is possible to achieve more or less the same results, they
> > just do it in quite different ways.
> >
> > I would seriously say that the previous post is correct in saying that> <snip>> > is probably slower.
> >
> >
> > --
> > Chris Dingman
> > Webmaster
> > Cabaret Theatre
> > [url]http://www.cabarettheatre.org[/url]
> >
> > Now selling officially licensed Cabaret Theatre merchandise
>
> Not exactly true that ASP is based on MS Visual Basic, as you can use
> Javascript for ASP as well as other languages, ASP is not a language its
> self, it's like an interface to the server a "container" for a scripting
> language.
>
> ~Cameron
Ike Guest
-
Filth #6
Re: Difference between ASP & PHP
what> First of all PHP is multi-platform, ASP runs only on windows based systems
> as I am aware, ASP also uses a load of COM objects which are rather slow,
> so yes it is true that PHP is faster than ASP but obviously depends onthere is such a thing as apache asp which runs on *nix servers but having> you are doing.
never used it or know much about asp I don't know if there are many
differences between this and the windows version
Filth Guest
-
Daniel Andislic #7
Re: Difference between ASP & PHP
hi,
php is more like scripting language and asp an platform that supports few
languages (c#, c++, vb, ..).
php is easier to lern but also less powerful than asp (asp.net uses .net
framework with all functions).
php is free, asp does cost (too much).
php runs under windowz and unixoid-OS, asp needs MS IIS, so it's bound to
the windowz.
php is great for smaller projects..
php rulez :D
regards,
d
"Peter van Rijt" <petervanrijt@chello.nl> wrote in message
news:zSYOb.57857$tu.10304@amsnews03.chello.com...is> I doubt about the difference between ASP & PHP.
>
> Some people say that PHP is faster than ASP and PHP is the free equivalant
> of ASP.
> An other difference between PHP and ASP would be that PHP is free and ASP> the Microsoft paid equivalant.
>
> Do you know what are the differences or if the above one's are true?
>
> I hope you have an answer for me, thanks already for reading this!
>
> Grtz,
> Peter van Rijt - The Netherlands
>
> -= Excuse me for my bad English. -=
>
>
Daniel Andislic Guest
-
Savut #8
Re: Difference between ASP & PHP
ASP can run on Unix also with java parser, Chilisoft or others modules. It's
not the best solution but still almost all the features of asp work fine. As
you said, it's true that asp is more robust with .Net framework and run
better. With Win2003 Server, ASP.NET outperform Apache+PHP by far, as IIS
is embedded in the kernel of the system and ASP is compiled but php is just
parsed, unless you have Zend.
[url]http://www.serverwatch.com/tutorials/article.php/3294371[/url]
[url]http://www.serverwatch.com/tutorials/article.php/10825_3074841_2[/url]
ASP itself is not a language, you have to choose a language to create asp
page. But most use vbscript, c++ or c#. They are all more Object Oriented
Programming than PHP, PHP5 is not yet close to OOP but is by far very good.
But the problem with ASP is it is not suited for small projects because it's
longuer to code and you have to create lot of Object COM and define their
properties.
Like when you need to send mail...
ASP:
'Create Variable Before to Use (a must in asp with option explicit)
Dim Message
'Create CDO message object
Set Message = CreateObject("cdonts.NewMail")
Message.To = GetTo
Message.Subject = GetSubject
Message.Body = GetBody
Message.MailFormat = 1
Message.BodyFormat = 1
'Send the message (message wont send it you dont tell him to send)
Message.Send
'Clear the Object CDO memory (destruction)
Set Message = Nothing
PHP:
mail("$to", "$subject", "$body", "$header");
To copy files...
ASP:
' We call the FileSystemObject and tell it to move the file, then we
destruct it after
' FileSystemObject can not only copy file, but can move file and delete
also. He can handle almost everything you want to do with files.
Set fso = Server.CreateObject( "Scripting.FileSystemObject" )
fso.CopyFile( "e:\\webdev\\testarea\\testfile.txt",
"d:\\webserver\\wwwroot\\docs\\testfile.txt", true )
Set fso = Nothing
PHP:
cp("$src", "$des");
In a beginner way to explain this, I can say ASP works with creating object
that will do our work, all we have to do is to define him and tell him what
to do. PHP work more like just function that are defined to do the thing we
want to do, when you need to mail, you call mail(), when you need to copy,
you call cp(), when you need to delete, you call unlink(). For some it's
more confusing than ASP, but for others it's an advantage as it's simplier
as you need need to know who can do what. I hope this will help most people
to understand.
Savut
Savut Guest
-
Savut #9
Re: Difference between ASP & PHP
*** Mistyping last post***
but for others it's an advantage as it's simplier as you *need* need to know
who can do what.
but for others it's an advantage as it's simplier as you dont need to know
who can do what.
Savut
Savut Guest
-
Cameron #10
Re: Difference between ASP & PHP
Daniel Andislic wrote:
<snip>> hi,
>
> php is more like scripting language and asp an platform that supports few
> languages (c#, c++, vb, ..).
>
> php is easier to lern but also less powerful than asp (asp.net uses .net
> framework with all functions).
>
> php is free, asp does cost (too much).
>
> php runs under windowz and unixoid-OS, asp needs MS IIS, so it's bound to
> the windowz.
>
> php is great for smaller projects..
>
> php rulez :D
>
> regards,
> d
>
PHP is less powerful than ASP???
Explain what parts of PHP are less powerful than ASP
~Cameron
Cameron Guest
-
Chris Dingman #11
Re: Difference between ASP & PHP
Less powerful is a very broad term...Less powerful in what sense? To do
what? On what type of system?
--
Chris Dingman
Webmaster
Cabaret Theatre
[url]http://www.cabarettheatre.org[/url]
Now selling officially licensed Cabaret Theatre merchandise
"Cameron" <devnull@devnull.invalid> wrote in message
news:bukmoi$pfh$1@newsg3.svr.pol.co.uk...few> Daniel Andislic wrote:
>> > hi,
> >
> > php is more like scripting language and asp an platform that supportsto> > languages (c#, c++, vb, ..).
> >
> > php is easier to lern but also less powerful than asp (asp.net uses .net
> > framework with all functions).
> >
> > php is free, asp does cost (too much).
> >
> > php runs under windowz and unixoid-OS, asp needs MS IIS, so it's bound> <snip>> > the windowz.
> >
> > php is great for smaller projects..
> >
> > php rulez :D
> >
> > regards,
> > d
> >
>
>
> PHP is less powerful than ASP???
>
> Explain what parts of PHP are less powerful than ASP
>
> ~Cameron
Chris Dingman Guest
-
Dmitry Ruban #12
Re: Difference between ASP & PHP
PHP is interpreter itself and its less powerful then ASP dot NET by default.
Im not talkin about previuos ASP framework
Besides PHP is restricted by build-in funtions and extentions.
In ASP.NET framework you have full access to all system resources through hi
or low level API functions.
This is simple answer.
"Cameron" <devnull@devnull.invalid> wrote in message
news:bukmoi$pfh$1@newsg3.svr.pol.co.uk...>
>
> PHP is less powerful than ASP???
>
> Explain what parts of PHP are less powerful than ASP
>
> ~Cameron
Dmitry Ruban Guest



Reply With Quote

