Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Which Kind Of Website You Will Choose Php Or Asp?


43 replies to this topic

#1 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:73.47
  • Spam Patrol

Posted 26 March 2010 - 09:58 PM

which kind of websites will you choose if you want to make yours? PHP or ASP?
which do you prefer, working in PHP or in ASP?

even there are many differences between them, but they are still a programming language. then why most of websites are in PHP rather than ASP, or at least that what i noticed. maybe you are not.
maybe because PHP scripts are much popular than ASP, or PHP language is much easier than ASP, or maybe most of PHP scripts are free but ASP not.
then,what do you choose and why?

#2 BuffaloHelp

    Sterling Archer

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,088 posts
  • Gender:Male
  • myCENT:50.18

Posted 27 March 2010 - 04:59 AM

We discussed this before in other threads.

PHP is popular because the language markup resembles popular C and C++. PHP is also free and thus many web companies offer PHP as, sometimes, their main supporting programming language.

The benefit of ASP and PHP is that they are both server side script. You control the functionality of your page programming and not client side dependent programming like JAVA script (which can be turned off). It is expressed as controlling the scene when server side script is running. Not to mention the dynamic page system you can develop with server side.

#3 linekill

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 249 posts
  • Gender:Male
  • Location:Philippines
  • myCENT:45.61

Posted 27 March 2010 - 09:00 AM

I'm not sure about the difference between PHP and ASP. I know that they're both server-side scripting language.

PHP has strengths and weaknesses as much as ASP. I will choose, PHP, however. It's free and I read somewhere, sometime ago, that PHP is being used by a greater number of websites. And I'm using PHP on my websites.

#4 kleong

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 509 posts

Posted 29 March 2010 - 02:24 AM

Given a choice, I would prefer a php based website. Reason being php is an easier language that can run on unix while asp, harder and on NT.

#5 StvenWesley

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 128 posts

Posted 29 March 2010 - 05:47 AM

Sereval days past and then I relogin the community. We have discuss this in other threads and I still like using Asp based websites as I still use Windows Xp, not NT or Linux. I just feel it works well for me and I have got many knowledge about PHP.

#6 Semsem

    Member [Level 2]

  • Kontributors
  • PipPipPipPipPip
  • 84 posts
  • Gender:Male
  • myCENT:10.78

Posted 30 March 2010 - 01:45 AM

PHP for sure. One, I know it...and don't know ASP. And second, it's the most widely used, and it resembles C and whatnot. I like how coding is with it, and don't like how I see ASP done. And, with the fact I've seen a LOT done with PHP (and not so much done with ASP), it makes me lean towards PHP.

#7 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:73.47
  • Spam Patrol

Posted 30 March 2010 - 12:34 PM

thank you all for your cooperation. your answers prove my idea that most of people prefer using php, not asp. and prove that most of website are written in php not asp. maybe for the reasons that listed above.

another thing, you have a wrong idea about PHP resemble C language. they are not the same just in arches. but in fact C language resemble ASP in concept and structure, the prove is if you buy a book to learn ASP.NET you will get codes written in both ASP.NET and C. the only differences are arches, and ; in the end of the line.

in fact, for me i see all the programming language especially those who suppor a specific subject like the web programming language have the concept.

#8 roger112

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 41 posts

Posted 06 May 2010 - 12:50 PM

I am not really sure if asp is open-source like php, but I'd use PHP because I generally like PHP software + it's supported by a much greater and bigger community.

PHP rocks mate!

#9 k_nitin_r

    Grand Imperial Poobah

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,044 posts
  • Gender:Male
  • Location:Dubai
  • myCENT:30.12

Posted 20 June 2010 - 11:39 AM

Hi!

I have a preference for building a PHP website because of the convenience in hosting online, but for anything major, I'd pick ASP.NET over PHP simply because the servers are easier to manage and can cope with higher traffic loads. Having said that, I would also add that PHP development is a lot quicker than ASP.NET development due to the availability of free open-source components.

#10 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:73.47
  • Spam Patrol

Posted 20 June 2010 - 02:10 PM

Quote


Hi!

I have a preference for building a PHP website because of the convenience in hosting online, but for anything major, I'd pick ASP.NET over PHP simply because the servers are easier to manage and can cope with higher traffic loads. Having said that, I would also add that PHP development is a lot quicker than ASP.NET development due to the availability of free open-source components.



 really interesting opinion you have k_nithin_r , and this is exactly what i was wondering about. we can see websites build in  PHP every where on the net. in the same time, a lot of important websites use ASP rather than PHP,or switched their websites from PHP to ASP. and now you just answered my question. thank you.



#11 The Simpleton

    Trapped For Life

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,423 posts
  • Gender:Male
  • Location:India
  • Interests:computers, computers and computers
  • myCENT:76.11

Posted 21 June 2010 - 07:01 AM

It's always better to stay on the safe side so PHP is a good option as you can fix any problems easily with the help of the large community. To be honest I don't know much about PHP and ASP, but PHP has managed to reach out more to "common" people like me while ASP still remains a mystery. I'm not saying that if I don't know PHP no one else will (:P) , but the general idea is that PHP has reached out farther than ASP, and you would feel more comfortable with it.

#12 bandias

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 15 posts
  • Gender:Male
  • Location:Skopje,Macedonia
  • Interests:Programming,soccer,rock music
  • myCENT:25.56

Posted 21 June 2010 - 10:17 PM

ASP has more platforms but because the normal version is not free and it automatically formats your code,and it doesn't have support like others,i will choose PHP. All websites i did are in PHP and they will be.

PHP is easy to learn , it has syntax like C or Perl and it is fast. That is why most popular services like Facebook,Twitter,Tinypic are in PHP. Also PHP can be used in networks and it is good for getting control of servers. The cool thing is that it have support everywhere , just google your problem and you can see that 10 more people have the same problem. That is because PHP is very used,and there are many people,even before choosing what they will learn,they know that ASP is not free (which is not correct 100%)

There are many bad comments about ASP so that is why many sites changed from ASP to PHP. But, there are many paid components for ASP which can make your website automatically and you should not worry.

#13 rpgsearcherz

    Trap Grand Marshal Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,967 posts
  • Gender:Male
  • Interests:Working on my Rift fansite
  • myCENT:13.49
  • Spam Patrol

Posted 01 July 2010 - 03:08 AM

I am going with PHP for my site(s) just because it seems to be more mainstream. Based on research I am finding that ASP just is not as available in terms of tutorials and help (which is probably because it is proprietary, rather than open-source).

Based on my recent learning of PHP it is almost exactly like ASP though, so if you learn and use PHP and have a client that has to have ASP you should still be good to go.

#14 kritya

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 16 posts
  • Gender:Male

Posted 26 July 2010 - 08:41 AM

That really depends on which language you are better and on which you are more comfortable in coding.

Like i like php more because I feel myself more comfortable in coding in php.

As far as i think both are equally good and in which you feel yourself more comfortable code in that only.

#15 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:73.47
  • Spam Patrol

Posted 26 July 2010 - 09:05 AM

View Postkritya, on 26 July 2010 - 08:41 AM, said:

That really depends on which language you are better and on which you are more comfortable in coding.

Like i like php more because I feel myself more comfortable in coding in php.

As far as i think both are equally good and in which you feel yourself more comfortable code in that only.
exactly kritya, it is all about what we like to work with. not what we know. i know both ASP and PHP, but i always prefer PHP. just like most of the members in here. as you can see from their replies most of them prefer working with PHP.

#16 Harlot

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 166 posts
  • Gender:Male
  • Interests:History & Politics
  • myCENT:92.35

Posted 26 July 2010 - 09:12 AM

I really have no idea what ASP is and I have never used it. I can't really classify myself as an expert of any programming language, not even html. I was introduced to php because most software such as forums, portals, and blogs use it as their programming languages. So when you have to deal with forums such as PHPBB and edit copy/paste hundreds of lines of php, you learn a little bit about it.

It seems that those who posted before me, such as SemSem know more about it then I do. However, I do know that all the major softwares are in php. For blogs and portals, both WordPress, Joomla, PhpNuke, and etc use php. All of the major forums use php. I don't even know a single software that uses ASP, can anyone mention are popular software that uses it?

#17 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:73.47
  • Spam Patrol

Posted 26 July 2010 - 09:50 AM

View PostHarlot, on 26 July 2010 - 09:12 AM, said:

I really have no idea what ASP is and I have never used it. I can't really classify myself as an expert of any programming language, not even html. I was introduced to php because most software such as forums, portals, and blogs use it as their programming languages. So when you have to deal with forums such as PHPBB and edit copy/paste hundreds of lines of php, you learn a little bit about it.

It seems that those who posted before me, such as SemSem know more about it then I do. However, I do know that all the major softwares are in php. For blogs and portals, both WordPress, Joomla, PhpNuke, and etc use php. All of the major forums use php. I don't even know a single software that uses ASP, can anyone mention are popular software that uses it?

well harlot i will try to explain more about ASP for you:
ASP is the shortcut of ACTIVE SERVER PAGES, it is a programming language that make you create dynamic and interactive web pages, just like PHP.
a lot of applications and websites using ASP, especially now, after releasing ASP.NET which is part of MICROSOFT VISUAL STUDIO. it is so popular for those who use VISUAL STUDIO, and want to get a certification from micrpsoft.
and just like PHP using MYSQL to manipulate with database,ASP using ADO to manipulate with database.
also it could deal with AJAX, JAVASCRIPT and CSS just like PHP.
hope this brief information will be useful to you. :)

#18 Harlot

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 166 posts
  • Gender:Male
  • Interests:History & Politics
  • myCENT:92.35

Posted 26 July 2010 - 10:29 AM

View Postweb_designer, on 26 July 2010 - 09:50 AM, said:

well harlot i will try to explain more about ASP for you:
ASP is the shortcut of ACTIVE SERVER PAGES, it is a programming language that make you create dynamic and interactive web pages, just like PHP.
a lot of applications and websites using ASP, especially now, after releasing ASP.NET which is part of MICROSOFT VISUAL STUDIO. it is so popular for those who use VISUAL STUDIO, and want to get a certification from micrpsoft.
and just like PHP using MYSQL to manipulate with database,ASP using ADO to manipulate with database.
also it could deal with AJAX, JAVASCRIPT and CSS just like PHP.
hope this brief information will be useful to you. :)

Thanks web, I am going to Google it tomorrow and see what it is all about. I have heard of Visual Basics, I think that is a problem similar to Visual Studios. I actually had Visual Basics but never learned how do anything with it except for create a crappy browser using a step by step tutorial where I just copy and paste what they told me to copy and paste.

I do remember hearing about ASP on facebook maybe. It may have been regarding facebook apps or something along that line.

#19 kritya

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 16 posts
  • Gender:Male

Posted 27 July 2010 - 09:40 AM

I read all the posts send by the users and found the reason php is more popular and familiar(as far as i think).

One of us said that php is like c , c++ and more oop languages (This is a very good reason)

2nd which i think is php offers simple type of codding and advanced as advance as any language.
That was the only reason i started to work in php because i got to understand the basics of the language pretty easily and got to know everything.
And slowly slowly progresses and currently i can create most of the things as any one can do.
U say u like phpMyBB i can create more advanced forums in php in minutes at the moment and u wont believe that i started using it around a month or so and before that i hated c++ but know i love it also

It offers basic as well as advanced functionality that is the best thing of any language.

I am a fan of php

I love it.
I love it.
I love it.

#20 Little Asterisk

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 215 posts

Posted 27 July 2010 - 11:18 AM

Hmm, that's an interesting topic web_designer.

As most people said here until now, I somewhat prefer PHP, but I suppose that's because I use it more in Wordpress and similar programs. When I'm working in a local company, we use our own ASP Content Management System, so I do know a thing or two about ASP.NET, but I am a bit rusty since I was using PHP intensively for some time now.

However, these two are not the only Server-side languages and I am a bit interested in learning Ruby, since I really like its syntax and what some people have done with it on their websites. For me, it seems as a "geek heaven" to use Ruby, but I can't say for sure until I "digg" (:D) deeper into it.

Edited by Little Asterisk, 27 July 2010 - 11:19 AM.


#21 mahesh2k

    Trap Double Mocha Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Valley of Darkness
  • myCENT:67.95
  • Spam Patrol

Posted 27 July 2010 - 12:27 PM

well Ruby in comparison to php & asp carries a huge learning curve. I mean we do know most of the cpanel's do come up with it but many of us don't know how to deploy ruby on rails application using it. There is definitely a huge process as far as i know. I'm trying to work on one of the ruby on rails application but the trouble is that i can't deploy it because i don't know how.

Many tutorials talk about git, bash and other usage for deployment. But i see there is no tutorial at all for the deployment of the ruby on rails application on cpanel. So if we have to do sorting as per learning curve:

ASP
PHP
Ruby on Rails

PHP requires you to learn the syntax atleast. But that is not the case with the ASP, IDE and C# will do a lot of job for most of typical projects. It's easy to use ASP if you have visual studio. And now comparing that with the ruby on rails PHP & ASP are way better overall.

#22 Little Asterisk

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 215 posts

Posted 27 July 2010 - 02:06 PM

View Postmahesh2k, on 27 July 2010 - 12:27 PM, said:

well Ruby in comparison to php & asp carries a huge learning curve. I mean we do know most of the cpanel's do come up with it but many of us don't know how to deploy ruby on rails application using it. There is definitely a huge process as far as i know. I'm trying to work on one of the ruby on rails application but the trouble is that i can't deploy it because i don't know how.

Many tutorials talk about git, bash and other usage for deployment. But i see there is no tutorial at all for the deployment of the ruby on rails application on cpanel. So if we have to do sorting as per learning curve:

ASP
PHP
Ruby on Rails

PHP requires you to learn the syntax atleast. But that is not the case with the ASP, IDE and C# will do a lot of job for most of typical projects. It's easy to use ASP if you have visual studio. And now comparing that with the ruby on rails PHP & ASP are way better overall.

Yeah, Ruby isn't so widely deployed in the Server-side world (where PHP and ASP rule), but I still think it's worth a shot. At least so I can say (when I'm with computer geeks, of course) that I know Ruby. :) I suppose it'll be a little side project for me now to learn the language... Well, at least the most basic commands.

As for the syntax, I believe no one who has ever worked in any C-based language should have problems understanding most similar languages, and both PHP and ASP (who has a C# underlying code syntax, if you want it that way) are somewhere in the line with it.

And Microsoft's tools (Visual Studio, Visual Web Developer, and the newest Expression Engine Something (there are 3 of them)) really do help while programming in one of their languages (as you said, ASP and, as I said, Silverlight) a lot, they have good - what's it called - snippet indication (I can't remember the exact word right now :D).

You know, the thing which appears when you type in a method or function or whatever.

#23 rpgsearcherz

    Trap Grand Marshal Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,967 posts
  • Gender:Male
  • Interests:Working on my Rift fansite
  • myCENT:13.49
  • Spam Patrol

Posted 27 July 2010 - 02:42 PM

Is either one of these more efficient than the other in terms of CPU/RAM usage or are they about equal?

The more I get into web development the more I'm realizing that the more efficient things really do matter once you get to a certain point, so as of lately I've been more into what works best rather than what's easier, :P.

#24 mahesh2k

    Trap Double Mocha Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Valley of Darkness
  • myCENT:67.95
  • Spam Patrol

Posted 27 July 2010 - 03:23 PM

Quote

You know, the thing which appears when you type in a method or function or whatever.

That is called as Intellisense. Microsoft's most of the tools have that functionality. Be it visual studio or web matrix or expression engine or simplebasic etc etc.

Quote

Is either one of these more efficient than the other in terms of CPU/RAM usage or are they about equal?

Not sure about that. But as far as i know, PHP's performance on windows platform is not so good though. ASP's performance on non-microsoft platform is poor. That's how i see it. And performance of PHP/ASP need to be viewed with CPU/DB queries. I mean many times server gets down if there are too many queries.

#25 Little Asterisk

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 215 posts

Posted 27 July 2010 - 03:30 PM

View Postmahesh2k, on 27 July 2010 - 03:23 PM, said:

That is called as Intellisense. Microsoft's most of the tools have that functionality. Be it visual studio or web matrix or expression engine or simplebasic etc etc.

YES! That's it. Sorry I was to lazy to check it out in my Visual Studio... :blush:

Quote

Not sure about that. But as far as i know, PHP's performance on windows platform is not so good though. ASP's performance on non-microsoft platform is poor. That's how i see it. And performance of PHP/ASP need to be viewed with CPU/DB queries. I mean many times server gets down if there are too many queries.

http://shootout.alio...n.org/index.php might help to RPGSearcherz. ;)




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users