Jump to content
xisto Community
Sign in to follow this  
Cookiemonster1405241499

ASP Or PHP: Which Is More Powerful ? what do you thinks more powerfull

Recommended Posts

i always thought PHP was more easier and powerfull than asp, active server pages but what is PHP stand for. I want to learn PHP as i heard its the best script to make a site in. Any advise people

Notice from m^e:
Once again your primary question is about PHP and learning PHP and you've posted it in ASP.NET section. Read the forum descriptions at least before you make a post.
Edited by miCRoSCoPiC^eaRthLinG (see edit history)

Share this post


Link to post
Share on other sites

PHP does NOT mean "personal homepage" or any other stuff like that, it means "Hypertext Preprocessor". The main resource for learning PHP is http://php.net/ , many of the tutorials there exist in different languages. Have fun!

Just in case you decide to learn ASP, I think you should consider to learn ASP.NET, it's the "latest remix" of ASP, with some major differences.

GrettingZ

Share this post


Link to post
Share on other sites

If I recall correctly, when the script was created by Rasmus Lerdorf in 1995, it really did stand for Personal Home Page/Form Interpreter (PHP/FI).It had it's name changed around when PHP 3.0 was released because this was pretty much a new rewritten language and it wanted to get away from being thought it was only limited to personal homepages.I have not used ASP nor can really say much on it, other than it's not supported fully by all browsers, or it could be but web developers don't design their site that way, or browser developers don't implement it. That is it's biggest downfall to me and a good enough reason why I wouldn't touch it.To me PHP is a powerful language and has a lot of potential, I recommend it to anyone web developing and believe it's a lot better supported and can introduce you into other languages that you may want to learn.What I would like to know is there anything that ASP does that PHP can't do? (within reason)Cheers,MC

Share this post


Link to post
Share on other sites

i have used ASP .NET and PHP. i have many experiences with PHP and it is really powerful. but about ASP .NET is that it has a high level of customization on how each of the classes would work.

Share this post


Link to post
Share on other sites

Personally, I have found php a lot easier to work with for my web design than asp. As I describe it to my friends, PHP is kinda like HTML on acid. I like the way that you can have a big site basically divided into ten PHP pages or so, and it's easier to edit when you're changing the layout. I mean, when I want to change nevernormal.com, I make the basic layout in a div layer oriented HTML page, and then copy and paste the pertinent sections into the index.php file, the header.inc file, and the footer.inc file, and I'm basically done, since the content pages all have the INCLUDE header and footer tags there....a heck of a lot easier than having a tables or div layout with simply HTML...I'd spend twice or three times as much time on one site if that was the case.So, like I was saying, I prefer PHP because it's easier for me, a relative novice in these kind of scripts, to be able to get my layout across without too many problems.

Share this post


Link to post
Share on other sites

PHP is kinda like HTML on acid.  I like the way that you can have a big site basically divided into ten PHP pages or so, and it's easier to edit when you're changing the layout.  I mean, when I want to change nevernormal.com, I make the basic layout in a div layer oriented HTML page, and then copy and paste the pertinent sections into the index.php file, the header.inc file, and the footer.inc file, and I'm basically done, since the content pages all have the INCLUDE header and footer tags there....a heck of a lot easier than having a tables or div layout with simply HTML...I'd spend twice or three times as much time on one site if that was the case.

 

So, like I was saying, I prefer PHP because it's easier for me, a relative novice in these kind of scripts, to be able to get my layout across without too many problems.

<{POST_SNAPBACK}>


But how that differs from ASP? What you are saying is that you like server side scripting and dynamic webpages. ASP doesn pretty much the same, the code is just different.

 

 

The both languages do the stuff that they were created for really well. The differences can be found on more specialized stuff.

 

I think that wheter PHP or ASP is easier to leard depends greatly on your programming history. If you have done C, you can write PHP just by learning how variables work in it (which is about as easy as it gets). But if you've done stuff like MS (visual) basic you probably feel more home with ASP.

Share this post


Link to post
Share on other sites

To all ASP.NET'ers: Microsoft offers the Visual Web Developer 2005 Express Edition Beta 2 for free!

You can get it here: https://visualstudiogallery.msdn.microsoft.com/site/search?f%5B0%5D.Type=Affiliation&f%5B0%5D.Value=DevLabs&f%5B0%5D.Text=Microsoft%20DevLabs

 

If you want to test your ASP.NET applications on your local machine, you DO NOT really need the MS Internet Information Server (IIS) running, no! Get yourself the Cassini Webserver HERE. It's a tiny Webserver only responding to your localhost, if you try to connect from the Internet you get an error message. But you can hack this if you like (found this on MSDN): Open the file "request.cs" and uncomment the following lines:

// Limit to local requests only

if (!_conn.IsLocal) {

_conn.WriteErrorAndClose(403);

return;

}

Restart Cassini and you will have an asp.net-capable webserver running on your machine.

 

GreetingZ

Share this post


Link to post
Share on other sites

Oh, almost forgot the ASP.NET Web Matrix Project

 

Posted Image

 

It's a free (and fast) WYSIWYG application development tool for ASP.NET, only 1,3MB in size, not as complex as the Visual Studio thing, real cool!

 

AND ... every now and then Microsoft offers free asp.net hosting accounts with 20 MB HERE, unfortunately suspended again at the moment.

 

GreetingZ

Share this post


Link to post
Share on other sites

I have used both and have to say it was not very fun working with asp.Not only is it hard to find good hosting that will run it, coding it is a pain and also cant run on the unix servers that I use for my hosting and scripting in perl. The only valid reason I could ever see to learn it is if you would be getting a job in the related field such as web design because alot of the newer employers require that.

Share this post


Link to post
Share on other sites

DUDE!!! why is there even a discussion over whether PHP is better than ASP? Its obvious...PHP is the overall ruler in web scripting languages! There should never be another question about this stuff, its already implied that PHP is better than ASP.

Share this post


Link to post
Share on other sites

as someone menshioned, who started with c in the past will go with php as it is quite simmiliar, something like if you used pascal you like using for() but if you were programming in basic you like while(). I never got deeply into asp, just looked around the codes, php is for me as I am a little anti microsoft so due to ms is asp I think that is why i don't like it same for mssql, and you need to get/have asp server, I think asp can be executed on linux, on apache, but never read about it to much.

Share this post


Link to post
Share on other sites

Despite the fact that this topic is better served in the programming forum generally, I will pitch in my two cents. I never really delved into ASP that much. I did use an ASP webhost at one point in time, but using ASP was not my number one priority. I learned that ASP was a combination of Microsoft's VBScript and Javascript. I'm not sure if this is correct, but it's what I've read before on HTMLGoodies.com.I've come to the conclusion that PHP is better than ASP, but since I don't comprehend ASP to the extent that I do PHP, my perspective would seem quite biased. So, I will say for now that PHP is most likely a more powerful and efficient scripting language than ASP.

Share this post


Link to post
Share on other sites

My thoughts on the two are as follows:

 

ASP is supported, obviously, by Microsoft. Fully supported. This is Microsoft's answer to PHP. Therefore you get much, much, better support from the big boys. There is an entire dedicated community on the MSDN. Another good piece of ASP is that if you have any prior knowledge of Visual Basic (or just BASIC) you'll find this language a snap. It is, essentially, a web-based Visual Basic. That was my thougt anyways.

 

PHP is freeform .. it's not done by some big company motivated only by profits. PHP is much more customizable, much more open. It also, in my opinion, is much better for web site projects. Although to be honest, it's a pain in the butt to install on a computer. I spent quite some time getting it rigged up and running with Apache, compared to the 10 minutes or so it took me to download ASP.NET and have that up and running.

 

The winner? I'd say go with PHP. Why? Not exactly sure, maybe I'm just not a MS fan. :D

Share this post


Link to post
Share on other sites

Hi, this whole thing about PHP vs ASP I've seen it since I got to the world of Web Development, and it's still something people like to talk about, I like to read about it every time I see the topic, but...how should I decide what language to use when starting a new project?that's a question not so hard to answeryou've got to see:how much time you havehow much money you havehow big is the projectwhere you are going to host itif you don't have much time, PHP is the right way, because PHP is fast, you can set up pages very very fast, because scripting languages are so much more flexible B) if you don't have much money, PHP is the righ way, PHP is totally free, you don't have to pay a penny to anyone, you get paid for your work, but you don't have to pay any costs, other than hosting and maybe one or 2 licensesas far as we can see PHP is winning ..jejebut there is a problem with our loved PHP :P , it's not fully object oriented, it's not a rule that you need OO for a better work, what programming language you use depends on what you are going to do with it, but if you have a big project ahead, you need something more modulized (I don't know if that's the right way to spell it :blink: , english is not my first language), for bigger projects I prefer to use OO languageswhat about hosting? if you've got your own host, there is no problem, you can install on it whatever you want, but if you are going to pay for hosting, that's a completely different picture there, the favorite solution that most hosts go is LAMP: Linux + Apache + MySQL + PHP, why? prices!!!, they are all free!!!, so you're going to find it almost everywhere

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.