Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,260 members, 7,953,998 topics. Date: Friday, 20 September 2024 at 10:34 AM |
Nairaland Forum / Science/Technology / Programming / Asp.net And Php Which Is Better (8419 Views)
Asp.net And Wamp Server / C# - Capturing File Name From A FileUpload Control In Asp.net / Tutorial: How To Return Html In Json Response Using Asp.net And Jquery (2) (3) (4)
Asp.net And Php Which Is Better by unclenna(m): 11:34am On Dec 03, 2011 |
i want to start server side script. But i dont know the one to choose. Which one do you suggest i should go for. I need ur advice please. |
Re: Asp.net And Php Which Is Better by Nobody: 12:15pm On Dec 03, 2011 |
Well, If you are interested in learning php, you can enroll in my free online classroom - www.classes..net I moved from asp to php - but i think they are both equally good language, but for newbies in this Nigeria, i will recommend PHP. Yeah i know i may seem biased, but what else would you expect from a PHP expert? But still, i will say that asp.net is better. |
Re: Asp.net And Php Which Is Better by buzugee(m): 1:28pm On Dec 03, 2011 |
ITT is better. |
Re: Asp.net And Php Which Is Better by Ojukwu24(m): 2:10pm On Dec 03, 2011 |
*dhtml:^@*dhtml, infact, I now have respect for you because of the bolded part. Other php users will not say that. I use asp.net (and trying to get used to the razor view engine). I have tried php but have not been able to use it very well. Maybe I will try your class. @topic, I think it is easier to get help on php than asp.net, especially on Nland. I have asked two questions on nairaland that has to do with asp.net and up till now, no answers to it. Just go for the one you have more resources for but both are good. |
Re: Asp.net And Php Which Is Better by Nobody: 2:14pm On Dec 03, 2011 |
Learn both if you can since they both do the same job. It's not easy predicting the future of both languages. Php seem very stable at the moment and works across platforms, while Asp.net is kind of limited to Windows, but rapidly evolving and unpredictable. |
Re: Asp.net And Php Which Is Better by Nobody: 5:05pm On Dec 03, 2011 |
they both can do same thing, depends on ur experience with both i will say php has the largest followers. |
Re: Asp.net And Php Which Is Better by Nobody: 5:11pm On Dec 03, 2011 |
Thanks Ojukwu24, It is for the same 2 reasons above that i said aspx is better, but if you are in Nigeria, you will get help with php more easily. Between me and webdezzi, we will kill any PHP bug that dares to show his head up. |
Re: Asp.net And Php Which Is Better by Afam4eva(m): 5:31pm On Dec 03, 2011 |
None is better than the other. They both have strengths and weaknesses. But the strength that PHP has over ASP.net is that it's easier to use and it has a large community of users. Infact, it's the most widely used scripting language. This has made susceptible to attack. On the other hand ASP is more secure considering the fact that some of the loop-holes in this language is kinda still a secret because it does not have the kind of follower-ship that PHP commands. That's why you notice that most serious and big corporations rather go for ASP.net, Coldfusion, JSP and other lesser known scripting languages just to be on the safe side. As for me and my family, we shall follow PHP. |
Re: Asp.net And Php Which Is Better by BCuZiMBlaCk(m): 5:36pm On Dec 03, 2011 |
If it were my option and no other, i'll go with asp.net |
Re: Asp.net And Php Which Is Better by moderatorr: 5:55pm On Dec 03, 2011 |
go for php, no doubts, just go. Asp is dying. Checkout the internet. What percentage of those sites where done with asp? Bro everything is php. Everything php is free! Here u have dreamweaver, there you have phpmyadmin and up there u have a promising site. Php is faster than asp, pls google it. Php is better than asp, pls google it. Php is more effective than asp, pls google it. Php is growing faster than asp, pls google it. I can now create mobile and desktop apps with php, pls ask me! Pls dont look back, just go for php. |
Re: Asp.net And Php Which Is Better by moderatorr: 6:04pm On Dec 03, 2011 |
*dhtml: *dhtml:if asp is better 1. Why did u move to php? 2. Became an expert there. 3. Created all your sites in php. 4. Start a php classroom? Your joomla in php, mambo in php, wordpress, os ticket, zen cart, wiki, drupal, your entirelife . . . And mine too! ? |
Re: Asp.net And Php Which Is Better by Beaf: 6:34pm On Dec 03, 2011 |
First of all good peeps, ASP (better known as Classic ASP) is not the same as ASP.NET. They are totally different things altogether. ASP.NET is as superior to ASP as a Mercedes Benz is to a bicycle. On the other hand ASP and PHP are in the same group of poor technologies which are no better than JavaScript. Both are based on interpreted languages, e.g, the hideous VbScript for ASP (or even JavaScript --at this point, Beaf vomits--). Why would anyone want to write apps in a scripted language? The case for PHP is even worse; it is the most insecure technology ever presented with a serious face. All a hacker (even a pimpled kid) has to know is that a site was built with PHP and they can be sure they will cart home the database long before nightfall. Thats what you call, useless technology. There is no way to compare ASP.NET and PHP, its just ridiculous and annoying to attempt it. A better match would be ASP.NET vs Java or even C++ (for backend code). 2 Likes |
Re: Asp.net And Php Which Is Better by Afam4eva(m): 6:39pm On Dec 03, 2011 |
Beaf, we're not talking about creating a stand a alone app. I think the poster meant a web app which PHP and ASP.net can handle very well. |
Re: Asp.net And Php Which Is Better by Beaf: 6:41pm On Dec 03, 2011 |
afam4eva: I'm talking about web apps. Both Classic ASP and PHP are damn useless and cannot be compared with ASP.NET. Dude, its like comparing an F-16 with a catapult. |
Re: Asp.net And Php Which Is Better by Afam4eva(m): 6:45pm On Dec 03, 2011 |
Beaf: I totally disagree. You might have your reasons for thinking tASP.net is better than PHP. But saying they're incomparable is not only an insult on PHP but to the thousands of developers who use PHP. |
Re: Asp.net And Php Which Is Better by Beaf: 6:53pm On Dec 03, 2011 |
afam4eva: The truth is bitter. I don't mean to insult anybody, but even if open source is the alure behind PHP, rather than prop up a badly designed and poorly concieved vehicle, PHP devs can migrate to more solid frameworks like python, Ruby, Smalltalk, Java etc. PHP started as a Perl hack by someone who wanted an easir life with Perl and it still bears all the hallmarks of a hack. All other languages were purposefully designed with set goals and security in mind, even JavaScript. It is PHP's adhoc origins that make it the most hackable framework by far. 1 Like |
Re: Asp.net And Php Which Is Better by unclenna(m): 8:12pm On Dec 03, 2011 |
waoh, you guys are great. Security is my most concern. from what dhtml and others said i think asp.net can give me what i want but is difficult to get help when you have problem with asp.net than php. Thanks all. Am very greatful. |
Re: Asp.net And Php Which Is Better by moderatorr: 11:41pm On Dec 03, 2011 |
unclenna:secu-what? Dont even say that again. Now lets roll heads. Paypal - the worlds accepted merchant site was built with php. Liberty reserve and all the other highly secure money exchange sites- php! Facebook - built with php. SMF(the app on which nairaland is running) - built with php. Phpbb - no need to say, its already on the name. Joomla - php drupal(on which US govt website is runniing - php name them, name them bro. Now back here: Beaf's project site - built with php. All *dhtml's sites - built with php. I can keep on listing. @beaf Go hack facebook, nairaland, paypal make i see. @OP bro dont say i didnt warn you. ASP is bulky, and slower. Has less community support. Built buy microsoft (you know what it means? You gon pay pay pay) i once saw on a site windows hosting for 35GB is $99 per month! While linux(for php) is $10! Guy , no body they use asp now. |
Re: Asp.net And Php Which Is Better by FEMARY1: 1:07am On Dec 04, 2011 |
|
Re: Asp.net And Php Which Is Better by Nobody: 2:21am On Dec 04, 2011 |
Re: Asp.net And Php Which Is Better by Kobojunkie: 2:45am On Dec 04, 2011 |
@Poster, how about you start by not asking these darn silly questions so many before you have asked and have only come to learn, the hard way, are irrelevant and moronic at best? Their is a place for ASP.NET, PHP, Classic ASP etc out in the market. You just need to learn whichever one you can( best you actually learn the basics of programming languages) so you are best able to adapt and learn whatever language, framework, scripting language you need to help you get the job done. GOSH!!!! You folks need to stop creating these threads that keep clogging up this section and making it seem this is all programming is about. Why is the @moderator allowing folks create these threads still? Instead block all news threads of this nature and force these folks to continue on already existing threads on the same exact issue/non-issue. |
Re: Asp.net And Php Which Is Better by Nobody: 2:55am On Dec 04, 2011 |
Re: Asp.net And Php Which Is Better by member479760: 3:39am On Dec 04, 2011 |
none is good, just invent your own! |
Re: Asp.net And Php Which Is Better by unclenna(m): 3:59am On Dec 04, 2011 |
@all, thank you very much oh. Am greatful. |
Re: Asp.net And Php Which Is Better by Nobody: 4:10am On Dec 04, 2011 |
Welll, php and web developers please create your profile of http://developers..net and to learn php visit www.classes..net This is a very great thread really. And I believe nairaland runs on php too. |
Re: Asp.net And Php Which Is Better by Beaf: 6:49am On Dec 04, 2011 |
omo_to_dun: Dude, all of those websites only present PHP as a front; they all run on a mix of other better technologies like Java and C++. PHP is too slow and buggy to even contemplate carrying the sorts of loads those websites come under without servers randomly blowing up before the huge meltdown. Lol! Lets take facebook as an example, it runs on C++, not PHP: HipHop for PHP isn't technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it. HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features — such as eval() — in exchange for improved performance. HipHop includes a code transformer, a reimplementation of PHP's runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations. http://developers.facebook.com/blog/post/358/ The stuff below is even more detailed. Facebook runs on C++: From various readings and conversations I had, my understanding of Facebook's current architecture is: http://www.quora.com/What-is-Facebooks-architecture |
Re: Asp.net And Php Which Is Better by Nobody: 7:37am On Dec 04, 2011 |
|
Re: Asp.net And Php Which Is Better by SUCCEED3: 9:14am On Dec 04, 2011 |
@OP I recently decided to make a career in programming and web application development, I've learnt (, and still learning) ASP.Net and have done some small projects with it. Currently I’m learning PHP although I’m yet to any project with it but I believe it has a lot of potentials. For my PHP *DHTML has been very helpful, you can check out the PHP classes from his site. Although I may not be the most qualified to advise you, however, having worked in a number of enterprise environments and now being an entrepreneur, here are a few things I would want to say: 1) Most (almost all) enterprises in Nigeria (Banks, Insurance companies, Pension companies-PFA's and Custodians, Telecoms, Breweries etc) run a lot of Microsoft based software (i.e.Active Directory, SQL Server, Office Suite, SharePoint, Microsoft Exchange e.t.c) and since ASP.Net is developed by Microsoft, it is much easier to develop web apps that leverage other Microsoft technologies, so often times integrating your ASP.Net apps with other Microsoft technologies is seamless. For example, I recently built a small application for a PFA, the PFA runs MS Exchange and they've got Active Directory and SQL Server, it was most natural for me to build the application using .Net. ASP.Net has got inbuilt models i.e. Membership, Role Management, personalization, Site navigation, Configuration, Webhpart and other models which have been designed to work seamlessly with Active Directory and SQL Server and makes your app development much easier. I can't imagine myself or anybody else for that matter building an application authorization and authentication targeted at Active Directory or SQL Server using PHP, that would be a hell of a task and may take days if not weeks to build, however, to achieve the same functionality in ASP.Net, it is just a matter of modifying two lines of code in Web.config or App config files. So, what am I driving at? If you are building a web application to be used by an enterprise for example, ASP.Net or even Java may be most suitable for it and not PHP. To drive my point home, InterSwitch, the pioneer transaction switching company in Nigeria has all their web applications (Quickteller, Webpay, Authopay, Paydirect e.t.c) developed with ASP.Net, these apps are powered by MS SQL Server back -end db so .Net is most natural for them to use and these apps have scaled quite well and they are being used by many people. Another example is Computer Warehouse, re-sellers of Finacle Banking Software in Nigeria, most banks in Nigeria and other West African countries use Finacle and Computer Warehouse develops most web applications that integrate with the Finacle system using Java technology, Finacle is powered by Oracle Database and Oracle owns Java so you see the dependencies. I know we are not talking about Java here but I believe it's still related to the topic 2) However, if you are developing a web application that is targeted at everybody across the globe, and your app is not going to be dependent on any other proprietary underlying technology, say you are building a Social Networking website that will give Facebook a run for their money, or you are building an online educational portal like *DHTML, Omo_to_dun and other Nairalanders are doing, or you are building a general purpose web portal for Classified ads, property listing, Group coupon, Business listing, photography, blogging e.t.c, then PHP may be a better option over ASP.Net. Enough has been said about all the major sites using PHP, our darling Nairaland is based on Simple Machine framework which is powered by PHP, and above all, the most popular sites in the world have at one point or the other used PHP. I need not say more. Many reasons for the recommendation have been mention severally by previous posters viz: PHP is free PHP is open source PHP has a large online community PHP powers more website than ASP.Net PHP has so many frameworks so you can choose the one best suited for what you want to do and adapt it PHP is cheaper to host and support so you save more money PHP seems easier to learn (well I cannot stick my neck on this, but from general opinion here) PHP Most CMSes are based on PHP PHP Compatible with more platforms , , I believe there are others. In conclusion, I'm not biased over one language more than the other, I really think it depends on what you want to do, end users of the application, your proficiency in your language choice amongst others. For me, I know ASP.Net more than PHP, I'm not yet a pro, my knowledge of ASP.Net is still intermediate, but I'm working towards becoming proficient in it. I'm a beginner in PHP and there's a project I plan to embark on soon that will be based on PHP, I know the project can be accomplished using ASP.Net but I do also believe that PHP is more suitable to use than .Net. I have decided to focus on the two languages and master them very well for future projects. Question: Some people have mentioned that PHP is faster than ASP.Net, please can someone throw more light on this or provide some proof. Speed is a major consideration when choosing a language over the other I believe? And please the assertions above are only an opinion and may not be 100% correct, they are based on my little experience, but I they are open to criticism. And please if you have a good ebook or document on PHP and Mysql for a Beginning, Intermediate and advanced learner, I would be very glad if you would kind enough to send them to success001 [at] yahoo [dot] com. I’m still a beginner but I’m eager to learn. Thank you. 2 Likes |
Re: Asp.net And Php Which Is Better by Nobody: 11:03am On Dec 04, 2011 |
^^^Thank you very much jare, so people you don hear now, berra join my free PHP classrooms, i am working on adding video casts from youtubes as well to make it more interesting. And there are other web programming courses there as well. - www.classes..net |
Re: Asp.net And Php Which Is Better by Beaf: 11:23am On Dec 04, 2011 |
omo_to_dun: lol! I wish my quote had been released, but the spambot is a biased PHP lover. Facebook developers make it quite clear that they only use PHP as a templating engine. The engine room is 100% C++ (and Java in a few areas). I can't put in any links now, cos of that rubbish spambot, you just want me to be banned again . All you need do is google up "facebook web architecture" and all will be revealed. if facebook had been written in Java or C#, it wouldn't have needed any tranformation; those two beasts have the grunt to shoulder the burden, whereas poor lil PHP just buckles. Before HipHop, facebook PHP talked directly to C++. Facebook has always run on C++ with PHP as a templating engine. |
Re: Asp.net And Php Which Is Better by Beaf: 11:49am On Dec 04, 2011 |
moderatorr: Like I pointed out to Omo to dun, those websites are not running on PHP. They have their backends in proper technologies. My guy, since I've been a member of NL, it has been hacked quite a few times. I wouldn't do it, cos I love the site. . . .But here's a little unscientific research anyone could try, do this google search for SMF (which runs NL): http://www.google.com/search?q=smf security#q=smf+security&hl=en&tbo=1&output=search&source=lnt&tbs=qdr:y&sa=X&ei=d0zbTtKWKoOatwf-mr3sAQ&ved=0CAgQpwUoBQ&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=94ae66b5e87eee2a&biw=1424&bih=757 Then do the equivalent for an equally popular (and badly written) .NET forum software, YAF: http://www.google.com/search?q=yet another forum security#q=yet+another+forum+security&hl=en&tbo=1&output=search&source=lnt&tbs=qdr:y&sa=X&ei=d0zbTtKWKoOatwf-mr3sAQ&ved=0CAgQpwUoBQ&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=94ae66b5e87eee2a&biw=1424&bih=757 Which of the above links inspires more confidence at first glance? The only problems you will see with YAF are from CCP replacing the authentication system with their own stuff which is not YAFs fault. With SMF on the other hand, the thing is being patched left right and center, because of security holes. Paypal job postings always ask for C++/Java. Thats a clear pointer to what runs their backend. As for Drupal, Joomla etc, those frameworks all have very weak security. Google it and see; anyone can walk into sites built on them. |
Re: Asp.net And Php Which Is Better by Nobody: 2:51pm On Dec 04, 2011 |
Now this great thread is degenerating into argument threads again. smashingmagazine.com is done with wordpress - that gets hacked everyday. It is one of the most popular blogs in the world, and ranks 571 in alexa ranking. Any site that is not properly done will get hacked, even sites well done, with a good hacker will still get hacked. How many times have naser gotten hacked? Sony hacked, even facebook self. |
.NET Is A Dead & Useless Language - .NET programmers come and defend yourselves / Java Vs C Sharp / How To Deploy Application With Access Database In Vb.net 2008
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 91 |