.NET vs PHP
Moderator: General Moderators
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
.NET vs PHP
We all know PHP is better than ASP, but all these .NET fanatics are attacking me.
Seriously, whats the deal?
Am I going to have to be brokenhearted and give in or is PHP better?
Anybody have any arguments as to why PHP is better than .NET?
Seriously, whats the deal?
Am I going to have to be brokenhearted and give in or is PHP better?
Anybody have any arguments as to why PHP is better than .NET?
You could check out the below link and see what it has to say. I haven't got a chance to check it out as i'm waiting for a test to complete.
http://php.weblogs.com/discuss/msgReade ... mode=topic
Cheer,
BDKR
http://php.weblogs.com/discuss/msgReade ... mode=topic
Cheer,
BDKR
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
Wow, that was helpfulJPlush76 wrote:arguing which language is better is like asking what hammer is best to build a house.
the bottom line is the house needs to be built. as long as its built to the blueprint the owner doesn't care how it was built.
btw: php ownslol
Thanks, Although I have read that; the biggest thing ASP brags about is having 'large class libraries'...BDKR wrote:You could check out the below link and see what it has to say. I haven't got a chance to check it out as i'm waiting for a test to complete.
http://php.weblogs.com/discuss/msgReade ... mode=topic
Cheer,
BDKR
Oh wow.. http://phpclasses.org
Not either/or
The thing I've found stops a lot of the attacks from the ASP camp is when you calmly explain that PHP can use most of those ASP "classes" and COM components today directly. It only works on Windows, but it works. And, with the experimental .NET extension, PHP can use the .NET framework too. I do quite a bit of PHP stuff on the commandline and you can use the Windows Scripting Host COM objects just fine from PHP.
Tell me ASP people, can ASP use any of PHP's functionality? What it comes down to is that PHP can pretty much do everything ASP can (including use ASP's COM objects) plus a whole lot more.[/b]
Tell me ASP people, can ASP use any of PHP's functionality? What it comes down to is that PHP can pretty much do everything ASP can (including use ASP's COM objects) plus a whole lot more.[/b]
Re: Not either/or
And you're only a forum newbie? I think that some of us should be elevelated in status regardless of the number of posts.LetterJ wrote:The thing I've found stops a lot of the attacks from the ASP camp is when you calmly explain that PHP can use most of those ASP "classes" and COM components today directly. It only works on Windows, but it works. And, with the experimental .NET extension, PHP can use the .NET framework too. I do quite a bit of PHP stuff on the commandline and you can use the Windows Scripting Host COM objects just fine from PHP.
Tell me ASP people, can ASP use any of PHP's functionality? What it comes down to is that PHP can pretty much do everything ASP can (including use ASP's COM objects) plus a whole lot more.[/b]
Good post J,
BDKR
- Heavy
- Forum Contributor
- Posts: 478
- Joined: Sun Sep 22, 2002 7:36 am
- Location: Viksjöfors, Hälsingland, Sweden
- Contact:
The lack of the application object is not really a big deal, i think.
But you mentioning it made me think about session handling.
PHP can store session data in mysql using session_set_save_handler(). has anyone tried that?
It could mean that users can have their lastest session restored when they login next time.
(Better make the session-handling non-memory-leaking...)
But you mentioning it made me think about session handling.
PHP can store session data in mysql using session_set_save_handler(). has anyone tried that?
It could mean that users can have their lastest session restored when they login next time.
(Better make the session-handling non-memory-leaking...)
asp.net lets you load balance your sesion state to a cluster of any valid OLEDB servers ..Heavy wrote:The lack of the application object is not really a big deal, i think.
But you mentioning it made me think about session handling.
PHP can store session data in mysql using session_set_save_handler(). has anyone tried that?
It could mean that users can have their lastest session restored when they login next time.
(Better make the session-handling non-memory-leaking...)
php sessions are flaky as your harris .. they are not at all flaky in asp.net and also were never flaky in earlier com based asp versions ..
sorry to contradict you guys .. I do like PHP .. maily however because its free and hosting is cheap and its open source (which means it generally gets a new module whenever some clever bod has an itch to scratch that its currnet code doesnt address) ..
if PHP was type safe and properly OO it would certainly go someway to betting close to using a .NET highlevel language (like C# for instance) - but its not .. (btw type safety essentially stops you using late binding and in doing so saves you coutless hours debugging as things just dont compile if they are cannot be cast properly or variables havent been declared) ..
but again .. dont get me wrong - I'm getting to finishing my first portal framework using PHP / MySQL and I AM fairly impressed with it .. but it aint .net (and comparing MySQL to ANY of the big 3 rdbms is just a joke .. if it had transactions (not beta table code for transactions that is), procedural SQL, cursors and allowed simple things like subqueries - then it just MIGHT get within spitting distance of the others .. but at the moment its just good for very very simple schemas - imho)
.. but like the post above said .. the architecture is greatly more important than the tools used to implement it at the end of the day .. never a truer word m8
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact: