dannycoates / abatar

A/B testing minion for node and browsers
1 stars 2 forks source link

The client API shouldn't need to know about experiments #4

Open dannycoates opened 9 years ago

dannycoates commented 9 years ago

Right now with the client API you need to know the experiment name and what properties it returns in order to use it. Ideally the client should not need to worry about experiments at all. All it wants to know is what the value of some variable should be. There ought to be a layer in between the "config.get" and the experiments that handles the translation.

A related but different problem is if more than one experiment affects a given app parameter only one should be active for a user.