Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 14th, 2003, 11:12 AM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 44 m 44 sec
Reputation Power: 174
ASP.NET vs PHP - According to MSDN

I found a link to this article on Zend.com's homepage (which seemed a bit odd, as the content of the article compares ASP.NET vs PHP, and speaks unfavorably towards the latter)...

http://msdn.microsoft.com/library/d...phpvsaspnet.asp

Some of the comparisons are interesting... though, it seems that most of the OOP issues raised are addressed by PHP5.

Another point of interest (for me, anyway) was how they reviewed the process by which PHP communicates w/ MySQL (and other ODBC db's). This part was interesting, as I've read other 'language x' vs. PHP comparisons, and the MySQL functions are always raised as part of the 'downside' of PHP... is this really such a big problem w/ PHP? I'd be interested to hear other people's thoughts on the subject.

(Here's a PHP vs. CFML article on Macromedia's site - their comparisons are almost laughable, but the aforementioned SQL connect issue is present here, too: http://www.macromedia.com/devnet/mx...s/php_cfmx.html )
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever.
Analyze twice; hack once.
The world's first existential ITIL question: If a change is released into production without a ticket to track it,
was it actually released?


About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect -
Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire


Reply With Quote
  #2  
Old May 14th, 2003, 11:55 AM
SilkySmooth's Avatar
SilkySmooth SilkySmooth is offline
Newbie :P
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2001
Location: In the PHP Engine :-)
Posts: 2,880 SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level)SilkySmooth User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 11 h 32 m 23 sec
Reputation Power: 15
Well I read up until this 'At the heart of PHP 4.0 is the Zend Engine' in that article and then scrolled to the bottom.

A) They are comparing their latest and greatest against an older version of PHP, if you are going to do a comparison atleast make it fair.

B) The fact that during the comparison between opening connections to MySQL, they open a perfect connection, loop through it using mysql_fetch_array which should really be a _row in the example they used. And then they close it using a completely different database platform MSQL. Makes me very reluctant to beleive they actually tested any of their code

C) ASP.net connections are really not that easy, especially with vB it's a pain in the you know where.

D) They mock the naming conventions of PHP and state that it is very difficult to find the right function for the job, yeah sometimes it is, but in comparison the PHP Documentation is a 100% better than ASP.net I spent literally hours searching a couple of weeks ago when I got into my first ASP.net project. I could have had the project done in the time it took me to find the info I needed had I been using PHP or Perl.

E) Never trust anything Microsoft publish.

F) Average rating:
2 out of 9

801 people have rated this page


Speaks for itself really, but now you know why there is a link from Zend to it and where all those Vote's came from, PHP Developers. Ooops make that 802!
__________________
---------------------
-- SilkySmooth --
---------------------
Proxy | Little Directory

Reply With Quote
  #3  
Old May 14th, 2003, 12:16 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 44 m 44 sec
Reputation Power: 174
Heya Silk,

Congrats on the mod status dawg.

Yeah, I also noticed they failed to mention that PHP5 addresses the issues w/ OOP, and they also completely ignored the experimental .NET extensions to PHP...

Documentation is a huge issue - does their ASP.NET IDE provide links to a website for built-in classes or functions, like Zend's Studio does for PHP? What about their error messages - do these provide links to online documentation, like PHP 4.3.1's error msgs do?

Its funny - for all of MS' pitch about web integration, Zend is doing a much better job integrating the PHP engine and IDE to the web than MS is...

Reply With Quote
  #4  
Old May 14th, 2003, 05:13 PM
Acid Reign Acid Reign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 190 Acid Reign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 57 m 52 sec
Reputation Power: 8
Send a message via ICQ to Acid Reign
Re: ASP.NET vs PHP - According to MSDN

Quote:
Originally posted by drgroove
I found a link to this article on Zend.com's homepage (which seemed a bit odd, as the content of the article compares ASP.NET vs PHP, and speaks unfavorably towards the latter)...


Of course they are going to say that there product is the best, what else would you expect? They are hardly liable to admit that any of their products is rubbish (untill they release a new version and then they admit what everyone was saying about it).

Reply With Quote
  #5  
Old May 14th, 2003, 09:33 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 44 m 44 sec
Reputation Power: 174
Well, obviously MS will defend their own products... it just struck me as odd that Zend would have a link to MS' marketing propaganda on their homepage, thats all.

Reply With Quote
  #6  
Old May 14th, 2003, 10:07 PM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 11 m 27 sec
Reputation Power: 27
Well have you seen this forum at all?

http://www.asp.net/Forums/ShowForum...ex=1&ForumID=44

Migrating from PHP to ASP.Net
__________________
- Andreas Koepke

I have photos for sale at RedBubble


Reply With Quote
  #7  
Old May 14th, 2003, 11:51 PM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
I was surfing the headlines and saw that Windows 2003 was spanking Linux in file serving as well.

Microsoft paid for the test and instructed the testers on how to configure the Windows machine so this may have affected the outcome.

http://www.linuxworld.com/2003/0509.barr.html

Quote:
...if you are going to do a comparison at least make it fair.
I'm confused. If they made it fair, how would they every expect to win?

Reply With Quote
  #8  
Old May 15th, 2003, 01:12 AM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 11 m 27 sec
Reputation Power: 27
Well to give it a good run I think they should test it against FreeBSD Unix. I would expect Unix to kick Windows 2003. Its a lot faster and more efficient than Linux in what I have seen

Reply With Quote
  #9  
Old May 15th, 2003, 12:00 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 44 m 44 sec
Reputation Power: 174
Quote:
Originally posted by a.koepke
Well have you seen this forum at all?

http://www.asp.net/Forums/ShowForum...ex=1&ForumID=44

Migrating from PHP to ASP.Net


I hate trolls, but I got a right mind to spend some time each day filling this forum w/ pro-PHP propaganda...

Have you looked through this? Over half of the posts basically follow this paradigm: "how do you do this thing which is totally easy and intuitive in PHP in ASP.NET? " ... with the responses from the ASP.NET goons showing just what a pain in the arse ARSE.NET really is, by their own answers.

Reply With Quote
  #10  
Old May 15th, 2003, 12:54 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Let's see here... ASP.NET... a platform in which you can use pretty much any (Microsoft) language to build web applications. Which basically means you can use Visual Basic.NET or Visual C++. Let's see here.... building web applications with the C++ language, or a language that is directly descended from the procedural nightmare that is BASIC... hmmm, yes, those seem like two logical choices for web development to me

I never understood ASP... why the hell would someone (management monkeysuits not withstanding) CHOOSE to write a web application in something that not only descended directly from BASIC (a language that was never meant to do more than teach an introduction to programming, which is something that Pascal eventually took over at that) but also uses a lot of the 30 year old BASIC constructs and theory??? I couldn't even write clear, competent, and functional COMMAND LINE programs with that crap without pulling my hair out, I can't imagine how stupid (or crazy) you'd have to be to actually WANT to try and make a web app with it... oig... it seems to me sometimes that, while developers point a lot of fingers at end users and laugh, we might want to consider that one digit that's pointing back at us, because we sure don't always shine a whole lot of glory on ourselves....

Reply With Quote
  #11  
Old May 15th, 2003, 08:23 PM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 11 m 27 sec
Reputation Power: 27
Well I used to be an ASP programmer. I knew ASP and sort of knew Perl. I hated Perl with a passion and thought it really sucked. I also thought ASP rocked and really liked using it as a programming language.

This all got derailed though in my first web development job. Went in there and was given a Linux server to host things on. I did know a bit about Linux system admin so I set it all up and used Perl to make first project. Then someone mentioned PHP and I tried it and loved it. Was quite a bit like ASP but with C style syntax that I liked.

If I hadn't taken that web job I would most likely be using .NET now and be MS only programmer.

Reply With Quote
  #12  
Old May 15th, 2003, 08:35 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Eh, Perl is just too big a gun for some people to enjoy. I personally like the level of complication and power that it provides, but, if you don't like playing with (occasionally pointless levels of) obscene power, then PHP is definitely the way to go for web stuff. You probably wouldn't like raw C either (it's a pain in the butt if you've never tried it - you think Perl gives you a lot of rope to make a knoose....).

VB is just... well... humorous. I just think it's funny that MS has embraced this language that is, as admitted by the creators, meant only to be used as an intro teaching tool. Microsoft tries to push it like it was some powerhouse language. To really sum up the obnoxious level of complication of that language, just take a look at the VB.NET book I have that weighs in at 1600 pages vs. the Programming Perl book I have that weighs in at 700. Heck, include the Perl/Tk book in that and it still only tops out at 1400 - 1500. And Perl can do about 5x as much as VB can... weird....

And, gimme a break Microsoft.... PHP vs. ASP.NET? That's like pitting a ballet dancer (very very flexible) against Fat Albert (not.. uh.. very flexible at all) at a dance competition.... not much of a match-up. OK OK... my analogies suck...

Reply With Quote
  #13  
Old May 15th, 2003, 08:41 PM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 11 m 27 sec
Reputation Power: 27
Well I have used Perl recently since I had need of its power. It is an awesome language, I will give it that, but I can code faster in PHP. I don't know C but do want to learn it later, would be good to add it to my skills.

I, too, think its funny that MS has embraced BASIC so much, its just silly really. You would think they would have gone with a real language. I use VB all the time and think its best described as a joke. VisualBasic It is not a commercial development tool. C# is a joke too, they have completely ruined the C language with this horrid mutation of it.

Reply With Quote
  #14