Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: Damn PHP!. You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

Damn PHP!
by Acidus at 11:03 am EDT, Apr 30, 2009

I'm building an web app. Its need to be highly portable, very self contained, and no non-standard dependencies. I need "install is just copy the single file." Given a random Internet (not intranet) web server I have the highly likelihood of having a PHP interpreter.

So I picked PHP.

But my God ASP.NET has me spoiled! I would kill for an $_APPLICATON right now. I have an app where I need to persist data across page views and share it with all users. Sessions aren't going to work. I thought about forced Session Fixation so all visitors are using the same session and so in effect I have a shared global persistent data store. Nope. Not gonna work.

Share memory? Out, not supported on IIS+PHP. Using a database? Out, not part of a standard PHP install on some Linux installations and no IIS installations.

I'm down to using a temp file and serializing a hash table.

GRRRRRRRRRRRRRRRRRRRRRRRRRRRR!


 
RE: Damn PHP!
by Decius at 11:52 am EDT, Apr 30, 2009

Acidus wrote:
But my God ASP.NET has me spoiled!

Whats why PHP stands for Personal Home Page and ASP stands for Application Server Pages. PHP is one of those technologies, like MYSQL, that has been pushed into applications that it was never intended for because, its easy, its open source, and it has a fanatic fan base who don't know any better. Some technologies adapt to this better than others.


 
 
Powered By Industrial Memetics