
20 May
2010
20 May
'10
8:22 a.m.
Artyom skrev:
- Make request abstract class rather then concept. Unless you want to recompile your application to work with each type of connection. I you only what to change configuration if you work over Unix sockets, TCP sockets or you work with scgi instead of fcgi.
Beleive me I've been there I know what I'm talking about.
An abstraction layer can always be build around a low-level template code. Going the other way is impossible, so please avoid virtual functions as the only choice. -Thorsten