You are here: Re: [PHP] Re: Persistent PHP web application? « PHP « IT news, forums, messages
Re: [PHP] Re: Persistent PHP web application?

Posted by Rasmus Lerdorf on 01/18/05 20:20

M Saleh EG wrote:
> What I mean by Application-Scope variables is variables that can be
> available for the Application or Web-Application all the time after
> starting the application by a trigger. After having the triger fired
> those Application-Scope Variables, Datastructures, Object, and
> refrences would be available for all the requests. That's how I'd
> equate persistant PHP-Applications to having Application-Scope PHP
> variables.
>
> A lame Example to illustrate the purpose of Application-Scope
> variables would be the persistant DB connections. Not 100% the same
> but it's for the same purpose
>
> So if you could have a huge object persistant( Application-Scope
> object ) that does alot of work for you then that object is a PHP
> persistant application which I call Application-Scope var or object !
>
> Hope that clears it out.

For single-server multi-threaded architectures this is trivial to do,
but it doesn't scale to the multi-server multi-process architecture PHP
uses.

-Rasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация