Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Architecture of server
Qt 6.11 is out! See what's new in the release blog

Architecture of server

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tucnak
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Get your favourite Design Patters book out of your bookcase and get reading?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vidar
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved