PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

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:
  #46  
Old December 3rd, 2003, 10:49 AM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 14
Send a message via AIM to rod k
Quote:
In discussions like this I assume that the comparison/choice of career is Windows/IIS/ASP vs. Unix/Apache/PHP
Well, one shouldn't ASSume anything. But for purposes of our comparison I'll stipulate. However, notice that you don't mention an RDBMS here but later you do (and it happens to be MySQL for whatever lame reason).

Quote:
I could consider using PHP instead of ASP on a Windows IIS / COM / SQL-server solution
I wouldn't. Not because of anything agains MSSQL or PHP but because of the platform. How anyone could consider placing an enterprise level / mission critical application on an MS server is beyond me.

Quote:
But I would not consider using a PHP/mySQL solution when building Enterprise solutions.
Again, you are under the ASSumption that the only OS RDBMS to use with PHP is MySQL. I don't know why you are stubbornly sticking to this. Ever heard of Postgres? How about Firebird?

Hell, if you want a commercial RDBMS, why not get off of MS completely and run Oracle under Linux? Then you can have your commercial RDBMS (since the only OS one you seem to be aware of is MySQL) on a stable platform.
__________________
FSBO (For Sale By Owner) Realty

Reply With Quote
  #47  
Old December 3rd, 2003, 11:51 AM
Verdant Verdant is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 13 Verdant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i would just like to point out... ASP sucks, ASP.NET is what we are talking about

Reply With Quote
  #48  
Old December 3rd, 2003, 02:38 PM
n.eby's Avatar
n.eby n.eby is offline
doesn't like link-rollover ads
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Sep 2003
Posts: 1,820 n.eby User rank is First Lieutenant (10000 - 20000 Reputation Level)n.eby User rank is First Lieutenant (10000 - 20000 Reputation Level)n.eby User rank is First Lieutenant (10000 - 20000 Reputation Level)n.eby User rank is First Lieutenant (10000 - 20000 Reputation Level)n.eby User rank is First Lieutenant (10000 - 20000 Reputation Level)n.eby User rank is First Lieutenant (10000 - 20000 Reputation Level)n.eby User rank is First Lieutenant (10000 - 20000 Reputation Level)n.eby User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 5 h 32 m 42 sec
Reputation Power: 146
Quote:
also, in many enterprises the boss hands you a job to get finished ASAP... you don't always write the best code, having the fastest solution behind your project is going to help

word.

Quote:
a good example would be a forum application... either mySQL or PHP starts to take excessive time to execute under heavy loads, even on powerful hardware...

actually i seem to remember devshed having this very problem, maybe a year and a half ago or so. they were mySql, i wonder if they still are. i don't see those issues now. this site's performance is much better now than it was then.

i don't know squat about mySql performance benchmarks... my impression was that it wasn't enough to handle heavy lifting (like finding this thread's most recent posts in a database of many many thousands of posts). when you say that either php or mySql starts to buckle under heavy loads, i'd offer that of those two, mySql is by far the most likely culprit. if you bring the webserver (hardware and software) into the mix, with respect to things like ability to handle concurrent requests, the php engine is still the least likely thing to cause performance problems.

Quote:
i would just like to point out... ASP sucks, ASP.NET is what we are talking about

and on the flip side of that coin, what we're really talking about is Apache/PHP/mySql. to compare PHP to ASP.Net is sort of an apples-and-oranges thing, isn't it? .net is a web app platform, while php is just a language and interpreter, usually deployed as part of an apache-based platform.

when you guys talk about asp.net, what is the webserver technology for the most part- IIS? the database- sqlServer?

Reply With Quote
  #49  
Old December 3rd, 2003, 03:24 PM
Verdant Verdant is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 13 Verdant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by n.eby
and on the flip side of that coin, what we're really talking about is Apache/PHP/mySql. to compare PHP to ASP.Net is sort of an apples-and-oranges thing, isn't it? .net is a web app platform, while php is just a language and interpreter, usually deployed as part of an apache-based platform.

when you guys talk about asp.net, what is the webserver technology for the most part- IIS? the database- sqlServer?


yes, its a platform, and the argument is semi-non-valid, but we are debating the choice between ASP.NET and PHP to develop web pages, services and apps, clearly, and in that both are valid, and quality choices

certainly the two solutions are entirely different, .NET being an entire framework... but the framework is part of why i think asp.net is great.

you can run .NET off of apache... i don't believe its that hard to setup.. not sure if you can do it without mono yet.. and you can certainly use mysql with .NET, its just paired more often with mssql because mssql is faster on windows systems then mysql, and because there is support for mssql in vs.net (i am not sure how linux mysql vs windows mssql compare speedwise)


also there is a project to get the .net architecture to work on linux systems, and it seems to work pretty well, but i haven't had time to test it thoroughly... and i will certainly keep my eye on it.

Reply With Quote
  #50  
Old December 3rd, 2003, 06:38 PM
secondlion secondlion is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 27 secondlion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 45 m 39 sec
Reputation Power: 0
Send a message via Yahoo to secondlion
Hi guys,
I am very confused about how to start leaning PHP.
Suppose I use my PC (running XP) as a server. what do I have to setup in my PC in order to have PHP?
I downloaded PHP 4.3.4 zip package and PHP 4.3.4 installer from PHP.net. What should I do with them and what else do I need?
Plz help me out !

Reply With Quote
  #51  
Old December 4th, 2003, 04:05 AM
danjel danjel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 57 danjel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Rod k
"Well, one shouldn't ASSume anything. "
Of course one should, if you dont know in which context you have a discussion, how cold one even have a good discussion?
Maybe I was unclear in my first post, but I made my assumption clear in the second one.

"and it happens to be MySQL for whatever lame reason"

Well whats up with your lame attitude?
Could one not even have an opinion without beeing disrespected?
I do know there are other RDBMS, why do you assume I dont know this?
The reason I mention the PHP/mySQL is that it is considered "standard" , of course I could consider using maybe a PHP/Postgres solution,but my point is: I would not use a mySQL/PHP solution in a enterprise site.
That was simply my opinion in this context; a guy wants to be steered in a certain direction and surely he wants to hear different opinions.

Reply With Quote
  #52  
Old December 4th, 2003, 04:28 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 13 m 55 sec
Reputation Power: 28
Quote:
Originally posted by danjel
"and it happens to be MySQL for whatever lame reason"

Well whats up with your lame attitude?
Could one not even have an opinion without beeing disrespected?
I do know there are other RDBMS, why do you assume I dont know this?
The reason I mention the PHP/mySQL is that it is considered "standard" , of course I could consider using maybe a PHP/Postgres solution,but my point is: I would not use a mySQL/PHP solution in a enterprise site.
That was simply my opinion in this context; a guy wants to be steered in a certain direction and surely he wants to hear different opinions.


I think its about time I jumped in here.

I don't think RodK has an attitude issue at all. MySQL is NOT an enterprise solution and comparing it to MSSQL is not good. For enterprise usage use something else.

PHP with MySQL is standard? Since when? MySQL is just another database system. Just because a lot of people use PHP with MySQL does NOT make it a standard. Its the same as saying that Access is the standard for usage with ASP.NET... a lot of people do it.

Before you were comparing a PHP/MySQL solution to ASP.NET/SQL-server solution. This is like comparing a PHP/Oracle solution to ASP.NET / MS Access solution. In that case the PHP solution would be better by a long shot.

MySQL is NOT the only solution for PHP users and certainly is not the standard. You need to compare things correctly since in this case its not the language but the databases that is the reason for not selecting one of the options.

Now just the other day Sterling Hughes put an entry into his blog about .NET vs PHP. I suggest everyone have a read of it and see what you think.

EDIT: Just noticed link has already been posted Looked through thread before and didnt see it first time.
__________________
- Andreas Koepke

Koepke Photography


Last edited by a.koepke : December 4th, 2003 at 04:33 AM.

Reply With Quote
  #53  
Old December 4th, 2003, 11:29 PM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,860 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 11 h 3 m 38 sec
Reputation Power: 104
Send a message via AIM to icrf
First, a related article which I thought was very good. It's a Perl hacker writing about his experience with .NET and C#. He has good things to say about it, and compares the CLR a bit to Parrot. He also mentions how the two methods ActiveState used to make Perl compatible with .NET work. Oddly enough, neither of them involve compiling Perl into CL.

According to the original thread start, if you're using .NET, you're really not doing much work at all in ASP. Almost everything is done in whatever you back-end language is (commonly C#). So the ASP/PHP choice really isn't that. The only times I had to dip into ASP is when I (quicky) ran into the inadequacies of the form builder. [OT] VS.NET likes to..."pretty up" the layout of the ASP code, and me and MS differ greatly on our opinions of what's "pretty". Every time I changed something so I could read it, it obfuscated it back to how it liked it.[/OT]

Another thing I found odd about .NET is that I had to compile the C# which put it on the webserver. Then the first time the page was hit, it had to take its time to compile again (I imagine the ASP, or maybe the CLR). After that it was cached and ran quickly, though. Just compiling a project twice struck me as strange.

As to cost, the linux/apache bit is certainly more inexpensive than windows/iis, but I'm pretty sure that VS.NET is significantly cheaper than J2EE. That's actually one of it's big draw points for using the MS solution.

No one can honestly say you can't get a job working with open technologies, but by the same token, no one can say it's easier than finding work with VS.NET. I'm wandering the market right now looking for something, and it's amazing how many people are using .NET.

Perl has two very distinct uses. Seen advertised as either "shell/perl scripting" or "php/perl". Perl is used a ton in server administration, even in windows (they've started to find out how much VBS blows). But generally if you have a programming job with Perl, it's web development. The sysadmins do a lot more than code. Sure, there's some usage blur, but those are the two most common uses.

Sure, the openness of PHP helps make it popular in free online support forums (like these), but I think more than the free speech is the free beer. Kids making webpages on Geocities aren't going to drop over $1k to make web logs that won't even run without paid hosting. PHP is such an easy language to pick up, it's free (cost-less), documentation and support are (available for) free, hosting is even available for free (likely ad-supported, but how many 13 year old newbies care about ads?).

Why more companies use .NET than open technologies, I don't know. I hear that it handles the huge infrastructure of multi-billion dollar companies much better. How or why, I don't know. I've never had to make something that outgrew what Perl could do. If someone has any insight on how it's better, so share.

Quote:
This is like comparing a PHP/Oracle solution to ASP.NET / MS Access solution.

Thanks, that sums up the last three pages of posts pretty well.
__________________
Andrew - Perl (and VB.NET) Monkey

Never underestimate the bandwidth of a hatchback full of tapes.

Reply With Quote
  #54  
Old December 5th, 2003, 04:01 AM
macgruder's Avatar
macgruder macgruder is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Japan
Posts: 251 macgruder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 52 m 54 sec
Reputation Power: 9
Quote:
Originally posted by a.koepke
I think its about time I jumped in here.

I don't think RodK has an attitude issue at all.


But he did capitalize A S S in 'assumption' - there must have been a reason for that, and since he was disagreeing with someone - nothing wrong with that - there was the implication that Danjel was an 'A S S' perhaps. Looked disrespectful to me.

Last edited by macgruder : December 5th, 2003 at 04:09 AM.

Reply With Quote
  #55  
Old December 5th, 2003, 08:47 AM
Urbluffing_Me Urbluffing_Me is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 28 Urbluffing_Me User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I am the original poster of this thread; and I would like to start off by thanking everyone for their replies and the great info contained within them. Over the last few weeks, I have learned quite a bit about asp.NET and the whole .Net framework in general.

I now know that ASP.NET is the tool for developing web apps within the .NET Framework. I also learned that the .Net platform is a highly sophisticated application development environment with a host of outstanding tools and features for devlelopers to play with. The BCL that puts a zillion class's in your hands, as well as the CLR, which lets developers develop in any language they choose, as long as it is supported by the CLR.

But after reading a few tutorials on C#, the .net SDK, and VisualStudio.Net, I also realized that, for a newbie, there seems to be a pretty steep learning curve (any leads on a good learning resource would be greatly appreciated.) Most of this stuff I don't even really think is pertinent to my needs at this time. I don't see myself developing windows applications anytime soon. I am, however, still going to continue learning ASP.net, if I can learn it without the excess baggage.

I have also increased my awareness of the power of PHP. I have to admit I was a little in the dark regarding PHp/Mysql. However, once I did a little research into the topic, I soon realized that Mysql is not the only fish in the database sea for PHP. OK, I admit it. I learned PHP/Mysql/apache from a sam's 24 hour book , but don't knock it. Within a week I had a store set up with a secure shopping cart mechanism and a payment gateway.

The thing I like most about PHP is its ease of use, along with the fact that, despite its newbie friendly learning curve, PHP is a very robust and extremely powerful web app development tool. In the right hands of course.

I also get a strong sense that there are few .NET community members that are very apprehensive towards the PHP (and open source in general) folks. This may not be accurate. It is just my oppinion based on the fact that there were a couple rude comments posted, coupled with the fact that when I originally posted this thread, I posted it in the ASP.NET forum, where it got booted to the PHP forum. I don't know why this happened.

After some research and deliberation, I have decided to stick with PHP. The main reasons are these:

[/list]
  1. PHP's power and ease of use.
  2. The outstanding resources readily available, along with a great community of developers who seem more than willing to go out of their way to help.

Reply With Quote
  #56  
Old December 5th, 2003, 02:06 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 15th Plane (12000 - 12499 posts)
 
Join Date: Jun 2003
Posts: 12,425 Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level)Doug G User rank is General 19th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 4 Days 17 h 37 m 8 sec
Reputation Power: 2268
Quote:
I also get a strong sense that there are few .NET community members that are very apprehensive towards the PHP (and open source in general) folks. This may not be accurate ...

I got the feeling it was the other way around

Reply With Quote
  #57  
Old December 5th, 2003, 09:47 PM
UltraBlue UltraBlue is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 24 UltraBlue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 28 m 53 sec
Reputation Power: 0
Send a message via AIM to UltraBlue
it was both ways. People tend to support what they know. It's the whole Chevy v. Ford thing. Both are good at some things and not so much at others. You just have to choose what's best for you.

I personally started on ASP/Access a couple years ago and saw it was very lacking so I switched more to PHP/mySQL in the past year or so. PHP and mySQL do everything I need. I don't feel the need to switch as a small freelance designer. I'll say right now i've never tried anything bigger than a fairly small e-commerce site but I firmly believe it's all in what you need that influences the decision the most.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > ASP.net or PHP ??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek