PHP 5.0 Goes For Microsoft's ASP-dot-Net
Dozix007 writes "Uberhacker.Com reports : Zend Technologies quietly announced last week the final release of the open source PHP version 5. An interesting article reports the different strengths and weaknesses of ASP vs. PHP, and it becomes quite clear that with the release of PHP5, Zend has taken a shot at ASP's heart. The differences from PHP4 to 5 has created a clear advantage for the new preprocessor over Microsoft's proprietery ASP."
Interesting how the head-to-head with PHP 5.0 and ASP.NET is hosted on Oracle's site. I guess it's not like Microsoft and Oracle make competing products or anything.
We might as well Get the Facts on Windows and Linux.
Casual Games/Downloads
So...I have to pay for features that I can get from the competitor for free, I have to pay (my employees) to insure that I am paying what I need to (for a product wich offers comparable services as the competitor) and I get to continually be pressed to upgrade and give them more money in licensing fees.
[sarcasm]Gee whiz, mister; where do I sign up?[/sarcasm]
As a former PHP hacker now forced by the corporate world to program in ASP.NET, the article is forgetting the number one advantage ASP has over PHP. A killer IDE.
I really dislike ASP and Visual Studio, but PHBs tend to like pointly clicky interfaces. It makes them feel like if they have to fire the whole development staff, they can take over coding; after all, it is just a GUI.
Visual Studio is Microsoft's real killer app. That is what Monkey Boy was dancing around screaming developers about. Most developers are mediocre, and if you give them a handholding tool that keeps them from doing anything too stupid (or too great), they will love you for giving them some job security.
Alright PHP guys, can you give us that? Can you save us from having to think for ourselves? I may have filled my last remaining unallocated brain cells reading the man page for gcc.
Please bid on this Karmann Ghia! Please pleas
In this article I'll focus on PHP, the technology Oracle has chosen to incorporate into its products, and ASP.NET.
Yup, I expected a completely unbiased article after reading this in the second paragraph..
I am the maverick of Slashdot
Also read this interesting article about PHP trying to take over the world. While a bit long it's really interesting and spawn quite insightful discussions.
This makes complete sense, looking at how PHP has taken so much of the bloat out of server side scripts compared to ASPs megahousal approach. Add in the fact that PHP is free/open and continuously developed, it could be a no brainer; if the market(ing?) allows for it!
How does one update from PHP4.x to PHP5.0? I'm running Drupal/Squirrelmail and the like at home, and want to see the diffs between the two, as well as understanding how to update them.
PCB$#
free ipod and free gmail!
There was an article detailing the zend release on kuro5hin a few days ago. Quite a good read...
I use php all the time, but php is more like the old asp than .Net. .Net is much richer in exeception handing and allows me to use any language I want. Php is great but not a stab at the heart of .Net. They have nothing like VStudio.
everyone wants a piece of Microsoft? Seems like anyone who's somebody wants to grab a piece of Microsoft's monopoly even if it means giving it away to people for free.
Than why do you bring it up?
"Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
From the article:
I've heard this same song from a few developers who work at Oracle shops - and I could not disagree more! Database independence in your code should absolutely be a goal! We can encapsulate our database-specific features into stored procedures or functions without having to pollute our application code with them.
... I had to conclude the writer barely knows what he is talking about. I am not flaming him, but someone who mentions only the ODBC drivers for ASP.NET and has never even heard about a Managed Provider, additionally puts this in a summary table: ...
Speed:
PHP4: strong PHP5: strong ASP.NET: weak
Efficiency:
PHP4: strong PHP5: strong ASP.NET: weak
has some serious reading to do
The article states that Visual Basic .NET is Microsoft's default .NET programming language. I've always thought it was C#, because VB.NET lacks some of the features in C#.
I'll stick to my vanilla ASP coffee thanks. It's the old betamax/vhs story. Yes, PHP is better. Yes, it's free and easy to code. But most businesses tend to stick with micro$oft not because they want to, but because .net is designed to work with mssql and ie a lot better. . I want my betamax back... :)
Management is doing things right; leadership is doing the right things. - Peter F. Drucker
I liked the way the article talked about ODBC being a downside, then showed sample code which used ADO.Net with the native OracleClient instead.
Apart from that, the main differences between ASP.Net and PHP5 appear to be platform related, rather than anything to do with the respective languages (or processors, if you prefer).
Don't forget some of us actually like a little bondage from the toolkit, so we can maintain the code afterwards. Its nice to have all the page manipulation code in page_load() where you can happily mangle everything using syntax similar to the XML DOM, rather than having chunks of code all over the place to insert the various dynamic elements.
Why do people think they can write these sort of articles and make performance claims in them without any sort of supporting evidence? Some quick numbers? A link to a study? Anything?
For me, the choice is clear. You can compare the relatively minor pros and cons of PHP and ASP for days, but really they're both very similarly capable and you'd do about as well with one as with the other. The big difference I see is that PHP is cross platform and ASP is not. To me, that makes PHP the "winner", hands down. It makes it so that you can change platforms with your application later on and if you're writing code for other people to run then it means more people will have the opportunity to use it (whether this is an open source project or a commercial project you're doing).
ASP runs on Windows and really only runs well with IIS. PHP runs on pretty much any platform you would ever want to run it on (and plenty of platforms you wouldn't) and works just as well with any webserver I've ever considered using.
So while there may be small areas where ASP excels or where PHP is deficient, I think that those points are largely insignificant when you realize the platform limitations of ASP. Oddly enough though, I'm not sure I've ever heard anyone cite this as an advantage of PHP, whereas I come across an article comparing esoteric differences every few weeks.
Looks like this article is full of it. Slow .NET code? ASP.NET can be compiled into DLLs, and at my old job we upgraded many of our ASP and PHP projects to .NET with a large speed increase. Only works on IIS? Try out the mono project.
Also seems like everyone is complaining about ASP. ASP and ASP.NET are two completely different beasts. ASP was buggy and a pain in the rear to work with. ASP.NET, however, was amazingly simple to use with an amazing debugger (VS.NET). Please keep on the subject and leave out ASP.
I do C# development, for ASP.NET, where I work. I do php development (hacking phpbb), for my personal website.
For large scale projects (e.g. a messageboard), I would greatly prefer to use C# over ASP.NET... I strongly dislike IIS, and I suppose that's a stumbling block, but on the other hand, C# is a strongly typed, compilable language. I'm not clear on how all the benefits of scripting (faster output from looser coding) apply to large scale projects, or projects where things like OOP and Exception handling are useful.
OOP and Exceptions rely on, you know, strong, well concieved design. If you're going to take the time to design your large project, why the hell would you throw away the benefits of strong types and compile time debugging (incredibly useful in a large and/or shared project), not to mention things like unit testing and automatic documentation (things C# has).
The code example in the article makes little sense to me. For one, they use VB... which looks ugly no matter how you slice it. C# would have been more directly comparable, and it should be available in MSDN... but regardless, the code looks almost identical. Is the point that there really is little difference, or that PHP is better? In both languages, it seems you could abstract away the Oracleness of the behavior (negative on both fronts), and you'd be at square one regardless.
Eh, I don't see any real useful comparison in this article. Yes, it sucks that ASP.NET only works with IIS. I'll be happy to run mono when the opportunity presents itself. But this article was pretty useless.
-Greg
I'm sorry, but ASP brings Visual Studio .Net with it to the party, and, well, it always manages to get in my pants.
.Net, instead of being one version behind attempting to copy it and feeling "not quite right" in their attempts, I'll stick with my .Net-based solutions.
Until any of these other solutions can offer me an IDE as advanced as Visual Studio
The article implies that CLR code is interpreted. All .NET runs compiled code, either JIT or AOT compiled. And there's an unsubstantiated remark about efficiency and "Long code paths". That looks like FUD to me, and without something substantial it seems suspicious.
Seriously this is probably priority 100 on his list. ASP already has had such a long foothold on server side scripting that it'd take a lot to convince existing pages to change over to PHP.
I found the article quite interesting, but lacking in supporting evidence for many claims. Specifically, he states that on both speed and efficiency (not quite sure the difference, but I'm guessing that he's referring to memory usage for the latter) ASP.NET is weak. I'd be interested to see comparisons showing the difference between equivalent sites written with PHP5 and ASP.NET to see the difference.
Also, he mentions (a few times) about IIS insecurities (at posts a link to bugtraq), however I'm unable to check since the site seems to be crawling. How does PHP5+Apache's security record compare to ASP.NET+IIS6?
-- Cyrus (http://blogs.msdn.com/cyrusn)
Another weakness is that PHP's function names are case insensitive. Some programmers might find this feature annoying, though this isn't a serious drawback.
How is this a drawback at all?
In my opinion, it prevents programmers from perhaps accidentally naming their own functions the same as a built-in, which is a good thing since there are so many, its useful to know as many as possible. However "annoying" this maybe to some people, its actually a good idea.
Inflexibility is yet another trait that linux users need to come to grips with. As it says here:
[MS FUD snipped]
Quoting Microsoft-sponsored (or not) FUD websites as authoritative on Linux development is hardly insightful, or indicative of any intellectual honesty at any level. Quite the reverse.
Indeed, "what a load of absolute nonsense" you have cited there. Linux programmers are at least as capable of "thinking outside of the box" as Microsoft developers-developers-developers-developers. Even considering Linux (or FreeBSD, or even Mac OS X) requires some degree of thinking outside of the Wintel box from day one. Enlightenment, Blender, Gentoo's packaging system (designing a distro that builds itself from source code, from scratch, to custom specs, on demand is about as far outside of the traditional "binary" box as it gets), etc. are all examples of folks thinking much further outside of the box than any of their Microsoft developer-developer-developer-developer counterparts generally do.
The Future of Human Evolution: Autonomy
I worked as the web admin to my student association when I was in college, and a job opening came up to redesign the programmers site, bringing online a bunch of new tools for students of that department. This was basically a summer job, and they had interviews where myself and four other students made it through the selection process to the final interview.
[...]
Did they ever get screwed. The guy who they hired was a Korean exchange student, who I happen to think was a great choice for the job, but the problems started cropping up with the ASP code. It was buggy as hell. The system took all summer to code out the object oriented code, and it was never opened because it was never quite good enough.
[...]
In my opinion, this was not the fault of the guy they hired at all, it's just that ASP takes a lot more time to get together than PHP. You can "know what you're doing" all you want, but when your boss wants you to make changes to core behaviours, there is nothing faster or more efficient than PHP for handling anything web related. It's just easier to whip together any site with any behaviour and get it working and stable.
Why isn't there a "-1, Jumping to conclusions" moderation option on Slashdot? Let's reiterate. This was a student body, hiring a student for the summer to hack some website, alone I might add. And the fact that it all went miserably wrong is supposed to imply that the Microsoft ASP platform is fundamentally flawed and everything would have magically worked with PHP?
PHP is "Server-Side". Can it be forked into some sort of "Client-Side" PHP? Something similar to MS-Visual Basic? Later on drag 'n' drop for widgets and addition of business logic, can be implemented to create web based front-ends to popular database back-ends. Just a question.
I do a substantial amount of ASP.Net coding and they seemed to just give a weak gloss over the actual technology they were comparing here. First, IIS & Win32 are *not* the only places where you can run ASP.Net. The mono project is getting better and better fairly quickly. This is mentioned briefly in their "security" section.. which is also a load of crap. Price: PHP has a habit of becoming very perl-esque over time because of the language. Maybe 5 changes this, but I doubt it's enforced. So an IDE that's going to clean your code vs. cost in man-hours spent debugging some "super efficient php code" (read: "looks like perl") bleh.. I'll take the IDE The database code samples *Don't do the same thing* .. but they DO show the people who wrote the article don't know ASP.Net, because they're using the old and insecure form of database connections as opposed to parameterized queries.
Nice to know that both sides of the fence are as equally capable of FUD.
..... so we have no ASPs, but plenty of Pythons!
Je fume. Tu fumes. Nous fûmes!
This Web site is actually managed by the infamous Carolyn Meinel, whose tendency to sensationalize is well documented. YMMV.
Do you like German cars?
I was hoping for an OSS alternative to Visual Studio so I don't have to shell out the money.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
No one should be using ODBC to access Oracle with .NET. There's a "managed code" provider now, and there's an OleDb wrapper too. And, if memory serves, a choice between Microsoft's provider and Oracle's. I've not had an issues with the MS one, but your mileage may vary.
it would be great if they integrated with the Mono project and allowed the use of ASP.NET type tags to actually run almost the same code as ASP.NET?
Imagine PHP based C#, VB.NET, etc.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
Yea, that was really quiet.
I'm not a prophet or a stone-age man,
I'm just a mortal with potential of a super man.
The link in the parent opens up an infinite number of obscene pictures requiring you to kill the browser.
Struggling to find a day everyone can make? WhenShallWe.com
Need to find a good PHP Editor ?
All of them (commercial,free,OSS) reviewed and classified: http://www.php-editors.com/
My personnal (and free) favorite : PHP EDIT: http://www.waterproof.fr/
Need a PHP Debugger? DBG can do remote debugging and it can be integrated with the PHP Edit IDE, which is very nice : http://dd.cron.ru/dbg/
Now, who need Visual Studio? Almost every (php) editors now has code insight, integrated help, code completion, skins and whatnot. Hell, I sometimes go back to Notepad for quick fixes because its faster to fire up. But if you said PHP need an IDE, I think that you have not looked around very much.
Now people start your eng-uh editors and go code some PHP!
This is a stolen sig.
The review states that ASP.NET only works on
Windows, which is incorrect. Mono brings ASP.NET
to Linux, MacOS, BSD, HP-UX, Solaris and many more.
Mono's ASP.NET can be hosted in Apache (through the
mod_mono module) or as a standalone server (xsp).
The platform price is also wrong (by extension),
Mono's ASP.NET runs on pretty much anything.
The source code to Mono's ASP.NET is also available.
And I have to say, am puzzled by the "Speed"
column. If ASP.NET has something going for it
in terms of dynamic pages is speed: they have
all kinds of tricks:
* page generation code is running at native speed.
* caching is provided at the control level,
page level, database connection level.
And of course, there is no evidence to back any
of the performance claims.
I love PHP as much as the next guy, but that review
was done by someone that did not understand ASP.NET.
The code they posted to compare PHP vs ASP.NET
talking to Oracle is uneven, as the rest of the
article: in one case it shows data being rendered
from the database, and even has a connection string.
The other example only shows a class that wraps
reading and writing, but does no actual job.
A bit deceiving.
The author is miles off when he talks about the speed and efficiency of asp.net - he simply says "because there is more code and it's OO, it will take longer to run, and that slows web pages down".
Well I would agree that on first execution of a page (the first time a page is loaded after a reboot or restart, or the document is changed) asp.net is slower than ASP or PHP - however on every SINGLE subsequent page execution asp.net is considerably faster in my experience. Programming intranets and deploying/testing them has proved it to me - when the latency across the network is tiny the difference is notable on all non-trivial pages to the HUMAN eye, and the test suite backs this up.
Of course, code execution speed depends to a large extent on the coder and his techniques, but a good coder will be able to achieve much more rapidly responding web applications with ASP.NET than he would with Classic ASP or PHP 3 or 4. I can't talk about PHP5 because I moved exclusively to ASP.NET some time ago due it's superb libraries, saleability (clients like to hear MS and buzzwords) and the fact it's truly OO - just a personal preference.
What I love about PHP is that it is cross platform:
- The Designers can use it on their Macs
- The Developers can use it on their XP boxes
- The Servers can use it on their Linux boxes
(* yeah, I know any of these functions could be performed by any of the platforms but you get the jist.)
Where I work, PHP is used because we don't deploy Windows boxes as production servers anymore (actually just deployed the first Apple Xserve and it is a dream!) So ASP is O-U-T out of the running.
I only came here to do two things; kick some ass, and drink some beer...looks like we're almost out of beer.
To counter this, we have one ASP programmer in our company. He's been knocking out fairly complex database-driven web sites in ASP for us for several years. He's fast, his work is reliable and there are no complaints. What's your point?
It sounds to me like they made a poor hiring choice, not a poor choice of technology. If you'd given them a PHP+MySQL solution, it might have worked well by itself, but how would it have fit in to the overall picture? How much extra would it have cost them in maintenance and training for their IT department supporting a new or different/additional platform?
Are you talking about ASP, or ASP.NET? The two are very different. ASP is a raped VBized PHP that needs to die, but ASP.NET blows PHP out of the water.
.NET framework. Plus, ASP.NET is *fast*. Without caching, it is moderately faster than PHP. With proper use of caching, it smokes PHP.
With ASP.NET you can use C# which isn't hackish like PHP (4, at least, I do realize there were some changes in 5). You have code-behind which organizes everything nicely and is great for keeping designers from stepping on developers toes. All the basics are encapsulated in controls where handling a click is as easy as assigning a method to the Click event. There is built-in authentication. You also get the backing of the entire
Could someone offer some info on realworld experience using PHP to pull data from Microsoft SQL Server?
Thank you,
-sid
It may be right that PHP5 is targetting ASP.Net, but I can't say I think PHP5 and ASP.Net will appeal to the same audiences.
.Net and Java are better in this way, things look and feel like ASP.Net/Java from library to library. Even Perl are better in this respect. (PHP is becoming a little bit better, with the new DB classes in Pear, but the core is still very function oriented).
PHP shines because it's not so much a language, as it is a front end for different C libraries. This is PHP's strength, but it's also it's main weakness. It lacks a coherent object model, or even a coherent naming system for the different libraries it integrates. As such it is a mess, and difficult to learn -- though it's more feature packed than you can dream of in ASP.Net.
Both
So even though I'm "born and raised" (as a web developer) in the Unix/Linux/OSS world, I can't bring myself to quite like PHP. It's a mess (but a lot of people doesn't seem to mind, so I guess the problem lies with me, not PHP).
I really can't believe I'm the only person out there who doesn't trust Zend. The Linux kernel is backed by kernel dot org, Perl is Larry Wall (an individual hacker) and his Merrye Bande of Hackers, and no one company "owns" C (contrary to what some might think re: Microsoft Visual C++ ;) ), but PHP is "owned" (read: controlled) by a commercial entity, Zend.
What's to say PHP6 won't be released with a MS-style EULA? Do we really trust the company called Zend? Frankly, I wouldn't be at all surprised if Microsoft would start working with Zend-- much like how they have worked with those guys who made "ActivePerl"... MS likes to dip their fingers in every pie, so long as it's commercial-- and Zend is commercial.
Again, why should we trust these guys? They're just another company out to make money, and in this day and age, this likely means that they'd get in bed with Microsoft in a heartbeat if BillG or MonkeyBoy came a-knocking. So perhaps my question should be: Will Zend sell out? (Remember: Even Sun sold out.)
Honey, I shrunk the Cygwin
What book or tutorial is recommend to learn PHP5 (skipping PHP4, for programmers with knowledge of Java)?
The guy who they hired was a Korean exchange student, who I happen to think was a great choice for the job, but the problems started cropping up with the ASP code. It was buggy as hell.
LOL! How much more rope do you want to throw us to hang you with buddy? Did you even read your own post? Uhhh, he was a great programmer but the problems were in the "ASP code". And who wrote that ASP code? pffff. Sounds like you're annoyed because you didn't get the job.
And more to the point, which morons modded this +5? Perhaps Slashcode should be changed to hide slashdot IDs as a low ID obviously dazzles people into not reading the post and just robotically modding it up. Parent post is complete hogwash.
PGP KeyId: 0x08D63965
You're offtopic. The article is talking about ASP.NET and you are talking about ASP. They are two very different technologies.
Oh come on, that's a cheap criticism and you know it.
The guy was presumably a full-time student, in a foreign country, away from his family and support system -- might these demands or limitations limit his ability to do the job well? I can only imagine how well I'd perform doing a moderately complex job while being a full-time student a half a world away.
My guess is that the parent poster recognizing that these are both meaningful and valid considerations, but the Diversity Police would rather that you not consider them because it works against their goals, hence he self-censored himself.
Well, as BillG said, Open Source kills jobs. Exactly as this story indicates.
How on earth has the parent got to +4 when it's totally off-topic and irrelevant to this article?
This ignorant poster obviously hasn't realised that this article is about ASP.NET and NOT ASP (which is in NO WAY comparable to ASP.NET apart from the letters in it's name!).
For me, one of the best things about working in PHP is the online documentation. We've got:
(1) Thorough, beautifully organized, accurate documentation with minimal but effective examples.
(2) Fast searching. php.net/[searchterm] - it doesn't get much easier to look up a function, short of having the docs built into the IDE (Zend)
(3) User comments. I've contributed a few comments myself when I've run into sticky issues and then realized what was going on. And more than a few times, I've found little code snippets attached to the relevent functions that are good ways to use them. PHP and ASP, in my mind, are both tools for RAPID development and deployment. PHP is good at rapid; very good. The docs are a major reason. They make familiarizing with something like a new extension library very easy.
I have been playing around with this module a bit and have found it to be damn good at what it does. It really makes it easy for people to take advantage of XML for simpler operations which takes away an advantage of ASP.NET.
For many operations, SAX and DOM are simply too convoluted or complex. As long as you have an idea of what the document structure will be like in advance, you can quickly handle documents.
Here is an example from my site of what it looks like
<?php$xml = simplexml_load_file("test.xml");
print $xml->statement[0];
print "<br/>";
print $xml->statement[1];
?>
Click here or a puppy gets stomped!
Completely off-topic but:
Troll rhymes with Truth: "THE DRAFT IS COMING BACK, National Service Act of 2003 - 2004, S.89, H.R.163"
That bill is dead in the water and has been for over 1.5 years.
2/3/2003:
Referred to the Subcommittee on Total Force.
Casual Games/Downloads
It is actually quite sad to see such superficial attempts to justify an open-source product merely on the "merits" of not being produced by Microsoft. I mean, using criteria like "strong", "weak", "$$" is not what I would consider professional. I good way to compare products actually would be to get the experts to implement a relatively real-life project (like the famous Pet Store) in both languages and then compare the development time, speed, code metrics, scalability, and potential for extensions. That would be a true comparison, not the "metrics" used in the article.
Now back to personal preferences. Being a UNIX programmer with about 16 years of experience, I can assure you ASP.NET blows any other Web framework out of the water. Yes, it is that good. You get a very nice and consistent object model with full .NET power behind it. JSP and servlets shouldn't bother either as all HTML is generated transparently - in many cases you don't have to write a single line in HTML! As a result, you write less code, it is easier to maintain, with fewer opportunities for bugs or security holes. All are considered best practices in my book. I'd love to see PHP mature to the ASP.NET level but it is simply not there yet and even the attempts of PHP 5 to tackle these problems is a step in right direction, there is still a very long way to go.
> You also do NOT have to pay for ASP.NET - you can > download the SDK and deploy a commercial website
> without paying a penny.
So you plan on trying to run ASP.NET on linux then? If you run your web server on Winodws it isn't free.
Visual studio isn't just a platform for developing asp.net solutions. Its a single enviornment that can be used for enteprise server and desktop applications as well. It can do so much more than Zend can do.
Well.. maybe. Or Maybe not. But Definitely not sort of.
If you feel that even the mere mention of a person's race is automatically a subtle indication of racism, you either are really stuck in the tar pit of political correctness, or you have some deep insecurities yourself about the race issue.
Your nickname is "Saeed al-Sahaf." Is that a true reflection of your racial origins? If not, can you explain why your handle is not a racist reference, but the mention of a Korean's race is racist? I doubt you can.
Sorry, we're not going to tip-toe around on your racial eggshell playing field. Guess what? People have different colors of skin, come from different places, and speak different languages. How are we supposed to rejoice in our diversity if the mere mention of it is taboo?
I am just guessing from reading the article but it seems that PHP5 isn't really OOP. More like VB6 when they added things called "classes" but it still wasn't OOP. VB6 just had a bunch of crap for marketing to say it was OOP. It wasn't until the complete re-write of VB.NET Microsoft really had OOP. Seems like PHP5 is doing the same thing and adding something called a "class" but doesn't have any other features of OOP. I know everyone seems to have there own definition of OOP but PHP5 seems to be off by a lot.
Inflexibility is yet another trait that linux users need to come to grips with
Nice how you utterly fail to cite any examples. Rather, you just assert the same thing 3 or 4 times.
"We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
I've been the same boat, I applied for web admin position at a very Microsoft-centric college and I was turned down because I wanted to use LAMP. The guy in charge of hiring actual said this "Open Source is not secure because hackers can get a hold of the code and break into servers"
Now that I look back on it, I'm glad that I didn't get hired...
A clever person solves a problem. A wise person avoids it. -- Einstein
...but ImageMagick is free as in GPL....
.COM object rather than a .NET object like you can with leadtools.
Its not quite as 'slick', but you can do most the stuff you otherwise could with LT. Did I mention its free?
The only real drawback I can see is you have to access it as a
I've just had a good look at their website, and I can't find licensing information _anywhere_. I guess if I download the source code it probably has the licence in it, but I can't be bothered to download 5MB just to read a few k's worth of licence.
43 - For those who require slightly more than the answer to life, the universe and everything.
If Tyranny and Oppression come to this land,
it will be in the guise of fighting a foreign enemy. -James Madison
ASP.NET (and the Java equivalent, JavaServer Faces) have a much different, (arguably) more sophisticated approach to web development. There is actually a pretty good story for UI/logic separation, eventing, and maintaining state. You can have your HTML tags constituted into a mutable object graph before rendering (example).
The end result is a development style that lets one write web apps the same way one writes desktop GUI apps, and as a bonus you get far more compile time guarantees than before (even vis-a-vis compiled scripting languages like JSP). Whereas in most scripting languages, getting a dynamic <select> to default to the proper selection and remember its selection across page redraws takes an annoying kludge of code, it's trivial in ASP.NET.
You don't have to like the direction MS has taken with ASP.NET, but the fact that the author didn't even mention the fundamentally different programming model it offers vs. PHP says to me that he didn't bother doing much research into it.
Price. Here, we must consider not simply the price tag of the initial investment, which, in the case of PHP, is obviously free, but also the implementation, maintenance, and debugging costs. In the case of PHP, you may invest in the Zend optimization engine. With ASP, however, you're investing from the very beginning, and you're spending for add-on technologies--libraries for doing graphics manipulations, for instance. But, in the long term, PHP isn't going to press you to upgrade and collect more licensing fees. Everyone who has dealt with complex licensing also knows that companies spend time and money just ensuring they are compliant. Furthermore, you have a difference in response when getting bugs fixed. This, of course, translates to time, which translates to cost for overall development.
:)
Yep, anyone who's had to deal with oracle's licensing knows this one very well.
I work at a primarily Oracle/mod_perl shop, and one of the biggest hurdles we've had as a team is making sure we don't step on oracle's toes.
The author completely ignored one of ASP.NET's greatest advantages - it is an abstraction from writing HTML (which I guess they think makes it inefficient, just like C is less efficient than machine language). When I write:
TextBox t = new TextBox();
t.Text = "Hello World";
I do not know, nor care, what actual markup will be returned to the client. Before you start worrying that you need absolute control - consider the problem of delivering to multiple browsers/devices. ASP.NET will render different markup, depending on the browsers capabilities. When browsing from a PDA or phone, it will render appropriate markup. Does PHP do that?
> So you plan on trying to run ASP.NET on linux then?
> If you run your web server on Winodws it isn't free.
What a load of rubbish. I do not have to buy a copy of Windows for EACH application I install! Windows is an operating system - not part of ASP.NET!
Extending your argument - how exactly is Linux free if it requires a computer to run?? Does linux come with a free computer? Unless you can get computers for free then Linux isn't any more free (as in beer) than using Windows using your argument. EVERY system has prerequisites of some sort or another...
You're talking rubbish. Unless you are forced to buy an operating system with EACH and EVERY piece of software you install then you cannot factor it into the cost. I might ALREADY have the operating system. It might have come with my computer. It does not cost me any EXTRA money if I suddenly decide I want to use ASP.
And what if I WAS planning to run ASP.NET on Linux? It's possible with the Mono project. Then it would be free. And it would still be better than PHP IMHO - at least for anyone wanting to do anything more complicated than a pet project.
you musn't of seen Turck mmCache
when a php script it first run after change it is kept (cached) in it's bytecode form, thus eliminating compile time for subsequent requests.
true there is no JIT in php, but for a web application the bottlenecks will most likely be elsewhere.
And of course, if the best performance it required, intensive bits of the application can be offloaded into a C extension.
... if you are comparing Java programming to C# programming.
VS.NET has the whole WYSINQWYG (What You See Is Not Quite What You Get) html/asp editor, but after pages get slightly complex, or you start taking advantage of User/Custom controls, the visual designer is more of a limitation than a benefit. The ability to create User controls is a really useful feature in ASP.NET.
I currently use both in an enterprise/production environment. I much prefer the CVS/Refactoring/Auto-Compile/etc. features that Eclipse has over the few minor advantages of VS. VS.NET also has some annoying bugs, whereas the latest and greatest Eclipse has been rock solid for us.
Also, at home I dabble in PHP and have good results using Eclipse with the PHP plugin from xored.com. It would still be nice to have a Visual HTML/PHP designer plugin (that was free).
Where can I get some of this crack you're smoking???
.NET CLR is packed full of more classes than you'd ever know what to do with. I rarely have to buy any 3rd party components other than for interface-related things.
1. We're talking ASP.NET, not ASP. Welcome to the conversation.
2. How does ASP give you nothing? Last time I checked the
3. It is VERY feasible to run ASP.NET on a totally free platform using Mono.
4. If you think ASP.NET is inferior than PHP then you know nothing about web development. They both have strengths & weaknesses, but ASP.NET is by no means inferior.
Someone MOD this FUD-believing sheep down please.
I am a leaf on the wind. Watch how I soar.
I don't believe these are meaningful OR valid considerations. I was an exchange student, myself, and I can say I never felt pressured or less-able to perform work for being away from my family and/or support system. In fact, immigrants who leave their countries in a non-exchange-student capacity aren't less able to do useful work, either -- the United States were, in a significant part, built upon the efforts of people in this condition. And neither is, in fact, the New Yorker who moves 5000 miles to the West Coast to work.
The only valid concern one could state about the guy being an exchange student is that he might be gone at the end of the school year. You take too little stock in the ability people have to work in foreign environments; and that has nothing to do with race.
Funniest thing is, I don't think great-grandparent was particularly racially biased; parent, though, is openly so.
I don't understand how the article could fail to mention that PHP does not include strong types. In my own experience a lack of strong typing is one of the more annoying aspects of scripting languages.
In addition there are no numbers to back their speed and scalability arguments. I don't doubt them, but I'd like to see the facts.
I like the idea of being able to bounce in and out of OOP at will in a language, but this often leads to novice programmers destroying an otherwise sound application infrastructure.
Just to be clear, despite the name ASP and ASP.NET have very little in common.
ASP = VBScript or occasionally Jscript-based top-down imperative page-based language.
ASP.NET = OO web-app framework, usually event-driven, usually in C# or VB.NET.
It's rather misleading to anecdotally discuss the strengths and weaknesses of ASP.NET using ASP programming/programmer examples.
----
"I used to listen to Null Device before they sold out."
A little bit of this, a little bit of that. I agree completely with the code completion deal, it really does speed up development. Unfortunately, I hate the Forms Designer with a passion. I've been doing nothing but develop ASP.NET for a year now, and I dropped that thing in my third week.
Don't be fooled: the Forms Designer is great if you're building the simplest textbox-and-submit-button pages. When you start dealing with components (both third-party and self-made), the Forms Designer seriously barfs. It's also terrible at detecting that a control was instantiated in the base class for the codebehind, generating a double declaration and then dying when you run the application. You're better off previewing the page on the browser...
Reminds me of a recent job interview. I mentioned Linux and the guy said "Linux wouldn't fit our needs because it doesn't have a GUI." I smiled and shut up, thanking God this man had revealed himself as a moron before I might get trapped working for him.
-- I could tell right away that she was impressed with my HUGE Slashdot Karma.
ASP.NET is any .NET language, or VB.NET or C#. If you'd like, you can even use C/C++.
ASP.NET doesn't just run on IIS either. Apache runs it along with Mono.
Really an apples/oranges kind of comparison.
.NET development platform is created by Microsoft for Microsoft so developers can write Microsoft apps for Microsoft servers. .NET encompasses windows apps too, not just web apps. The codebase between the two is almost identical - okay, a winForm is stateful and a WebForm is stateless and the UI widgets are different, but the rest of the backend database/XML/IO stuff is the same. I don't think you'll want to use PHP to write a desktop app, or a suite with desktop/web integration. On the flipside, ASP.NET would be complete overkill for a majority of web-apps. .NET's main competitor isn't PHP. It's Java. The way the architectures and libraries are set up, the target audience, even the langauge skills requred. Hell, C# and Java resemble each other so much that switching back and forth is a dawdle (well, almost. I just came off a 5-mo C# contract and am now on a java gig and I keep accidentally swapping keywords). I realize PHP5 has added some OO functionality, but I'm doubtful that it's as ground-up OO as either Java or C#/VB.NET etc.
.NET is a different beast entirely. ASP.NET is as different from ASPclassic as it is from PHP.
NObody's going to argue the cross-platformability of php. Not even MS.
And despite Mono and so forth, ASP.NET and the rest of the
PHP is great, I love it and use it all the time. But for the kind of work where ASP.NET would be an option, PHP wouldn't be. Regular old ASP? Sure, and I'd choose PHP over ASP in a heartbeat. But
----
"I used to listen to Null Device before they sold out."
>"-1, Jumping to conclusions"
Damnit... I couldve made a million dollars with that idea...
... hi bingo
No, I'm sorry, the fact that he was an exchange student of any race has nothing to do with if he can write good code, if his code has bugs. And indeed, it has little to do with writing godd ASP code, which can be done (as far as writing "good" ASP code is possible).
"Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
But again, WHY bring it up if it has nothing to do with anything? It's like saying "I know about this project that went to Hell in a hand basket. But hey, by the way, the guy was Indian.
"Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
>> You're talking rubbish
And you sound like a troll or an ignorant Microsoft zealot.
Most 'real' web servers run on their own dedicated box(es). And if you run Ms Windows on those boxes, yes YOU DO need a licence for each one, therefore it IS more expensive than Linux.
>>Extending your argument - how exactly is Linux
>> free if it requires a computer to run??
You're just trolling. The hardware cost is the same no matter if you run windows, linux or whatever on the same box. (well actually you probably need more expensive hardware to get the same performance under Windows but thats another issue). The point here is that Windows costs a licence for each server, but Linux is free to download/use.
>> And it would still be better than PHP IMHO
Well everyone is entitled to their opnion no matter how crazy it seems to others...have you actually read this article?
Many people say you cannot run ASP.NET forms on Apache, yes you can. I do it and many people do it. I found a short little tutorial for you guys. http://www.codeproject.com/aspnet/cassini_apache_1 01.asp
Here is the announcement from the Apache team that they would be supporting ASP.NET on Apache
http://www.wired.com/news/antitrust/0,1551,54072,0 0.html
OMG, Microsoft actually helped Covalent and the Apache teams get ASP.NET working on Apache 2.
http://www.newsfactor.com/perl/story/18740.html
This is more Oracle anti-MS rhetoric to get more money in their pockets.
Many people say you cannot run ASP.NET forms on Apache, yes you can. I do it and many people do it. I found a short little tutorial for you guys. here Here is the announcement from the Apache team that they would be supporting ASP.NET on Apache here OMG, Microsoft actually helped Covalent and the Apache teams get ASP.NET working on Apache 2. Read it This is more Oracle anti-MS rhetoric to get more money in their pockets.
I assume you have experience in this area? NOT.
Having lived in Korea for 2 years, perhaps I may not really know how they treat other races. But they treated me just fine.
"Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
ASP.NET has a strong advantage over PHP, being the development environment. Visual Studio is a really excellent and productive tool, that helps a lot the developper. Most PHP users use basic text editors, losing the advantage of WYSIWYG.
ASP.NET also has some excellent data access and manipulation tools, managing backoffice and middle/front-office job, which is a big win over the "do everything yourself" PHP approach.
Most of the time, the success of a project isn't based on how the application runs (fast, without bugs), but on the time spent to develop it. And for this point, ASP.NET is still really good.
____
nico
Nico-Live
Well, not everything MS does is evil. But their EULA comes might close in my book.
Because people form mental images. Someone refers to "a developer." Immediately, I think of a white male geek, probably overweight, in his twenties. Why? Because in my experience, that's what developers tend to look like.
Is the mental image important or relevant? Maybe not. Do I have willful control over whether my mind conjures such an image? Certainly not. But at least I now have a somewhat accurate mental image.
He mentions the differences between the two.
Don't be naive.
Well, actually, I think it was Oracle flinging the FUD... not that the FOSS folks don't, but this one has corporate wank written all over it. Check the URL...
What a strange bird is the pelican, his beak can hold more than his belly can.
I have used PHPEclipse for the past year. Prior to that I used TextPad.
I have used Visual Sudio 6 and .Net.
PHPEclipse rocks, though I do have some complants (mainly the auto double quotes are a pain to get used to) I still recommend it to all other PHP developers I know.
I leave a copy at all of my client sites to ensure that they can make changes to the code I generated for them.
Please read the parent, look at PHPEclipse and (if you like it) mod the parent up to help inform others
More of my thoughts
You seem deeply confused. Referring to a person's race is not an insult. I'm quite certain that people in Korea probably referred to you as "white" (or whatever the term for your particular skin tone happens to be). I'm also certain that, as you say, you were treated "just fine." How does acknowledgement of a person's race equate to bad treatment?
Let's follow your muddled logic to its conclusion. An individual named Mbutu moves to your home town. From his name, it is quite clear that he is a black African. But according to you, we are not supposed to acknowledge race because it is some type of insult. Hence, you must not refer to this person by his name, since it would be a clear acknowledgement of his race. Essentially you are telling this person that his own name is an insult to him. You are telling him that his blackness should not be acknowledged. That his race makes you so uncomfortable that you cringe to even mention it.
At this point I'm about 80% sure that you are white, because only whites, in my experience, have such a neurotic view of race.
Here's an idea, instead of kowtowing to Bill, why not promote the fact that PHP will run smoothly on Mono's implementation of .NET? There is no question that PHP 5 is a superior choice for open source developers so why not embrace it? Or is that something that your bosses at Novell won't let you do?
In the article they compare the web servers, but neglect the languages themselves. PHP is atrocious - there are many well-known exploits, some that can even let you see the PHP code (better not hide any secrets there)!
At this point, I am sure you are White American, because only White Americans feel the need to bring race into a question where race was never an issue.
"Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
Nice article since I'm working on an implementation of ASP.NETs webforms in PHP.
Check it out: http://dotweb.berlios.de/
Get real. A penchant for irrelevance is not limited to whites or Americans. Here on Slashdot, we specialize in mentioning Linux in the most unlikely of circumstances. If we follow your logic, apparently that means we all hate Linux.
PHP5 is a clear shot at ASP? Maybe ASP 3.x, NOT ASP.Net. PHP's library pales in comparison to .Net. I'd rather use Mono.
John Kerry is a Joke!
The OSS community needs a decent IDE development application. I am busy with other things such as college, family, my illnesses, etc.
I am out of work, on disability, and going to college, I cannot afford to buy anything right now. Be it Visual Studio.Net or anything else.
So no, I am not willing to dish out $$ for an MS product, or any other company's product.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
now I have an IDE to learn in without having to pay too much money. When I get some time I will experiement with it. Thanks again.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
I do not pirate Visual Studio.Net, in fact I am looking for alternatives to it. Possibly OSS projects I can use.
My PoS ISP is so unpredictable that I cannot even download the CD ISO images for Debian without them crapping out on me, even with WGet and other download helpers. So even if I wanted to pirate the mammoth VS.Net CDs, I couldn't.
I did join on the Microsoft Movie Review to get a free copy of VB.NET Standard Edition, but I haven't installed it yet. It was a promotion that Microsoft put out to review VB.NET movies and get a free copy of their VB.NET software. It is not for resale, but I am reformatting my systems every few months due to worms and viruses and spyware/adware and other stuff, so activating it and then reactivating it after a reformat would be difficult. Eventually I want to move towards Linux and get away from Windows. I am working with Linspire now, I paid $60 for the install CD and blew most of the money I had saved up on it.
Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
I don't know about ASP,,, I know about PHP... but WebObjects puts them all to shame!
Mind | Body | Spirit | Cash
I'm gonna have to agree with pclminion on this issue. The OP said the dude was an exchange student to clarify later in the post that his origins and his programming skills were not the real issue, but rather the coding language.
Responses would have likely brought up the programmers skills anyways. He just wanted to kill two birds with one stone.
p.s. And no, I'm not some random white dude. My name does actually reflect my ethnicity.
One set of logic, being found valid, this does not make it valid for all situations, only the situation it is formed around. You make no sense now, my friend.
"Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
Gaussian blur, anybody?
NEXT! (-:
Got time? Spend some of it coding or testing
Now on file here, give us a whistle if the attribution needs improving (or, of course, change it yourself).
Got time? Spend some of it coding or testing
As of beta version 4, PHP 5 still has a few shortcomings, including its lack of exceptions [...]
PHP 5's major new achievements come in the area of its exception handling [...]
Uh... George? Is that you?
Also - he's basing this on the December 2003 release? Why is this article even here?
You'd expect the purveyors of PHP tools to answer developer requests, and they have.
There are several alternates around.
If you want to try something a bit different, there's this or this.
Got time? Spend some of it coding or testing
What Microsoft has been giving it's customers isn't "nothing".. it's technically called an "ass-raping"
"Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
OK, I'm a fan of Linux
hmm, it seems that every anti-linux troll these days begins with this sort of thing...
but I also have a bullshit detector, and anyone claiming that Apache has a good security track record is full of it.
Actually, the security record of apache has been exemplary over the years, especially when cmpared to microsoft iis. Even though apache runs the lion's share of internet sites, guess what the lion's share of the worms & virri have infected?
Yep, microsoft iis.
You need to get out and about more, work on that experience a bit.
Not a few Asian cultures look down on Negro people, or for that matter different kinds of Asians. Negro culture, in turn, often looks down on Asians. Indians (as in, the big pointy bit hanging off the bottom of the Himalayas) and occasionally Arabs have wars amongst themselves over racial differences a typical Westerner would be struggling to pick - the Indians especially typically have a tremendous and overlapping range of skin colours within a racial sub-group, so they squabble over different racial differences. Various groups in China and Russia waste time looking down their noses at one another, and Japan looks down its collective nose at both. Which is a somewhat gentler approach than their historical one.
It's pandemic. Get used to it - which is not to say that you have to accept it, just acknowledge that it's there and plan for it.
Full disclosure: I am a male Caucasian Australian. I have meet-in-person friends who are from Zambian, Indonesian, Australian Aboriginal, Chinese, Singaporean, Japanese, Rhodesian, Russian, Romanian, Inuit, AmerIndian, Phillipino, Thai and other cultural and racial groups, and think nothing of it. We fostered an African-Negro/Chinese-Indonesian toddler for a year while his mum recovered from a back injury (dad was stuck in Africa until he could work up to getting a new visa). I have on-line friends all over the planet and no real clue (in most cases) as to what their race might be.
Got time? Spend some of it coding or testing
To me, in Linux or UNIX 'cat' is calling a command that displays the contents of a file, like 'ECHO' in DOS.
Are you talking about an editor is this a new/old editor that not too many programmers use?
I am coding currently in perl using emacs that formats, color codes and highlights critical words in context. It lacks the lookups I have seen on other editors and I am making my share of errors. However, I am still at home with this editor and pleasantly surprised and impressed with its power.
Of course, I am just making another pass at perl to really learn it well this time. Nonetheless, I do not see myself dropping emacs when I begin to use it in producing real code.
One possible ASP.net (1.1) solution
Server: Apache
Module: mod_mono
IDE: Monodevelop
All OSS last time I checked. That's pretty samn similar to PHP, and a whole lot better than JSP.
I am setting up a Linux-based thin-client Internet cafe yesterday, and in strolls a dude from the cafe next door (this place will have its own cafe in a day or two) who wants some Internet access to show a client their Internet cafe software.
He likes the setup, doesn't care what technologies lie behind it, and is absolutely flabbergasted to discover that coding the glue logic to turn Mandrake Terminal Server into a viable Internet cafe including time accounting is under two man-days. Look for a project named "lincaf" in a month or so.
One card-swap later and I'll probably have tens to hundreds of thousands of dollars in business out of this one tiny installation, which in turn was made possible only by the unhindered availability of a broad swathe of software, and especially the sources for functional items that I can tweak instead of having to create from scratch.
Got time? Spend some of it coding or testing
No, he means 'cat' like you mean it.
/dev/hda1 and include the inode data.
As in:
hcohen@src#cat - > hello.c
#include "stdio.h"
int main() { printf("hello, world"); };
^Z
hcohen@src#
Real men cat straight to
That New Yorker that moves 5000 miles to the West Coast better bring a passport and life preserver. I wonder if that would suffice to reach the 'East' coast of one of the Hawaiian islands?
Microsoft wants a piece of everyone. That's how their business works, it's their entire ethos - all of it, the whole package, anything else is just decoration. What you're seeing here is an example of a classic reaction to that.
Just like Linux, PHP didn't set out to "beat" anybody. It just happened, grew "like Topsy" but more to fill specific needs rather than at random. Its eventual total annihilation of the corresponding Microsoft product will, as always, "just be a completely unintentional side effect." (-:
PostgreSQL has now grown enough features to pretty much outclass MS-SQL-Server across the board, and by years' end will have grown even more. This, too, is "a completely unintentional side effect" since their target - if any, maybe "benchmark" would be a better word - seems to be Oracle.
It's hard to point to a serious Open Source web browser without pointing to a nail in the coffin of Internet Explorer. At the other end of the link, Apache - not backed by any particular company, just a product which stands on its own merits - absolutely 0wn3rz the webserver market.
What makes the difference?
On one side, we have a company which hoards code and doles it out to users in carefully measured (and paid for) amounts. Any support etc done by the company is simply to increase the perceived value of the doled-out item, and often it's charged for too. This has bred a generation of Minesweeper Consultants and Solitaire Experts.
On the other side, we have people solving their own problems, and not hoarding the solutions. Because it's their own code, they take pride in it, and some of them support it for that reason. Much other support is done in passing; someone's reading a list to find out more about their pet project, a question appears which is either easy to answer or an interesting challenge, and so an answer happens. That kind of responsiveness is difficult to buy.
Got time? Spend some of it coding or testing
You are only talking about the actual basic framework from MS. There is also the issue of any components which may need additional licenses-- third party controls, etc.
Now, this whole discussion misses a couple of extremely important points. These include:
1) An extremely vibrant open source community surrounding PHP. This has cost and licensing advantages in some areas, but cost and licensing disadvantages in other areas (for example, ensuring license compliance when distributing commercial software).
2) Mono is available on Linux too. And there is a vibrant community there. Mono is mostly licensed under the LGPL allowing people to link to it from proprietary apps. And there is a great community there too.
These licensing reasons are mostly bogus.
LedgerSMB: Open source Accounting/ERP
Nice troll.
.Net, and have the same stability.
I've built and continue to maintain a web application that consists mainly of 65,000+ lines of ASP code (With some perl, VB, the odd batch file and a boatload of SQL Server procs. This application is very stable. I could rewrite it in php or
The platform doesn't make a whole lot of difference to stability. The programmer does.
meh
You've made many valid points, but anyone who works with the intricacies of HTML will tell you that Microsoft's markup is woeful.
However, I'm sure it would be simple (in both ASP and PHP) to write your own w3 compliant HTML library and serve up different stylesheets based on the client, so it's not really a huge issue.
To answer your original question, Perl has a popular module called Mason which abstracts HTML, and integrates well with mod_perl.
Vino, gyno, and techno -Bruce Sterling
Perhaps you should read these changelogs:
http://www.apache.org/dist/httpd/CHANGES_2.0
http://www.apache.org/dist/httpd/CHANGES_1.3
Pay attention to the SECURITY related changes.
Apache::ASP provides ASP for free. Given the issues the author has with PHP (and there are plenty of other complaints beyond those he cites) it would seem that having ASP on a free platform would be an ideal combination for him.
--
Free software isn't free, but expensive software is expensive.
Sorry, you can't use C/C++ for ASP.NET.
As of April, 2002, more web sites across all web servers use PHP than use Microsoft's Active Server Pages.
Steve Magruder, Metro Foodist
I had very little programming background, but I was able to learn and use PHP effectively, and put together a web site with a database backend and lots of cool features, in a few weeks time. And I didn't even have to use any code from anyone else.
If I spent more time with it, if I read more websites on PHP (don't underestimate these - there's a LOT of PHP fan sites out there and a lot of training to be had on the web) and applied my newfound skills to new types of sites, I feel as though I could do PHP programming for a job.
Java is orders of magnitude more complex.
- It's not the Macs I hate. It's Digg users. -
Excellent Ghia, man!
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
Personally, I prefer Java Servlets and JSP. I have friends who consider Ruby to be the best platform for web applications and others who prefer Perl.
In the end, it all depends on what the customer is using for the rest of their systems. Arguing which language is best for a web front-end is quite pointless.
Being a long time Delphi, Builder and more recently, a .NET developer, I can tell you that just because there are components and events doesn't make it a magic bullet. I've seen the horror of an entire applications business logic residing in event handlers as well as very procedural code using components. Also, the only browser abstraction microsoft believes in is Internet Explorer or Internet Exploder, take your pick.
ASP.NET makes it easy for you to do whatever Microsoft thought you should be doing with it, otherwise it is very hard to shoe horn ASP into doing what you want. Then there is the problem of taking your code and running it on something other than IIS. Given MS security record, it is nice to be able to run your apps on something secure.
I'm not a PHP developer so I don't know if PHP is better but it is hard to believe that anything is worse.
Sorry my bullshit sensor overloaded.
Real Coders don't use cat.
Real Coders say: as <<EOT
Please correct me if I got my facts wrong.
Ah, you're assuming I hadn't seen the changelogs or heard of the potential security issues which have been found (and no doubt will continue to be found) and corrected by apache developers in the course of the ongoing development of apache.
While continual security fixes are the norm in the open source world, I suppose it could be alarming to an outsider when taken out of context, but I think the point is, that apache security issues are generally a matter of an developer's entry in the release notes, while iis security issues are generally a matter of a significant number of businesses suffering downtime or worse due to bugs in iis.
I'd wager that if you could look at the source code for iis, you'd probably have a stroke.