104 replies
Hi

I am new to this online media and I want to know that which language is better PHP or .Net to create a dynamic website.

Kindly do let me know.
#net #php
  • Profile picture of the author orvn
    They've both got their pro's and con's.
    While most people seem to boast about PHP's superior capabilities, their opinion is biased.
    I my experience, these platforms are about equivalently advantageous.

    ASP.NET tends to be more expensive to develop in, as there are less programmers available. Conversely, if you are a programmer, you get paid better.

    If you have programming experience in C or VB, the transition to ASP should easy for you. The Visual Studio interface is very pleasant. Visual studio also comes with this massive class library and a great deal of third party components easily available.

    .NET runs on a Microsoft platform (Server IIS) and PHP runs on Unix (generally apache).

    I've always found more community support available in PHP: it's open-source and community driven.

    I'm not going to get into the details of server side includes, MLIS or the security issues, as these points are highly arguable.

    Conclusion:
    It's a matter of preference.

    I almost always pick PHP, because I frequently side with unix based technology (I'm a command line pro), and, in my opinion, the servers are easier to manage and more secure (highly arguable).

    Also, I think Microsoft has been slightly lacking in vision this decade.
    I never liked .NET, but my opinion is highly biased.
    Signature
    Orun Bhuiyan[@orvn] [linkedin] See what I've been doing lately by visiting my marketing agency's site. SEOcial specializes in content marketing and integrated optimization. We create conversions for businesses by gracefully connecting the realms of design, development and marketing.

    {{ DiscussionBoard.errors[2895424].message }}
  • Profile picture of the author CyberSorcerer
    It all depends on what you intend to use the language for or what industry you're going into.

    For example, if you want to be a freelance web designer/developer then it has to be PHP simple because it's the mostly widely requested service in the freelance market if your on oDesk, vWorker, Elance, etc.

    If you're looking for a broader appeal as in job request boards .NET would do you good because it can be used both for web development and application development which is what a lot of design firms are looking for.

    So as always it depends on your goal and the direction you're planning on going. Think career wise. What is it you want to do for the next 20 years?

    CyberSorcerer
    {{ DiscussionBoard.errors[2895866].message }}
  • Profile picture of the author Johnny12345
    Originally Posted by sanjay1234 View Post

    ... which language is better PHP or .Net to create a dynamic website.

    That's a difficult call to make...

    The short answer is that they're BOTH excellent. I've used both ASP.NET (using VB.NET) and PHP. (The main reason I learned PHP is because it's used in WordPress.)

    I love Visual Basic.NET. It's actually fun to write programs with it. And a HUGE benefit of using .NET is that the programming techniques for either the web -- or the desktop -- are extremely similar. You can't write desktop programs with PHP.

    That said, PHP may actually be a better choice for first-time web developers. PHP makes it a lot easier to work with files and includes (called "user controls" in ASP.NET) -- and you'll probably use them a lot.

    In addition, there are many excellent books on PHP and the user base is large and helpful.

    Regards,

    John
    {{ DiscussionBoard.errors[2895986].message }}
  • Profile picture of the author jennifersmith006
    Php i guess as it is simpler then .net and now a days most of the corporate world use php ..
    {{ DiscussionBoard.errors[2907497].message }}
    • Profile picture of the author Tashi Mortier
      I guess PHP is the better choice for a beginner since you can use it completely free.

      There are excellent free IDE's available and the complete Server stack is free, also nearly every host provides PHP.

      ASP.NET usually requires a windows server and the Visual Studio IDE which are both pretty expensive.

      I guess unless you are told to develop for a Windows Server or you want to have access to the power of the .NET framework you are better off with PHP.
      Signature

      Want to read my personal blog? Tashi Mortier

      {{ DiscussionBoard.errors[2909012].message }}
      • Profile picture of the author lecter
        Go with PHP because you will have an easier time finding people who can help you develop the website and it's also a lot more portable than .NET.

        With PHP you are basically up and running right away. All you need is an apache server with PHP and MySQL and you are ready to go. There are complete bundles with all of this included so you don't even need to download all the individual components separately.

        XAMP is a good example of such a bundle. You can download it here: www dot apachefriends dot org/en/xampp-windows.html#641 (sorry, unable to post links yet).

        Personally I choose PHP because it's so much simpler. The only case when you really would want to use .NET is if you are building a corporate portal which will be using a lot of internal backend code written in .NET.

        Otherwise go with PHP

        PS. For adding truly dynamic effects to your PHP website you might want to check out jQuery at jquery.com. What you do then is design the backend code in PHP, output the website html to the web browser and then add all the dynamic effects in JavaScript while loading data on demand from PHP scripts located on the server. This way you can do all the facebook and twitter style real time updates right inside the browser window without having to reload the page.

        So PHP, jQuery, MySQL and Apache is what you basically need to build a truly dynamic website.
        {{ DiscussionBoard.errors[2909791].message }}
  • Profile picture of the author sohanderaz
    PHP is a relatively simpler language to use than ASP.net. Initially, PHP was written in the C programming language to replace a set of scripts in Perl. That is the reason why coding in PHP remains simple even today. Many developers find themselves to be more at ease with the user-friendly nature of PHP when it comes to coding.PHP is has much better support for the database management system, MySQL. In fact, the very popular blogging platform, WordPress uses the formidable combination of PHP coding on MySQL for its content management system, which includes about hundreds of thousands of blog posts every single day. Another very popular and frequently updated service that uses the combination of PHP and MySQL is Wikipedia. People who use both PHP and ASP.net also maintain their opinion that PHP is better for embedded support with another database management system, viz. SQLite.
    {{ DiscussionBoard.errors[2915497].message }}
  • Profile picture of the author dexcell
    Go with PHP and use PHP framework to boost your coding time, i recommended Kohana framework. Search it on google.
    {{ DiscussionBoard.errors[2915700].message }}
  • Profile picture of the author telltimmy
    Although php is easy,free and open source but I personally prefer .net due to its multilanguage support,better error handling,better separation of design and business logic and its support for AJAX.
    {{ DiscussionBoard.errors[3044902].message }}
  • Profile picture of the author soma56
    Alot of the replies stole my thunder. I think some great points were made, however, my two cents is biased and hands-down PHP. It's fast, widely accepted and there's a ton of tutorials and online support.
    {{ DiscussionBoard.errors[3048230].message }}
  • Profile picture of the author bytecoder
    I'd recommend PHP for 2 reasons :
    1) .NET requires more expensive hosting
    2) PHP is a lot more script, ASP.NET is a programming language for web, a lot more messy for my opinion.

    Of-course if you're a pro-programmer and you're willing to do big sites / ecommerce stuff you may prefer .NET by far
    {{ DiscussionBoard.errors[3050939].message }}
  • Profile picture of the author bobbylee
    PHP is easy and can be learned fast.
    if you learn PHP framework like Zend framework,CodeIgniter etc then you will be rewarded more.
    {{ DiscussionBoard.errors[3051061].message }}
  • Profile picture of the author Drewry_Media
    It's better to go along with .php, because it is a powerful search engine scripting language, and can also bring you way more search traffic for free.
    Signature
    {{ DiscussionBoard.errors[3051068].message }}
    • Profile picture of the author jamesyalbery
      I programmed in both PHP and ASP and can not really say what is "better." It's one of those "ninjas or pirates' issues. For every person that says PHP is better, there will be another person who says ASP is better. Try each and see what suits you best.
      {{ DiscussionBoard.errors[3062358].message }}
  • Profile picture of the author profolies
    PHP is the best option. Iam myself an asp.net developer and know PHP a little bit too. I personally prefer .net but only i know what kind of hell it is. For beginners PHP is the best method.
    {{ DiscussionBoard.errors[3062786].message }}
  • Profile picture of the author faceblogger
    PHP is the best. Easy to program, host, etc. And .NET is not free
    Signature

    no sig

    {{ DiscussionBoard.errors[3063194].message }}
  • Profile picture of the author brian culbert
    It all depends on what you would like to do in your project. I think PHP is easy to learn but not as flexible as .Net, but first you must know what environment you will work at. you must know kind of server you will host you media at. it will determine everything.
    {{ DiscussionBoard.errors[3069309].message }}
  • Profile picture of the author nsdoi
    Hello....

    It is very difficult to say that which one is best....but i personally prefer ASP.NET. because it strongly follows the OOPs concept.
    {{ DiscussionBoard.errors[3088802].message }}
  • Profile picture of the author artekweb
    I am using both of them as per client's requirement but I have to choose one of the two i would go for php
    Signature
    Wizhoo.com Social Media Reseller Panel - 30+ Services
    Facebook, Youtube like/dislike/ safe views , Twitter, Instagram
    Google Plus, Pinterest, Instagram, Vimeo, Vine​
    {{ DiscussionBoard.errors[3088834].message }}
    • Profile picture of the author veryshant12
      I am truly agree with CyberSorcerer. Both language have their pros and cons.As a freelancer point of view PHP is in more demand.
      Signature

      Enjoying the online marketing journey

      {{ DiscussionBoard.errors[3090871].message }}
  • Profile picture of the author FabianSmith
    PHP go with it blindly )
    {{ DiscussionBoard.errors[3112448].message }}
  • Profile picture of the author zeeshi570
    PHP open source matters
    {{ DiscussionBoard.errors[3117294].message }}
  • Profile picture of the author Kaththie
    As a .net developer I prefer .NET. Because ASP.Net has all latest web development technologies and it’s easy to learn and understand for beginners.
    {{ DiscussionBoard.errors[3117323].message }}
  • Profile picture of the author techmagnet
    PHP is more secure.
    ASP.NET is faster than PHP4.
    PHP5 and ASP.NET perform about the same.
    ASP.NET is known for exploits when running on IIS.
    PHP is cross-platform.
    ASP.NET is windows only.
    PHP is free and less costly to use.
    ASP.NET web hosting is very expensive.

    It really depends on what you want to do. What will be the size of this eCommerce site?

    For larger sites, ASP and Microsoft SQL are your best bet.
    MySQL is not suitable for large websites unless InnoDB or Merge tables are used, as well as proper database design.
    {{ DiscussionBoard.errors[3118157].message }}
    • Profile picture of the author jonehill
      PHP is one of the best for web developing.PHP is easier to learn and is more compatible with different web servers.It is server site scripting so it takes minimum time for loading.
      PHP programs can also run in Windows, Solaris, Unix and Linux.
      {{ DiscussionBoard.errors[3120686].message }}
  • Profile picture of the author Senesoft
    A lot of very good points here, but I'll offer my thoughts.

    1) ASP only runs on Windows. PHP runs on Windows and many flavors of unix. I prefer to run my back end servers on Linux because it's simply more secure than Windows. A properly configured Linux/BSD/Unix box will be much more difficult to hack. Having said that there are always security advisories for every OS, Windows just usually has more of them.

    2) ASP is more expensive. You'll need a windows server for your production environment, plus I would lean towards the fact that the Unix server tend to be a bit less resource hungry than Windows. To gain the advantages of a rapid application development environment in ASP, you'll have to shell out some bucks for Visual Studio.

    3) I much prefer Apache over IIS. I know the playing field is becoming much more even these days, but traditionally, Apache could handle load better than IIS.
    {{ DiscussionBoard.errors[3122151].message }}
  • Profile picture of the author Bellasys
    In my opinion, .net is outmoded by several other solutions. Personally, I really dislike PHP and .NET equally, but why? I don't like PHP's structure and syntax, but there is strong appeal if it fits within your scope of programming skill; it is relatively easy to mix HTML and database functions/views, processing AJAX, etc. I'm saying the environment is easy to get into. Most lesser expensive Hosts will support PHP better than .NET... and yet .NET may have some performance advantages in HIGHER LEVEL applications. IMO, if you're just starting, or just building your suite of protocols and applications, PHP is going to produce better results for you, whereas the benefits of .NET produce long term and at a higher level. If you're considering .NET, why not consider Ruby?
    {{ DiscussionBoard.errors[3156987].message }}
  • Profile picture of the author siddharthslm
    PHP is always simple, easy, and best
    Signature

    Siddharth R
    Buy Facebook Fans

    {{ DiscussionBoard.errors[3160624].message }}
  • Profile picture of the author erinsmith
    for my suggestion is PHP ... buz it's very easy implementation when you are creating dynamic website
    {{ DiscussionBoard.errors[3160859].message }}
  • Profile picture of the author rosesmark
    Mostly website developer prefer PHP because PHP is the best programming Language for developer
    {{ DiscussionBoard.errors[3982287].message }}
  • Profile picture of the author amans54
    Well both the languages are having their own importance.Sometimes ASP.net looks good and sometimes php but i would prefer asp over php because asp provide results for long term.ASP is more safer than php.But some drawbacks are also their while using it.First one is that it is quite expensive as compared to the php and the other one is the working operating system.ASP works only on windows but php works on windows as well as some other kinds of operating system
    {{ DiscussionBoard.errors[3983472].message }}
  • Profile picture of the author moonheart
    I will vote for PHP. It is very easy to learn PHP with the help of online resource. The best thing is that all the CMS like wordpress, joomla, drupal, oscommerce are built in PHP. As a begineeer I will say that I start PHP after working with CMS based website.
    Signature

    G Web Pro Marketing Inc. - SEO Services Toronto

    {{ DiscussionBoard.errors[3983533].message }}
  • Profile picture of the author derekad
    I vote for php

    all of my sites are written on php

    it also depends, because I started from php, I can now reuse some code for new sites
    {{ DiscussionBoard.errors[3984138].message }}
  • Profile picture of the author PeachCoding
    If you're new to both languages I do recommend going with PHP as it'll be easier to learn, it will have way less hosting & coding tool costs.

    Plus it has better community support behind it, so you will always find answers easier for questions you have about it.
    Signature

    Services offered: PSD to Wordpress, Joomla, Drupal Templates or Full Site, Custom PHP or C# Programming, Fix problems on any software, and more.

    You will get 25% OFF all services by mentioning the Warrior Forum. PM me here or email me to ivanphp404@gmail.com if interested and/or if you have questions.

    {{ DiscussionBoard.errors[3984491].message }}
  • Profile picture of the author jasonthewebmaster
    Banned
    Originally Posted by sanjay1234 View Post

    Hi

    I am new to this online media and I want to know that which language is better PHP or .Net to create a dynamic website.

    Kindly do let me know.

    If you are not going to be the one programming... should it really matter?

    Go with whichever is cheaper to hire developers to use and can do your job faster..

    which is PHP by the way LOL!
    {{ DiscussionBoard.errors[3984514].message }}
  • Profile picture of the author mattleaconsulting
    I live, eat, and breathe PHP. Also if your taking frameworks I might recomend QCodo/MJax. QCodo is a great back end and MJax offers jQuery support for the front end.

    Disclaimer I am a big contributor to both.

    .Net is good if you like killing brain cells. JK
    {{ DiscussionBoard.errors[3985780].message }}
  • Profile picture of the author DragosRoua
    I'd go with PHP because it has a better community support. Also, there are a lot of frameworks available for it (a framework is a collection of ready made pieces of functionality that makes your life as a programmer much easier). I've been working with PHP for about 12 years now and that says a lot about the maturity of the language.
    {{ DiscussionBoard.errors[3988540].message }}
  • Profile picture of the author dottieford
    For me its php.. Since u are a beginner it's the best to use php..
    Using net is expensive..They only the same in purpose for me..But I rather to choose the php..Try it..
    {{ DiscussionBoard.errors[3990565].message }}
  • Profile picture of the author rbrtst
    Go with PHP unless you enjoy pulling your hair out and a huge timely learning curve. Anything PHP you need is just a google search away. I'd recommend using easyPHP for local Windows development. With PHP you can have something online in a weekend, with .NET that's less do-able.
    {{ DiscussionBoard.errors[4002881].message }}
  • Profile picture of the author hilarious89
    I prefer .Net over PHP.
    Signature
    My Archive :- A blog where you will get everything updated !
    Get Walkthrough Videos of Newly Released Games from Entertainment Discuss!!
    {{ DiscussionBoard.errors[4009397].message }}
    • Profile picture of the author ToneUK
      Another vote for PHP

      I've worked with both ASP.NET and PHP and I find PHP is much easier to work with. No need for expensive Windows hosting and there is a huge community of PHP developers. With PHP you can choose from a huge range of development environments or even use notepad. With ASP.NET you require visual studio which is another cost if you go for the full version.

      If you do decide to go with PHP then I would recommend using a framework once you have learnt the basics. This could be Zend Framework, Codeigniter, CakePHP or even use Drupal CMS and learn module and theme development.
      Signature
      Free article directory for publishers to download. Free article submission with fast approval times. Submit free articles with back links that are Do follow.
      {{ DiscussionBoard.errors[4044850].message }}
  • Profile picture of the author hawaiiwebdesigner
    PHP all the way!
    {{ DiscussionBoard.errors[4048997].message }}
  • Profile picture of the author Fuze
    PHP is my favourite. It's simple and loosely typed.
    Try PHP first.
    {{ DiscussionBoard.errors[4049393].message }}
    • Profile picture of the author banzerchristo
      Go to PHP, because it will be easier to find people who can help us develop the website and is also much more portable. NET. PHP is basically up and running soon. All you need is an Apache server with PHP and MySQL, and you're ready to go. It is fully involved in all these bundles, so do not even need to download all the individual parts separately.
      {{ DiscussionBoard.errors[4061558].message }}
  • Profile picture of the author st8ic
    php for sure, it's an open standard.
    {{ DiscussionBoard.errors[4056165].message }}
    • Profile picture of the author thebuddinggourmet
      i think php is best. it is easy to use & also free. is is one of the best server side scripting language/.
      {{ DiscussionBoard.errors[4189930].message }}
    • Profile picture of the author blazedream
      PHP is open source and easy to create dynamic site with load of features, which will enable the business people to get success through online.
      {{ DiscussionBoard.errors[4204047].message }}
    • Profile picture of the author redblack
      PHP or .net both are best programming language but according to me, PHP is a better then .net. PHP is a very simple and easy programming language.
      {{ DiscussionBoard.errors[4391966].message }}
  • Profile picture of the author ionisis
    It also depends on what your needs may be for custom functionality. It is accurate to say there are far more php programmers than .Net programmers, so it will be easier to find someone to develop a complex custom feature with php. There may also be limitations to the .Net framework that do not apply to php. For example, try programming a .Net website to transcode video --it's not happening

    Php is slower, unless your server admin knows how to make it fast; and in that case, it can be FASTER than .Net.

    We recommend php.
    {{ DiscussionBoard.errors[4057584].message }}
    • Profile picture of the author samdepps
      PHP is easier to learn because it's just a scripting language for the web. ASP.Net is a small subset of C#.Net and/or VB.Net, both of which are full development languages. There is considerably more to know when working with ASP.Net, but it is significantly more powerful and robust.
      {{ DiscussionBoard.errors[4190592].message }}
    • Profile picture of the author jessendisoza
      I like PHP most then .net. Php is very easiest and popular language for developing dynamic web page. Php is open source language and easily available at internet.
      {{ DiscussionBoard.errors[4237377].message }}
    • Profile picture of the author lisacameron
      Using PHP and .Net we can create a dynamic website. ASP.Net is a small subset of C#.Net and/or VB.Net, both of which are full development languages. .net is the best.
      {{ DiscussionBoard.errors[4390555].message }}
  • Profile picture of the author paintingsgalore22
    Both are in demand, anywhere you go. It depends on your taste. When you start getting into the development community, you'll hear a lot of "PHP sucks" talk. To me, it doesn't suck...it just isn't as useful as .NET, and where it IS useful, you have to work harder.
    Signature
    Buy oil paintings-it will give character to your every room!
    {{ DiscussionBoard.errors[4065558].message }}
  • Profile picture of the author HostingWarrior
    We can create dynamic website by using both. But, i give importance to PHP because it is widely used in many websites in today's world and also it is open source and integrated well with MySql.
    {{ DiscussionBoard.errors[4073610].message }}
  • Profile picture of the author liveseosolution
    According to me i prefer asp.net . Just because i am familiar with asp.net than php.
    {{ DiscussionBoard.errors[4092809].message }}
  • Profile picture of the author seasoned
    Well, ASP, and .net were created by a company that was trying, and may AGAIN, to take over the internet. They managed close to a 30% saturation. They EVEN peaked at 40%, around 2008! They are now at 20% and DROPPING! YEP, ever since that 2008 peak! The LEADER, Apache, is at about 62% and climbing. And most of the remainder are derived from Apache! Who sells those? IBM and Oracle to name just two! HECK, Oracle bought sun, so you KNOW where THEY are at!

    So I would say to stick with the standard multiplatform PHP rather than the proprietary ASP.NET, most Windows, really only fully functional on windows foundation.

    The ONLY advantage I see for a seller for ASP.NET is that it can be somewhat obfuscated, like Java.

    Steve
    {{ DiscussionBoard.errors[4093247].message }}
  • Profile picture of the author iaxia
    PHP is by far the better option. Free and can be done in Notepad. Requires 10% of the resources that .net does to run. If you look at most of the major sites nowadays they are mostly PHP and the ones that are not are slowly switching. As the sites get more complicated the server hardware requirements grow with them. Linux/BSD platforms will provide much more bang for the buck and are much easier to scale for future growth.
    {{ DiscussionBoard.errors[4100750].message }}
    • Profile picture of the author newbie365
      PHP RULES! .net SUCKS
      {{ DiscussionBoard.errors[4101302].message }}
  • Profile picture of the author danieljames123
    Both are same but php is some more easy to use and easy to learn. Nowadays many companies are turn on php. has much better support for the database management system, MySQL. In fact, the very popular blogging platform, WordPress uses the formidable combination of PHP coding on MySQL for its content management system, which includes about hundreds of thousands of blog posts every single day.
    {{ DiscussionBoard.errors[4109858].message }}
  • Profile picture of the author dominicyordz
    PHP hands down. It is easier and more practical. There is a reason why it is used by majority of websites today.
    {{ DiscussionBoard.errors[4118837].message }}
  • Profile picture of the author AdWorkMedia
    I think it's pretty clear by now that PHP is the winner but I just wanted to show my love for PHP.
    Signature


    AdWork Media » Global Affiliate Network & Content Locking Solutions

    Custom Platform, Flexible Lockers, Offers For Every Country
    {{ DiscussionBoard.errors[4166531].message }}
  • Profile picture of the author babureddy
    They both have their advantages...PHP is easier...ASP.net MVC its quite powerful with lot of features
    {{ DiscussionBoard.errors[4190969].message }}
  • Profile picture of the author Neter85
    Originally Posted by sanjay1234 View Post

    Hi

    I am new to this online media and I want to know that which language is better PHP or .Net to create a dynamic website.

    Kindly do let me know.
    It depends on your abilities. But making a script using php is easier and cheaper in most cases and i myself prefer using php.
    {{ DiscussionBoard.errors[4191624].message }}
  • Profile picture of the author andrewjustice03
    PHP - Open Source
    ASP.NET - Is it?

    I tried to use both of them. Both of them are very powerful Web Development Tool. But as everyone says, it still falls on your preference.

    Personally, I know PHP more than ASP.NET. But I am not saying ASP.NET is less than PHP.

    The only distinctive difference to both of them (except for the code of course) is:
    * PHP can be, or not be, written on MVC
    * ASP.NET is MVC

    Different projects, different demands.
    {{ DiscussionBoard.errors[4193465].message }}
    • Profile picture of the author krainboltgreene
      Just a reminder that there are other pro-web development languages out there besides PHP or .NET:

      * Ruby
      * Python
      * Javascript
      * Arc

      ... Ok, maybe Arc isn't the best example! But my others still apply. One of the reasons I've avoided using PHP is because it doesn't have much application *outside* of web development.

      For instance, you'll probably never want to write a REPL in PHP, or a file parser. It's just not made for it, which is fine.
      {{ DiscussionBoard.errors[4194927].message }}
  • Profile picture of the author Gary Zaydman
    The reason PHP is better is because it doesn't require any expensive licensees or IIS to run it. You can run LAMP (Linux Apache Mysql and PHP) for Free and hosting is inexpensive. 7.95 per month or so. IIS might be better for other applications but generally speaking the Internet is build on LAMP
    Signature

    Best pressure-less sales method to get local small business clients to try your services www.reputationrebelsystem.com

    {{ DiscussionBoard.errors[4199753].message }}
    • Profile picture of the author krainboltgreene
      Gary's right, well at least about Linux, Apache, and SQL databases, the Internet uses those technologies left and right.

      That said there are a lot of alternatives that can perform really well compared:

      * Instead of Apache you can use Nginx, which performs *incredibly well* compared.
      * Instead of Linux you could use any of the BSD distros, which are the most secure *nix derivatives. Especially out of the box.
      * Instead of MySQL you have a *minefield* of choices, like: PostgreSQL, MongoDB, CouchDB, Redis, Tokoyo, Neo4JS, ...and many more. Not including non-server-types.

      He's also right about PHP being used a lot on the web. There's a downside to that, though. You'll be competing with every other PHP developer who picked up Introducing PHP 5 and such. Pay is a lot less compared to other developer fields, like Python, Ruby, or Javascript.
      {{ DiscussionBoard.errors[4200922].message }}
  • Profile picture of the author ngseosept
    For me it's PHP I believe that PHP is so powerful
    {{ DiscussionBoard.errors[4202129].message }}
  • Profile picture of the author AnnieBerries
    go for php
    {{ DiscussionBoard.errors[4203375].message }}
  • Profile picture of the author samstephan9
    hello,
    I love PHP but I can say that .net has their own property and PHP has their own. Clear concepts you can work on any language.
    {{ DiscussionBoard.errors[4204798].message }}
  • Profile picture of the author Logo Design
    1. PHP is like an open source .NET.

    You can’t compare PHP with .NET. .NET is an application framework (an environment for building and executing applications) not a programming language; it’s like comparing a truck to a road. PHP can, however, be compared to languages which run under .NET, such as ASP+ or C# (referred to as "Language.NET" here).


    2. .NET is going to be the future of the Internet!

    .NET is the future platform for all Microsoft technology — it’s not aimed solely at the Internet. In fact, it’s likely to make its first big appearance on corporate Intranets, with Office.NET and .NET versions of existing Windows NT server software.
    3. .NET is the best technology for building a Website.
    Both PHP and "Language.NET" are viable solutions for Web building. Whether it’s delivering a dynamic Web page generated from a database, sending an email, or interfacing with a payment gateway, both are perfectly capable. In assessing them as technologies for building your site, the only significant difference is the price. Try asking yourself "So how much does it cost to host this ASP.NET page I just wrote?"


    4. PHP is not compiled, other than when it’s interpreted at runtime, whereas .NET enjoys all the benefits of being compiled.

    Here’s news for the .NET crowd — you’ve finally caught up! Microsoft’s use of the word "compiled" in regard to .NET is not what a C++ coder would call "compiled". Zend, the corporate face of the PHP project, have been doing this for a while now with PHP Accelerator (for a free equivalent, try php-accelerator.co.uk). Unfortunately for Zend, they chose to describe what Accelerator does as "advanced caching" (read more on what Zend means by "caching"). For more technical detail, try this thread at SitePoint Forums.


    5. ASP.NET has accountable support. PHP has none.

    Apart from the support services offered by Zend (effectively PHP’s creators), NuSphere, ThinkPHP and other corporations also provide support for PHP. You don’t need it, thanks to the ever-expanding PHP community being what it is, but if your boss wants someone credible to blame, there’s more than enough choice!


    6. .NET supports multiple languages. PHP doesn’t.

    Try Java for PHP or the upcoming Python extension. Obviously this isn’t quite the same as C# or J# but the point needs to be made — PHP is very flexible, and offers useful solutions for the Internet. Don’t expect to find yourself to be writing a successful Website in Cobol.NET — it’s likely each .NET language will eventually "tune in" to a particular type of application development.


    7. Language.NET has superior object orientation.

    For those who know PHP and its limitations, you may be amused by this .NET FAQ — sound familiar? In fact with PHP 4.3 in the wings, it may be that PHP can claim superior OO support, when you consider that FAQ.


    What is significantly different is "Language.NET" will force you into an object oriented approach from the start, while PHP won’t. The Web typically does not require OO — for your average dynamic Website, a few "hacked" scripts are perfectly fine if they meets the site’s requirements. Deliver a live site now, rather than a beautifully abstract piece of code that’s ready one year after it’s needed. Paraphrasing SitePoint’s recent interview with Rasmus Lerdorf, PHP’s down-to-earth approach to problem solving is what has made it a success. And when you need OO, it’s there waiting for you.


    8. .NET offers superior templating and web development features.


    Microsoft has come up with some nice features with .NET that are certainly enticing, like the datagrid, and the templating mechanism. But you could easily reproduce these with a little PHP (try DaDaBIK, for example).
    The basic notion of templating is to separate logic from content, so those with artistic skills can make a site that looks good, while developers apply the code "behind the scenes". How Web designers feel about working with .NET’s templating system remains to be seen. With PHP, rather than being forced into a single approach, you have the choice of numerous Open Source projects (Smarty, Pat Template, etc.).


    9. But corporations don’t like PHP.

    Well apart from CBS, PHP is used on the corporate sites of Japan’s NTT DoCoMo, Switzerland’s Bluewin, and a whole load more you’ll find here. You frequently wont realise when you’re viewing a PHP-based site, because you’re not forced to use the default .php file extension (PHP often appears as .shtml or phtml).
    Also, have a look at the results of this job search — not bad.
    And as ezPublish demonstrates, corporations aren’t just using PHP, companies like Siemens are prepared to go into partnership to sell PHP applications to their customers.

    10. PHP is doomed!

    This is doubtful. In fact in June 2002, PHP overtook ASP to become the first Open Source project to start from behind, and become more popular than the bespoke Microsoft solution. With IIS going into decline against Apache as a result of the Apache 2.0 release and IIS’s poor security record, the gap will only widen.
    The .NET framework has only one real edge over PHP, which won’t be making itself apparent for a long time yet: with .NET, you can write an application that will run natively on Windows clients and is delivered from a Website. Microsoft has a long way to go with security before it will be able to unleash that on the Internet — and even when that time comes, browsers and content delivery may be sufficiently advanced to make it irrelevant.

    Via: http://www.sitepoint.com/php-top-10-net-myths-exposed/
    {{ DiscussionBoard.errors[4210892].message }}
  • Profile picture of the author mozlost
    PHP, however, you should find a good MVC (model view controller) framework to place your code in. It will help to make your sites and projects MUCH more manageable. And if you are having people develop for you, you definitely want to enforce this, else you can end up with a large unmanageable spaghetti mess. I like Codeigniter, but there are others like Zend and many others... Just search "PHP MVC frameworks"
    {{ DiscussionBoard.errors[4217775].message }}
  • Profile picture of the author mpsrct
    Both play prominent role in designing a website go for both
    {{ DiscussionBoard.errors[4218496].message }}
  • Profile picture of the author yrnbk
    Both are important in making a site. learn both of them
    {{ DiscussionBoard.errors[4225734].message }}
  • Profile picture of the author chazzpalterino
    I don't think this has been mentioned yet, but with PHP you have the advantage of an extensive perfectly-organized documentation. While it's arguable Microsoft's documentation is good (they sure have improved it in recent years), I still think PHP.NET/{FUNCTIONNAME} cant be beat, you get all the details and nice community replies to help you.

    I use PHP as my main langauge for my websites and web applications. I program in C# on client side and Java as well. Despite the fact that M$ and Java do have advantages over PHP, mainly in corporate support and in terms of security and corporate compliance to security policies.

    Plus you'll have a lot easier time finding help with PHP.
    {{ DiscussionBoard.errors[4228977].message }}
  • Profile picture of the author silvertower03
    PHP is platform independent. It can run on anything from an AS/400, Unix, Linux, Microsoft, or MACOSX. PHP is Open Source, that is, that it is a community developed and supported product.
    {{ DiscussionBoard.errors[4234466].message }}
  • Profile picture of the author theme
    Hi,

    I am an well experienced programmer in asp.net, dotnetnuke, joomla, wordpress.
    I prefer only wordpress and we cant find any alternatives to wordpress. WordPress is coded in php and it is a robust language. So you must concentrate on php and .net.

    .net is using mainly by organizations for manipulating/maintaining their own or client's applications. But when you to come to internet, u will be seeing most of the sites are developed using php. So you decide, where to go.
    Signature

    Riaz, an experienced Web Designer /Developer.
    Expert in Photoshop, HTML5, CSS3, jQuery, Wordpress.
    My Portfotio Live Wordpress Demo
    skype id : riazmohamed.k

    {{ DiscussionBoard.errors[4235930].message }}
  • Profile picture of the author Mikey Lightning
    I would go with .net mainly for the reason that it's very very well known and compatible.
    {{ DiscussionBoard.errors[4241692].message }}
  • Profile picture of the author lilylee
    I will prefer .NET.....its better to use...
    {{ DiscussionBoard.errors[4243927].message }}
  • Profile picture of the author karandigital
    yeah i agree people are biased towards php. Because its open source and is updated rarely. On the other hand microsoft releases a new .net version every year i guess. So people find it tough to learn. I am studying asp.net right now and i love it. I find it pretty easy actually but again i haven't used php so my opinion may be biased too
    {{ DiscussionBoard.errors[4244208].message }}
    • Profile picture of the author maxmalini
      I have programmed in both languages and prefer PHP, because for me it is easier to learn and I believe there is more documentation available for it than for .Net
      {{ DiscussionBoard.errors[4261051].message }}
  • Profile picture of the author phpdev
    Definitely, php

    There are many reasons. Scalability, easy of coding, available resources etc etc
    Signature
    Ali Usman
    PHP, MySql, WordPress, API Programming, E-Commerce Site, Payment Integration, Twilio, SMS Marketing, Custom Development, Wordpress, Joomla, Interspire, BigCommerce, Volusion, 3dCart and many more...
    sales@bluecomp.net
    {{ DiscussionBoard.errors[4305793].message }}
  • Profile picture of the author YongC
    Vote for PHP
    {{ DiscussionBoard.errors[4315417].message }}
  • Profile picture of the author mikewright789
    PHP are basically up as well as running right away. All you need is an apache server with PHP and MySQL and you are ready to go. There are complete bundles with all of this admitted so they don't even need to download all the individual components separately.
    {{ DiscussionBoard.errors[4360942].message }}
  • Profile picture of the author try_hard_samurai
    PHP is quick to learn, and the frameworks will (as the others mentioned) speed up your dev. time.
    {{ DiscussionBoard.errors[4362549].message }}
  • Profile picture of the author upendraets
    Dear,
    PHP is Simple , Best and Quick website.
    {{ DiscussionBoard.errors[4392038].message }}
  • Profile picture of the author rohit83
    hi.....
    php is gud bcz it is easy nd pHP open source matters
    {{ DiscussionBoard.errors[4397913].message }}
  • Profile picture of the author Tom Albas
    I love PHP but I can say that other languages also good.I also like to learn PHP but its to hard
    {{ DiscussionBoard.errors[4485441].message }}
  • Profile picture of the author ankitasharma
    I think PHP is best and easy.
    {{ DiscussionBoard.errors[4485552].message }}
  • Profile picture of the author odehfehr
    PHP and .NET, both are programming language. but in my opinion .net is a best, because .NET is a platforn independent we can run any application on .net platform. and we can maintain high security in .net. php is a open source language, so difficult to maintain security in PHP. so .NET is a best.
    {{ DiscussionBoard.errors[4493101].message }}
  • Profile picture of the author pamela88
    It depends on what you really good at, .Net is great programming language but it is so hard but do anything you could dream of. but PHP is so fast and progressive. you can use WordPress with some PHP script to do any website so fast and easily.
    {{ DiscussionBoard.errors[4496146].message }}
  • Profile picture of the author PiontekMedia
    It's mostly personal preference, I prefer to use PHP as it's open source and has a much better community.
    {{ DiscussionBoard.errors[4497028].message }}
  • Profile picture of the author fenner
    I think Php is better. it is easy to understand, host and coding.
    {{ DiscussionBoard.errors[4499428].message }}
  • Profile picture of the author Pankaj11
    Originally Posted by sanjay1234 View Post

    Hi

    I am new to this online media and I want to know that which language is better PHP or .Net to create a dynamic website.

    Kindly do let me know.
    I think .net is much batter then PHP for making a dynamic website because PHP is open source and not secure as compared to .net
    {{ DiscussionBoard.errors[4499540].message }}
  • Profile picture of the author NicholasCollins
    When i create websites now its solely in PHP as its easier and WAY more affordable to find offshore and local talent on the cheap.
    Signature
    GIANT end of year WARRIOR sale on Aged, Established sites. Use password warrior to gain access. http://rankedsites.com/warriors-special-sale/

    I am a startup guy and a proud 11 year Self Employed Veteran. www.NicholasCollins.com

    {{ DiscussionBoard.errors[4499650].message }}
  • Profile picture of the author leppozdrav
    PHP are basically up as well as running right away. All you need is an apache server with PHP and MySQL and you are ready to go. There are complete bundles with all of this admitted so they don't even need to download all the individual components separately.
    {{ DiscussionBoard.errors[4505251].message }}
  • Profile picture of the author Workman
    This is a way better topic than "PHP vs ASP(Classic)" -- Thank you for some intelligent comparisons.

    My preference is PHP.
    {{ DiscussionBoard.errors[4508801].message }}
  • Profile picture of the author rendityaprama
    PHP is fast, free.. many webhosts compatible with PHP..
    {{ DiscussionBoard.errors[4511565].message }}
  • Profile picture of the author windso0
    1. PHP is like an open source .NET.

    You can't compare PHP with .NET. .NET is an application framework (an environment for building and executing applications) not a programming language; it's like comparing a truck to a road. PHP can, however, be compared to languages which run under .NET, such as ASP+ or C# (referred to as "Language.NET" here).

    2. .NET is going to be the future of the Internet!

    .NET is the future platform for all Microsoft technology -- it's not aimed solely at the Internet. In fact, it's likely to make its first big appearance on corporate Intranets, with Office.NET and .NET versions of existing Windows NT server software.
    {{ DiscussionBoard.errors[4554610].message }}
  • Profile picture of the author nells james
    I would like PHP is a better choice for beginners, because you can use it completely free. There are excellent free IDE and a complete server stack is free, and almost every host offers PHP. ASP.NET usually requires a Windows Server and the Visual Studio IDE, this is quite expensive.
    {{ DiscussionBoard.errors[4555694].message }}

Trending Topics