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

c++ - Do gcc's __float128 floating point numbers take the current rounding mode into account? -

java - the value of local variable is not used -