Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Architecture of server
tucnak last edited by
I have a task. Create server for my qt-project. It have to get query in format: "[job] [command] [attributes]". But there are many jobs. "Strategy" pattern. But I want to find another way. How I can to do it?
andre last edited by
Get your favourite Design Patters book out of your bookcase and get reading?
vidar last edited by
Another nice but tough way: create a grammar (e.g. using Extended Backus–Naur Form), embed code into that grammar and feed a parser generator (e.g ANTLR) with your stuff. Should work, good luck. ;-D