Thank you for your ideas. The password reset feature was an example. I 
did a bit more research and more thinking and now my idea of using 
cookies and redirects doesn't seem that good any more. From the research 
I found out about window.history.pushState and 
window.history.replaceState 
http://spoiledmilk.com/blog/html5-changing-the-browser-url-without-refreshing-page/
 
and the qooxdoo's own history module 
http://demo.qooxdoo.org/current/apiviewer/?search=qx.ui.window.Window#qx.bom.History

I still don't understand how these could fit together and how to 
implement the _readState and _writeState methods. I guess I will find 
out with trial and error. Any examples are welcome :D

Anyway, my new idea is that all the URIS when are not being requested 
via AJAX, will return the .html file of the main app with additional 
data in the <body?. Something like this stackoverflow answer 
http://stackoverflow.com/a/28705599/2604378
The main app will detect that data during loading and perform the 
according action.

For example a link could be a presentation of some article. There would 
be a permalink to that article and when the link is requested with a 
simple GET the application would load, find the data in the html and 
maybe open a window with that article. Or if it is a password reset 
link, find the data and popup the password reset dialog.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to