The Artima Developer Community
Sponsored Link

Java Buzz Forum
PHP Scales Better then Java My Buttocks

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brian McCallister

Posts: 1282
Nickname: frums
Registered: Sep, 2003

Brian McCallister is JustaProgrammer who thinks too much.
PHP Scales Better then Java My Buttocks Posted: Jul 3, 2004 3:32 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Brian McCallister.
Original Post: PHP Scales Better then Java My Buttocks
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time

Advertisement

Write stateless java webapps and it scales just as well. Because PHP has no built in constructs for maintaining state between requests other than cookies the language supposedly scales better. You can do servlets the same way. That way you get identical scalability and better performance. Don't confuse design with language. If you insist, I will point out that Brainf*ck scales better than PHP. It has no useful constructs, so applications are shorter and simpler.

It does speak to a design idiom I have expressed before -- make things you don't want people to actually do difficult to do. The servlet spec makes it easy to store server-side session state. People do it. I have recommended, and done myself, the practice of making a particular feature inconvient to use in order to make it used less often, or only when *really* needed. Yeah, this is telling clients how to use it, and may be of questionable ethics, but sometimes it is the best way to communicate, especially when acocmpained by docs saying why not to use it -- which they'll only bother to read when they say "this shouldn't be so inconvenient to do." Look at Java's reflection API for a great example of this in practice ;-)

Read: PHP Scales Better then Java My Buttocks

Topic: Look at those jewel cases! Previous Topic   Next Topic Topic: Downloading Horn

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use