Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Before any real implementation and mess producing, i always use what i called the "Smart gateway" pattern.

It's just normal gateway with a bunch of `if then else` for business logic to decide at the edge.

The benefit, is i can turn on/off easily, and it allows me to add new features without breaking existing features easily.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: