Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    9
    Thanks
    4
    Thanked 0 Times in 0 Posts

    PHP vs. ASP.NET Programming?

    I'm a total noob interested in learning a coding technique. My question is, out of PHP and .NET, which technique is:

    • More stable?
    • More secure (unhackable)?
    • Better for Ecommerce and Classifieds sites (like Ebay, but fixed price)?
    • Use with Flash animation?
    • Use with Adobe Dreamweaver (am assuming both)?
    • Less time to program?
    • Cheaper and more convenient hosting (but still has to be stable)?


    And also, in your opinion, what is the latest programming technology?

    Please try to keep it simple as i am not familiar with all the concepts yet.

    Cheers,

    Mgirl

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    PHP will provide for cheaper hosting since PHP will work on Linux and Unix with Apache unlike ASP.NET which requires Windows Server.
    OracleGuy

  • #3
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    Quote Originally Posted by Mgirl View Post
    I'm a total noob interested in learning a coding technique. My question is, out of PHP and .NET, which technique is:

    • More stable?
    • More secure (unhackable)? - implementation is whats important not the language.
    • Better for Ecommerce and Classifieds sites (like Ebay, but fixed price)?
    • Use with Flash animation?Not failiar with .NET but PHP has some functions to manipulate/create swf files
    • Use with Adobe Dreamweaver (am assuming both)?I wouldn't recommend Dreamweaver either way...unless you're letting it do all the coding.
    • Less time to program?TTHW (Time To Hello World) is fairly straight low in both from what I remember but I learned VB6 first
    • Cheaper and more convenient hosting (but still has to be stable)? PHP


    And also, in your opinion, what is the latest programming technology?

    Please try to keep it simple as i am not familiar with all the concepts yet.

    Cheers,

    Mgirl
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.

  • Users who have thanked StupidRalph for this post:

    Mgirl (02-12-2008)

  • #4
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    9
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Thanks people!

    But i still don't understand, what is the fundamental difference between PHP and ASP.NET? Why use either?

    If there is no real difference, why do they both exist?

    I am confused

  • #5
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,478
    Thanks
    6
    Thanked 981 Times in 954 Posts
    ASP and ASP.NET are proprietary to Microsoft (i.e. they invented and licensed it and it’s at their discretion when they will do “updates” to their language and how they would look like), and you have to use it in combination with other Microsoft products, such as an MS server, etc. while PHP is free for anyone and works on all open source servers (which are mostly Unix based).

    I guess Wikipedia will give you some info.

  • Users who have thanked VIPStephan for this post:

    Mgirl (02-13-2008)

  • #6
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,042
    Thanks
    19
    Thanked 42 Times in 42 Posts
    More secure (unhackable)? - implementation is whats important not the language.
    i couldnt agree more, both languages are equilly hackable, but depending on how you lay your code out makes it less hackable, ie functions to remove dangerous data.

  • #7
    New to the CF scene
    Join Date
    Feb 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Even my vote goes for PHP, it's most used and popular web programing language. I am not a fan of Microsoft OS and will never opt for their products

  • #8
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    9
    Thanks
    4
    Thanked 0 Times in 0 Posts
    PHP vs. .NET = implied difference between Microsoft and Apple. They both do the same thing, but mandated by different organisations. Uh huh.

    Thanks guys (and girls?), really appreciate it.

  • #9
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    9
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by rafiki View Post
    More secure (unhackable)? - implementation is whats important not the language.
    i couldnt agree more, both languages are equilly hackable, but depending on how you lay your code out makes it less hackable, ie functions to remove dangerous data.
    What is 'dangerous data' in this situation?

  • #10
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    'Dangerous data' is very broad and specific to what you're doing. There are a number of different 'hacking' techniques that would determine themself to be 'dangerous data'. For example, if you're connecting to a database, a malicious user can add additional code to modify your SQL statements using SQL injections to do things that you do not intend. It'll be really dishearening to view your site only to find out that all of your databases have been deleted. But exploits don't simply lend themselves to strictly dealing with databases. Other exploits such as CSRF and XSS attacks do not involve a database at all. To trully learn how to implement your code you should not only read some security books/articles but actually begin to code.

    I just wanted to make sure that you know that .NET vs. PHP wasn't Microsoft vs. Apple. .NET is a developed by Microsoft but PHP is not developed by Apple. PHP is an open-source project that is developed by everyday people not a company. It is constantly being updated and you're able to use with other open-source technologies. The advantage of using PHP over something like .NET or coldfusion is that you don't have a licensing fee to implement them. You don't have to have a specific type of server to run PHP. With .NET it is a necessity to have a Microsoft server.
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.

  • #11
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    8
    Thanks
    0
    Thanked 1 Time in 1 Post
    If you're just new to programming in general, I'd recommend Asp.Net (with VB.Net) over PHP any day (I'd recommend it anyway nowadays, but that's beside the point). Mainly because what the .Net framework gives you in terms of functionality, productivity and ease of use is much better. I also think there are better tools available now (since Microsoft began realeasing the free versions of its IDE last year), and hosting really isn't that expensive although generally it will be a little bit more than php hosting.

    When you start getting into using Sql Server is when the prices for hosting can go up. But even then you have options since you can just use an Xml data source, or MySql.

  • Users who have thanked elkdanger for this post:

    Mgirl (02-14-2008)

  • #12
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    A licensing fee? Doesn't MS's IIS come with XP Professional discs for free?

    I'm no programmer, but I've always preferred PHP, if only because it makes more sense to me. My recommendation would be to take a crash course in both and see which you understand more.

  • #13
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Quote Originally Posted by CyanLight View Post
    A licensing fee? Doesn't MS's IIS come with XP Professional discs for free?

    I'm no programmer, but I've always preferred PHP, if only because it makes more sense to me. My recommendation would be to take a crash course in both and see which you understand more.
    Yes but Windows XP itself isn't free. Besides you can only do development work with IIS and XP since the version of IIS in XP is significantly handicapped feature wise.
    OracleGuy

  • #14
    evo
    evo is offline
    waka Ionsurge
    Join Date
    Feb 2005
    Location
    United Kingdom
    Posts
    894
    Thanks
    5
    Thanked 12 Times in 12 Posts
    From experience, I'd recommend you go with ASP.net - it is expensive, but there is a lot of highly paid vacancies around for it for those who are experienced in the field.

    From what I have heard, asp.net is meant to be blistering fast. I've heard a few examples based on the asp.net forums, at you guessed it www.asp.net.

    I may be wrong though, but that's what I've heard.

  • Users who have thanked evo for this post:

    Mgirl (02-14-2008)

  • #15
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    9
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Hmm.. do you think there are a lot more functionalities available in ASP .NET? Especially for shopping cart software, classifieds websites, and novelty websites like imeem?

    And, how long do you think it would take to learn ASP.NET? Bearing in mind i have some knowledge of html, but would be starting from scratch with programming.

    Btw, would i need to purchase something to code in ASP.NET? Isn't it just a coding 'language'? Can't i do it in notepad?

    Excuse the questions, i am a noob.
    Last edited by Mgirl; 02-14-2008 at 01:42 PM.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •