Re: Newbie Question: UI state mgt with YUI and a config file?
Thank you very much for your reply! You saved me some head banging. I
did actually want to write to a file on the server, not the client
(sorry I miscommunicated that somehow), so your solution sounds great. I
like the idea of using JSON for this. I will look into the YUI
> goodness), so unless you can store that information in a cookie
> you'll probably want to load the user's data along with the page on
> the first load. A nice way to do this is to format the data as JSON
> the page based on that data.
> When the user changes the state of the page, you would then use YUI
> Connection Manager to post that data to the server, which would
> either update the flat file on the server side or, more typically,
> store that information in a database. Connection Manager can also be
> used to poll the server for updates to that information, if needed.
> Eric Miraglia
> Yahoo! User Interface Library