I'm developing a largely CRUD based web application. It is
multi-tenanted. 2 of its entities need to be available offline.

If it was not offline I would use a RESTful url architecture for the
urls, such as /action/5/edit, /action, /farmer/3/view etc. However
based on this article:
http://alistapart.com/article/application-cache-is-a-douchebag I would
need to create a very long cache manifest for all actions and farmers
that this user is allowed to access and I don't know how I would add
newly created actions to this manifest. Each manifest file would also
have to change for each user.

I want to retain the ability for a super user to edit multiple items
in the same browser at the same time and I want to be able to bookmark
and link to specific entities.

To achieve this, I'm planning to serve the offline capability from one
single url and use url parameters to create bookmarkable links.

While the offline functionality will load all data in any case if
online, the javascript inside will pick up the url parameters to load
the correct entity and if other entities are accessed - i.e.
"pseudo-navigated" to, it will change the url in the browser.

I would like to know any way I can achieve this easier, or any
improvements that could be made to this architecture.


-- 
Kind Regards,

Jochen Daum

"There is no shortcut to anywhere worth going" - Beverly Sills

Automatem Ltd
Tauranga: +64 7 281 1289
Auckland: +64 9 630 3425
Mobile: +64 21 567 853
Email: [email protected]
Website: www.automatem.co.nz
Skype: jochendaum
http://nz.linkedin.com/in/automatem
http://twitter.com/automatem

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--- 
You received this message because you are subscribed to the Google Groups "NZ 
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to