|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#51 |
|
32,817
![]() Join Date: Jun 2001
Location: Toronto, Canada
Posts: 9,292
|
"Java Enabled"... Exactly, just like .NET apps can be deployed on any .NET Enabled platform.
|
|
|
|
|
|
#52 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2001
Location: Pittsburgh, PA
Posts: 1,153
|
That Mono Project that Jofa quoted looks pretty cool...
Goof |
|
|
|
|
|
#53 | |
|
Sultan of Ping
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Svíþjóð
Posts: 4,097
|
Quote:
That's why I wrote "PHP.NET would be for a .NET server what ChiliSoft / Sun ONE ASP is for a unix server" Meaning: PHP.NET would be something you add to a .NET server, comparable to adding classic ASP support to your unix server using ChiliSoft Last edited by jofa; Jul 2, 2002 at 18:23.. |
|
|
|
|
|
|
#54 |
|
32,817
![]() Join Date: Jun 2001
Location: Toronto, Canada
Posts: 9,292
|
But it isn't the same at all. PHP.NET has nothing to do with anything. If you install .NET on an xNix server (after there is an xNix version) the ONLY thing PHP.NET will add is PHP functionality.
A better comparison is: It's like adding PHP to Apache. Also, as a warning: please refrain from swearing on SitePoint. |
|
|
|
|
|
#55 |
|
Sultan of Ping
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Svíþjóð
Posts: 4,097
|
I cannot see the difference between my statement
"to add PHP support for a .NET server you would add PHP.NET" and Jeremys "the ONLY thing PHP.NET will add is PHP functionality" Further, in my opinion, PHP is not a programming language, it's a server application extension => adding PHP.NET to ASP.NET is impossible, adding PHP.NET (parallel to ASP.NET) to a .NET server is possible |
|
|
|
|
|
#56 |
|
32,817
![]() Join Date: Jun 2001
Location: Toronto, Canada
Posts: 9,292
|
Well, I couldn't find your above statement in this thread. You were saying PHP.NET would be like adding ASP to xNix using Chilisoft.
I still have contention with this remark. Support for PHP .NET is built into every .NET enabled server, irregardless of platform. .NET is platform independent. So the talk of OS's, etc is really entirely useless. Sure, there is no .NET environment for xNix yet however that is just a matter of time. The applications I write NOW in .NET will work on xNix the second the environment is released. So, the only reason you would add PHP.NET would be to include PHP syntax (not even functionality). You don't gain anything unless PHP is the only language you know (and yes it is a language. I dont' know any server extenion which has it's own language syntax). |
|
|
|
|
|
#57 |
|
Sultan of Ping
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Svíþjóð
Posts: 4,097
|
Yes, I wrote unix ... should have been apache
PHP is a language? I thought it was a server application extension that processed scripts written in only one possible scripting language with a certain syntax, this language having the same name as the server application extension to make it more confusing ![]() Jeremy: When you say PHP.NET, do you mean aspx pages with code behind written in a language with the same syntax as PHP? |
|
|
|
|
|
#58 |
|
32,817
![]() Join Date: Jun 2001
Location: Toronto, Canada
Posts: 9,292
|
Actually, I was under the impression that it contained all of the necessary elements to be considered a language. Definitely not a fully fledged app-writing language, however definitely a scripting language.
The fact that it IS a server extension is besides the point. JVM is also just "an extension". When I say PHP, I assume the actual webpages would be something like .phpx or something so that web servers could distinguish them from traditional PHP (which wouldn't work under PHP.NET). |
|
|
|
|
|
#59 | ||
|
Wanna-be Apple nut
![]() Join Date: Sep 2000
Location: Halmstad, Sweden
Posts: 7,434
|
I'm confident that .NET will reach a high level of platform indepence in the future. Especially, since C# and the Shared source CLI is now ECMA-standardized AND microsoft has released the source code for both the Windows and FreeBSD CLI - codenamed "Rotor". This makes me confident that .NET will indeed be platform independent, especially considering this:
Quote:
Quote:
__________________
Mattias Johansson Short, Swedish, Web Developer Buttons and Dog Tags with your custom design: FatStatement.com Last edited by M. Johansson; Jul 2, 2002 at 09:32.. |
||
|
|
|
|
|
#60 | |
|
Sultan of Ping
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Svíþjóð
Posts: 4,097
|
Quote:
|
|
|
|
|
|
|
#61 | |
|
Wanna-be Apple nut
![]() Join Date: Sep 2000
Location: Halmstad, Sweden
Posts: 7,434
|
Quote:
The Shared Source CLI that MS has released is not meant for production purposes, but a good base for developers to look at and implement their own solutions.
__________________
Mattias Johansson Short, Swedish, Web Developer Buttons and Dog Tags with your custom design: FatStatement.com |
|
|
|
|
|
|
#62 |
|
32,817
![]() Join Date: Jun 2001
Location: Toronto, Canada
Posts: 9,292
|
Just as the Mono project will likely have custom options, extensions and features.
|
|
|
|
|
|
#63 |
|
Sultan of Ping
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Svíþjóð
Posts: 4,097
|
Back to the original topic:
Comparision PHP/ASP Does anyone have some more exact figures than HarryF's "at least as fast as IIS" and "doesn't look like Swiss cheese for security"? (What's wrong with swiss cheese, Harry? )Here's my subjective judgements: PHP & Apache are free, and works on a variety of platforms = good ASP requires (in practise) IIS which is not free = bad PHP is more compact than ASP (e.g. readfile vs using Scripting.FileSystemObject) In both PHP & ASP you mix script & html = bad PHP has no options regarding langauge, in ASP you can choose between VBScript & JScript = badIn ASP.NET the code is separated from the html and you can (in theory) choose whatever programming language you prefer If you use Ms Sql Server, then the optimised SqlClient class is excellent for db connections Summary: ASP.NET = Brazil PHP = Germany ASP = Turkey |
|
|
|
|
|
#64 | ||
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,898
|
Here's the figures on Apache v2 performance: http://www.eweek.com/article2/0,3959,1873,00.asp
As to security, don't know where to get figures but lets use examples instead. IIS Security Holes vs Apache Hole (that's the first in ages and the response time from finding the hole to news being released on how to fix was under 24 hours). Anyone with a web server can just look in their logs to know how prevailant the IIS holes are - you'll see endless attempted exploits from automatic scripts (my servers's Linux so I smile and relax). Whether IIS is actually more insecure than Apache I don't know, but it's picked up the reputation and it's stuck. Also I think everyone would agree that the Open Source movement generally handles bug fixes and security patches better than corporations. Anyone who's had to make something secure will know the "security by obscurity" approach (i.e. rather than being truly secure you hide your holes) always ends up biting you in the a$$. Quote:
Quote:
|
||
|
|
|
|
|
#65 | |||||
|
Wanna-be Apple nut
![]() Join Date: Sep 2000
Location: Halmstad, Sweden
Posts: 7,434
|
Quote:
Quote:
Well, I don't have any figures on IIS and Apache security holes, but SecurityFocus has some interesting stats on number of exposed vulnerabilities in operating systems. These figures actually show that Windows does not have more security holes than Linux. In a way you are right about saying that corporations are generally not as good at handling patches as the open source movement. However, Microsoft has gone very good at handling patches! The little autoupdater built into windows kicks sliced breads butt - it downloaded a vital security fix for me - asked me to install it - I clicked yes. Not until the next day I hear about the exploit (which I'm now protected from) on these very forums. Quote:
Quote:
ASP.NET, on the other hand, is not meant to take the shortest path to solving the problem - it's built for making a reusable, extendable, easily managed, robust solution. Not a fast, simple one.
__________________
Mattias Johansson Short, Swedish, Web Developer Buttons and Dog Tags with your custom design: FatStatement.com Last edited by M. Johansson; Jul 3, 2002 at 00:45.. |
|||||
|
|
|
|
|
#66 | |||||
|
SitePoint Wizard
![]() ![]() Join Date: Nov 2000
Location: Switzerland
Posts: 2,898
|
Quote:
Quote:
Quote:
And back to the security focus stats - for me they're too simplistic; Quote:
Quote:
If you want to see it in action, the admin interface is here (admin ublish) and the demo front end is here.PHP in my opinion is perfectly scalable, from simple to highly advanced - all depends who's at the keyboard. |
|||||
|
|
|
|
|
#67 | |
|
Wanna-be Apple nut
![]() Join Date: Sep 2000
Location: Halmstad, Sweden
Posts: 7,434
|
Quote:
I never said PHP couldn't be used for doing large applications, I just said PHP is built for doing it quick, while ASP.NET is built for doing it "properly", which might not always be neccesary, and in those cases mjust a waste of time, especially for joe schomes web site. PHP CAN, if the coder is good enough, be used to make pretty code very extensive projects, like eZ Publish and vBulletin, but the language is not intended for that - it's intended for solving a problem and solving it in the easiest manner possible. For instance, take my own learning process. The story of me and PHP I begun coding with PHP. Basically, the code I wrote in the beginning was pure crap. Really. I was awful! But it worked. It did the job it was supposed to do. Since it was so poorly coded, it would have been hell to extend or scale the application, but I didn't need to extend or scale it. The darn thing just had to work - and it did. It took me about 1 year before I discovered the benefits of reusability, and started using functions and classes. The story of me and ASP.NET .NET on the other hand is not like that. PHP allows you to write inredibly bad code and get away with it, while ASP.NET just says: "The compiler returned said: Error message 422: Go drown yourself, you coder wannabe! This code is the worst code I've ever seen. Go back to art school, loser, and never let me see you write another line of code again, you pathetic monkey! No, I don't care that you will be using this code on your grandmothers web site – her site is an enterprise level application now, since you use ASP.NET!" From the very beginning, you are forced to use OO coding, main classes, namespaces, enumerations, structs that INCREDIBLY BORING stuff, right from the beginning. I'm learning C# right now, and it's not hard at all, I guess - it's just very, very boring and time-consuming compared to PHP, and it takes much more learning before you can actually start coding any reasonably advanced stuff and simultaneously understand what the heck you are doing.
__________________
Mattias Johansson Short, Swedish, Web Developer Buttons and Dog Tags with your custom design: FatStatement.com |
|
|
|
|
|
|
#68 | |
|
Sultan of Ping
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Svíþjóð
Posts: 4,097
|
http://www.eweek.com/article2/0,3959,36938,00.asp
Quote:
Anyway, ASP.NET can enable you to write an infinite amount of code that is very inefficient and performs almost no work - if you don't know what you are doing ![]() |
|
|
|
|
|
|
#69 |
|
Non-Member
![]() ![]() ![]() ![]() Join Date: Oct 2004
Location: US
Posts: 535
|
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 21:17.







= bad
ublish) and the demo front end is




Linear Mode
