how to use multiple remote displays
Milan Babuskov
milanb at panonnet.net
Tue Oct 3 23:47:39 PDT 2006
Martin Drautzburg wrote:
> The WEB-application folks claim that they are working stateless but they
> have to reintroduce state by all sorts of dirty tricks, like cookies and
> hidden variables. Because it is cumbersome to manage STATE in this world,
> STATE is automatically minimzed. Also much of the state is kept at the
> client, so the Gigabytes of required RAM are distributed over a large
> number of computers. Thus it becomes possible to service a large user base
> at the cost of difficult development and poor look and feel.
I have to disagree here. I do a lot of web development and state is
mostly kept server-side. The reason is that client-side state needs to
be trasferred each time. Also, user can disable cookies in this browser.
State is kept in sessions and only session ID goes to client and back.
As for storing session data, PHP for example offers text files or
database backend (MySQL or any other.) Session management does not
require any dirty trick, and it is managed automatically by the
framework. As a web developer, all you need to do it have a single
function call "session_register(name)" and all "state" data is available
from that point on.
--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org
More information about the wx-users
mailing list