Reply to Re: [PHP] Re: Persistent PHP web application?

Your name:

Reply:


Posted by M Saleh EG on 01/19/05 00:50

There would be 10s of ways of doing this I assume... depends on which
technologies and resources you have access to.

Jochem Mass said:
>firstly this goes against the basic principle of 'SHARE NOTHING' that
>php is based on - so I doubt that the basic php environment will be
>changed to accomodate such a feature any time soon.

I kindda agree with you Jochem! that's one of the reasons where PHP
beats others in performance.

Richard Lynch said:
>Just throw them in a database.
>It's a 10-line two-function PHP script you can write in 10 minutes.
>Why would you want somebody else to do that for you?

?! I don't understand you Richard? :s How's that related? or maybe you
have a server farm fired with Oracle and 100 web servers all running
in a load balance loop.
This is about a huge application that was discussed dealing with huge
data structures... I don't know if you read the previous posts.





On Tue, 18 Jan 2005 10:20:55 -0800, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> 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
>


--
M.Saleh.E.G
97150-4779817

[Back to original 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

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