Results 1 to 2 of 2

Thread: How to write a logging program for a web server

  1. #1
    Join Date
    Jun 2008
    Location
    Denmark
    Posts
    6
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question How to write a logging program for a web server

    I have not programmed for a web server before. This will be my first, simple but highly useful to me, web application.

    I have 100 sensors around, all connected to Internet. They will send every 5 minutes, one line of text including an id, a time stamp, a few numbers.

    I imagine they all send to the same server, on which this web application will log the incoming text. It could be in a flat file or a proper database. That's all.

    How do I start? (1) Which Qt classes should I use? (2) Which textbook or other resources could introduce me to writing this kind of web application?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,709
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to write a logging program for a web server

    This sounds more like a task for web service than web application.
    AFAIK there is no framework in Qt for building web services.
    But have a look via google, Eclips has a full development environment for building WebServices, and there are a lot of tutorials around the net.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. The following user says thank you to high_flyer for this useful post:

    Niels Holst (23rd March 2011)

Similar Threads

  1. Replies: 2
    Last Post: 2nd November 2010, 05:15
  2. Https server - logging by QSsl
    By Trok in forum Qt Programming
    Replies: 2
    Last Post: 23rd September 2010, 23:22
  3. Replies: 0
    Last Post: 20th July 2010, 14:30
  4. Write to Threaded Server
    By Suncell in forum Newbie
    Replies: 17
    Last Post: 9th June 2010, 19:46
  5. The server cannot write to the client. Why?
    By probine in forum Newbie
    Replies: 12
    Last Post: 24th March 2006, 17:14

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.