-- WARNING: RANT (again) --
Okay, first some small points about OO (that's my field):
Quote:
ezPublish is quite good, except for one thing. It's very slow. It should not have been made in PHP, as PHP doesn't handle complex OO applications very well
This statement (by Mattias) has the following 3 facts:
- ezPublish is designed with OO
- ezPublish is written in PHP
- ezPublish is very slow
Then the conclusion goes to:
- PHP doesn't handle OO very well
I'm sorry, but even though I've had lots of classes in logic (formal methods and such), I still can't see how you come to that conclusion.
Let me tell you something about OO: OO is a relatively new technique. As a result, very little software is written with it, and much of that software isn't done as well as could be. In my University, there are very few professors teaching OO. There are very few experts. Just look at Amazon at the various OO-books. The best ones are all by the same set of authors. It's a small field. Another thing: we already established some time ago that the PHP world has very few experienced programmers (and software designers). Now please combine this fact with the one about OO. What does that tell you? Very simple: most of the so-called OO-projects implemented in PHP are implemented the wrong way. And ezPublish could very well be one.
I just graduated in University on an object-oriented application framework, written in PHP. That framework proves all of you wrong. It's all OO, all Design Patterns, all in PHP, and it's very fast. Although one example can never prove a statement right ("ezPublish is slow, so PHP's OO sucks"), one example CAN prove a statement WRONG ("My framework is OO and it is fast, so PHP's OO doesn't suck all that hard."). That's logic.
And now I don't want to say anything more about it, because it really, really pisses me off.
But I do like to say something on another subject :)
From someone who uses a computer because he/she has to (about 90% of the computer users, probably) I can fully understand why they would use Microsoft software. It's the easiest. It has the most applications. It looks good. It plays games. Maybe it crashes now and then, but that has been the case since the first version, so we're used to that.
What I cannot understand is how someone who works professionally in the computer science business can support a corporation like Microsoft. Something is just very wrong with that company. I'm not saying I don't like their software, because often I do. But look at what they make you agree to before you can use their software! It's Big Brother all over. And it will get worse. Your personal and human rights are being taken away from you, and you simply agree to it. If you haven't read George Orwell, do so. It's not hard to imagine how things will be in the very near future if things go on like this. A single company has way too much power and influence, and nothing good will come of it.
I'm not a Linux user because I like it so much better than Windows. I'm a Linux user because I'm scared to death about the alternative.
Vincent
Re: -- WARNING: RANT (again) --
Quote:
Originally posted by voostind
Okay, first some small points about OO (that's my field):
What I cannot understand is how someone who works professionally in the computer science business can support a corporation like Microsoft. Something is just very wrong with that company.
Because it's all about money. I mean, seriously. Why doesn't a company just code everything themselves? The OSes that their employe's computers will use, the databases that their company will use, their servers, everything... Why? because that's just dumb when you can buy it already made and save money.
That's why many companies pick MS products. They are a lot more complete than anything else and interface together alot better than anything else.
Now, please note, I AM NOT supporting MS or MS products. I am trying to be objective. Even though it seems like I am biased towards ASP.NET & Windows & MS. Right now I am coding a PHP application on a linux box ;) Just because ASP.NET is not suited to my personal needs right now. But for huge companies it is.
What I am saying is that companies want $$, MS offers them the opportunity to make more $$ quicker, companies go with MS for the $$.
Re: -- WARNING: RANT (again) --
Quote:
Originally posted by voostind
I'm sorry, but even though I've had lots of classes in logic (formal methods and such), I still can't see how you come to that conclusion.
Actually, it was not logic, really. I have heard from people whom I consider(ed) knowledgable that OO in PHP is simply slow. That's why I said it.
Quote:
I'm not a Linux user because I like it so much better than Windows. I'm a Linux user because I'm scared to death about the alternative.
Personally, I'm scared about nuclear war, venomous spiders, and talking to beautiful women. Using Windows doesn't seem all that scary, I guess.
Also, I'd love you if you could elaborate on my question in the other ASP.NET topic.
http://www.sitepointforums.com/showt...threadid=75177
edit - Dang it - it's in this thread, not the other. These should have been merged before they took off, really.
Re: -- WARNING: RANT (again) --
Quote:
Originally posted by voostind
I just graduated in University on an object-oriented application framework, written in PHP. That framework proves all of you wrong. It's all OO, all Design Patterns, all in PHP, and it's very fast. Although one example can never prove a statement right ("ezPublish is slow, so PHP's OO sucks"), one example CAN prove a statement WRONG ("My framework is OO and it is fast, so PHP's OO doesn't suck all that hard."). That's logic.
I bet your framework could have been written in java or C# and been a LOT more efficient and a lot faster. (I'm not going to stand behind the java statement because I hardly know it, but I'll stand behind the C# OO being more efficient than the PHP OO).
Also, how can you claim that PHP's OO is robust compared to fully OO languages? PHP lacks some serious OO features. On top of it, the OO (in this version of PHP) was just "hacked" on. PHP was not designed around the OO features.
Seriously, although I respect your knowledge of OO, you can't say that PHP's OO is more powerfull than ASP.NET C#'s OO.
Re: Re: Language/technology
Quote:
Originally posted by Jeremy W.
.NET works the same way. For instance, just as a for instance, we did a TimeSheet application back in January for our company here. Did it in Delphi, tied it into SQL Server. Fairly basic, didn't take more than a week to do. Size of the app? 10MB. It relied on a large variety of windows DLL's, custom DLL's, etc. Nothing complex, but this is fairly common practice in programming. It's relatively impossible to write a windows app that is less than 750K in size.
Until .NET. Now, we've redone the exact same Timesheet application, using the same tools, etc, except in .NET. Application development did take a little longer, because the guy doing it had never done app development before (another of the beauties of .NET... It wasn't threatening to him at all). Application size? 75K. 76,800 bytes.
But surely this example shows nothing relative to the php vs .net? I've said it about 10 times (not that anyone seems to notice) that we can't compare application development for standalone deployable binary executables with server-side web development. It's simply not comparing the same thing!
I've just deployed an application to well over 1000 users and all it took was telling them where to point their web browser (whatever version they have as long as it's a v$ or above). If I'd tried to get budget for .net training and then said that I couldn't deploy my app unless we upgraded every single PC in Europe with the latest .net framework librabies (to make sure we caught any pc that the app might be asked to run on). I'd have been laughed at.
I'm never going to try and advocate that a Delphi application developer start using php to develop his Win32 applications, so where on earth all these things start entering the comparison from eludes me entirely.
.NET - Great!
PHP - Great!
Whether this applies to you or not depends on what you're doing, and what you already have.