javascript - putting client code in the server in order to avoid versioning hell? -


so, i'm using phonegap implement html5 mobile app display fetched server data.

my problem such: data structure expected have many changes don't want have json-to-html logic coded @ client side because mobile apps might outdated in way won't understand new data's format. hate having multiple versions of same data old clients.

the idea came having json-to-html function serialized same json data is.

this break client/server separation of concerns principle given alternatives, sounds justified. think?


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

ruby - How do I merge two hashes into a hash of arrays? -