![]() |
PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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 |
Re: PHP or .Net Quote:
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 |
Re: PHP or .Net Php i guess as it is simpler then .net and now a days most of the corporate world use php .. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net Go with PHP and use PHP framework to boost your coding time, i recommended Kohana framework. Search it on google. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net PHP is the best.easy,free and open source PHP for web applications PHP for command line scripts |
Re: PHP or .Net i use php and i think its better |
Re: PHP or .Net 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 :) |
Re: PHP or .Net PHP is easy and can be learned fast. if you learn PHP framework like Zend framework,CodeIgniter etc then you will be rewarded more. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net PHP is the best. Easy to program, host, etc. And .NET is not free |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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 |
Re: PHP or .Net I am truly agree with CyberSorcerer. Both language have their pros and cons.As a freelancer point of view PHP is in more demand. |
Re: PHP or .Net PHP go with it blindly ) |
Re: PHP or .Net PHP open source matters |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net 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. |
Re: PHP or .Net PHP, much easier to learn than .Net, partly because it requires no adherence to a particular programming style. :) |
Re: PHP or .Net I am a big fan of PHP. It's easy to transition from hacking with wordpress to writing full PHP code. |
Re: PHP or .Net 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? |
Re: PHP or .Net PHP is always simple, easy, and best :) |
Re: PHP or .Net for my suggestion is PHP ... buz it's very easy implementation when you are creating dynamic website |
Re: PHP or .Net Mostly website developer prefer PHP because PHP is the best programming Language for developer |
Re: PHP or .Net 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 |
Re: PHP or .Net 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. |
Re: PHP or .Net 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 |
Re: PHP or .Net 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. |
Re: PHP or .Net Quote:
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! |
Re: PHP or .Net 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 |
Re: PHP or .Net 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. |
Re: PHP or .Net 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.. |
Re: PHP or .Net 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. |
Re: PHP or .Net I prefer .Net over PHP. |
Re: PHP or .Net 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. |
Re: PHP or .Net PHP all the way! |
Re: PHP or .Net PHP is my favourite. It's simple and loosely typed. Try PHP first. |
Re: PHP or .Net php for sure, it's an open standard. |
Re: PHP or .Net 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. |
| All times are GMT -6. The time now is 05:14 PM. |