1392569
story
sirPaul writes:
"PHP 4.1.0 is out @ php.net. "It includes highly improved performance, especially under Windows; A new, and more security-friendly way of accepting form variables; Output compression, and much, much more." Check out the changelog."
Windows binaries! (Score:3)
Binaries do not come out right away (Score:2)
Re:Binaries do not come out right away (Score:3, Informative)
Re:Binaries do not come out right away (Score:2)
Schweeeeet! (Score:1)
If you're trying to decide which direction to go in web development, take a real close look at PHP. It totally smokes
Re:Schweeeeet! (Score:2)
It's actually grown beyond just web development lately. I've taken to using it for minor system administration scripts from the command line - sort of a 'Perl Lite'.
Also, PHP-GTK looks like a promising development for future client-side applications...
ASP vs. PHP (Score:1, Interesting)
I have not tried the 4.1 yet, but 4 had these problems/annoyances:
1. Session variables were more complex to use than ASP's
2. Lack of a wrapper function makes name conflicts more likely for form vars, session vars, cookies, etc.
3. Case sensitivity. I hate that.
4. Semicolons
5. No direct module-level vars
6. Too many arrays needed to access
mySQL.
On the good side, it won't be totally overhauled like ASP will when that
New Input Arrays (Score:3, Interesting)
Now y'all can rip me apart for being positive in a
MS working on PHP?? (Score:3, Interesting)
We want to thank Brett Brewer and his team in Microsoft for working with us to improve PHP for Windows
Not that I'm against MS making PHP faster on windows (the environment I run it in currently - XP, Apache, PHP), but you'd think that MS would see PHP as a competitor to ASP.
-Adam
You shake and shake the ketchup bottle - first none comes, and then a lottle.
Re:MS working on PHP?? (Score:1)
towards Open Source stuff like PHP.
For example, if they really want to help Mircrosoft, then indirectly this is a good move.
By making the competition better, your department has to improve even more. So it is very likely
that somebody from a non-ASP department at Microsoft may have done that to try to increase the
quality of the ASP software they are forced to put out to compete with PHP.
Sorry for opposing the common Anti-Microsoft ethos here on
it. A little friendly between-department competition (well, maybe not friendly). I'm sure it happens
at most corporations.
Re:MS working on PHP?? (Score:3, Interesting)
You can read more about this on other sites on the internet - I have a relative working there, but of course we never talk about stuff like that (as most MS employees are discouraged from talking about such things, and business and pleasure don't mix) so I have, at best, third hand knowledge, but it seems reasonable.
-Adam
WWW Jel - Immediately relieves surfing pain!
Indications - For temporary relief of 404 pages due to bad links.
Directions -
Compose email to the webmaster
Apply description of page you came from and page you're attempting to load liberally over affected area.
Warning - Do not use this product more than 7 times per day. If surfing and sore 404 problems do not improve in 7 days; if irritaion or pain persist or worsen; if rash or other symptoms appear consult your ISP.
Do not exceed recommended dosage.
If you have a history of allergy to computers, bad jokes or parodies, please consult with your ISP or local computer retailer before use.
Micro Basics - all the goodness with 75% less fat!
No animals were injured in the testing of this website. In fact, many of them wanted seconds.
Re:MS working on PHP?? (Score:2, Interesting)
ASP is simply the name Microsoft chooses to confuse the world with. The rest of the computing planet uses CGI as the acronym. By using ASP it FUDs people because then people think that Unix doesn't have ASP.
So you see PHP isn't a competitor it's an ally. What MS want is NT/2k/XP deployment not vb script.
Once deployed it's hard to change, even if you did think that p*'s cross platform nature was going to help you. Once your scripts become complex enough then 'MS only' stuff leeches in (pathnames for instance) and moving over becomes too much hassle and for what gain?
XP, Apache, PHP -- spot the weakest link
Re:MS working on PHP?? (Score:1)
:)
Re:MS working on PHP?? (Score:3, Interesting)
Sorry, wrong. VBScript, Jscript, and to a lesser extent PerlScript are languages that have ASP 'hooks' - 'seamless' integration into the ASP environment. PHP is not one of those languages, unless something has DRASTICALLY changed, and I think we'd have seen a more specific announcement about that.
PHP runs as an ISAPI module under Windows - hopefully it does NOW anyway. It was pretty flaky in the past. Hopefully this 4.1 release remedies a lot of that. A few core PHP people were invited to MS some time ago to discuss how to make the ISAPI version more stable. There were apparently many threading issues, and the PHP team didn't have much in the way of specific MS experience - not as much as the Unix experience the developers bring to the table.
PHP is most definitely a competitor, as is perl. WHY would I tie myself to coding ONLY on windows (via VBscript, ASP, etc) if I can just as easily take that code and port it elsewhere? Same issue as Java - my PHP code will run without change on a unix server or a windows server. So it's most certainly a competitor, no doubt about that. Throw in the price tag for PHP/Perl/etc ($0) and it really *should* be scaring MS some. At least it probably rattles a few cages in certain departments there.
Re:MS working on PHP?? (Score:1)
Actually, If you're running on a Windows box, ASP is free with the included IIS. If you compare to PHP on a Linux box there is a price difference, but Apples to Apples (just to confuse things) PHP vs ASP is the same price on the Windows platform.
Re:MS working on PHP?? (Score:2)
Re:MS working on PHP?? (Score:1)
Re:MS working on PHP?? (Score:2)
MS derives no income from ASP. They do, however, derive income from the sale of NT/2k/XP/whatever. Anything that makes those platforms of more universal appeal makes them more money. Similarly, if they did charge for ASP, a sane business decision would be to make versions available for things besides MS operating systems. True, they don't sell Office for anything but Windows and MacOS, but that's probably a cost/benefit decision (as in "X dollars for a linux Office team would only make sense if revenue Y is greater than X" (probably X + required profit margin)).
It isn't hard to predict what MS is going to do given a set of stimuli. However large they may be, whatever their corporate culture might be like internally, they're a business like any other (public traded) business (operating in a near or total monopoly).
Re:MS working on PHP?? (Score:1)
Non-Windows performance? (Score:1)
This suggests that Unix/Linux performance is improved. Anybody have details on that? Performance metrics?
Re:Non-Windows performance? (Score:3, Informative)
(mostly bugfixes AFAICS)
Does it work with Apache 2? (Score:2)
Who is Brett Brewer (Score:2, Informative)
Anything Python can do that PHP can't? (Score:1)
Now I know PHP pretty damn well - and I'm getting to LOVE programming web-based applications.
I've read about Python, and I'm starting to wonder - for those here who know Python - is there any reason to learn it? (Besides just curiosity or learning OOP.)
Is there a lot Python can do that PHP can't?
I don't mean in its methods ("PHP can't do real OOP!") - but in a practical sense.
Should I just stick with PHP or is there a big reason to learn a whole new language?
Thanks!
Re:Anything Python can do that PHP can't? (Score:2)
Email me privately if you'd like to discuss this further.
Re:Anything Python can do that PHP can't? (Score:2)
I'd say learn python ONLY if you want to write standalone (non-web) apps or scripts, which it is quite good at. use the right tool for the job.
Re:Anything Python can do that PHP can't? (Score:2)
For *most* web applications, i really believe PHP is the way to go. It strikes a good balance between performance, features, and memory usage.