понедельник, 20 июня 2011 г.

Feature toggling

Today I've listened to the presentation on infoQ http://www.infoq.com/presentations/Feature-Bits.

I've learned several recommendations (if you'll watch it you probably can learn much more :-) )
1.) Do not have a lot of toggles in production at one time. It is really hard to support all of them and leave them independent.
2.) Features with toggles should be independent. Otherwise a real mess can occur.
3.) All toggles should be tested and better with all variations. That is why point 1 is important. Otherwise your QA guys will kill you :-)
4.) The following patterns for implementations were mentioned : Strategy, Factory, Chain of responsibility.
5.) Probably you should automate your tests to test different toggles. Probably we should think about that.
6.) Delete toggles as soon as possible.
7.) Do not have UI for toggles. Otherwise it will be hard to achieve point 6.

Комментариев нет:

Отправить комментарий