I implement some objects that will have an equal amount of wealth both on the client side and on the server side.
In this particular case, I will build (hopefully) a small class library to work with search tokens. As an example of pseudocode, I want to be able to do the equivalent of the following both in Javascript and on the server (C # in my case).
s = new SearchTokenList();
s.Add(new SearchToken(field, value, negation));
What development strategies can help avoid creating a big ball of dirt for a library that should cover C # and Javascript?
Update: Finding more strategies than mechanics. But I will take any guidance that I can get from those who have previously done such things.
source
share