DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2005
    Posts
    3

    Question Text-based User Interface (TUI) in C++

    Hi all,

    I'm working on a project (due in 3 months) and need to design some software for a local fire departement. They need a non Graphical (!!) User Interface application to manage their records and data.

    My question to you all-knowing out-there: is there any way to do this portable? They want it to compile just as easy under Windows as under Linux or say Mac...

    Is this:
    1) possible?
    2) in any way possible with a ready-made library (knowing that this is not the only full-time project on my mind, so time is critical...)
    3) portable....

    Which options/alternatives do I have?

    Many thanks in advance!

  2. #2
    Join Date
    Nov 2003
    Posts
    4,118
    it's certainly possible.
    You have two options: either use menus that direct the user:
    1) Select
    2) Update

    ...
    1.1) Seletc one record


    and so on. However, it's probably easier to define a mirco language, that is a command line interface that recongnizes a few keywords and options seperated by / or any other delimiter:

    retrieve record/single/unique/id="1234"/printer=g289

    This should be rather easy to implement and easy to port.
    Danny Kalev

  3. #3
    Join Date
    Nov 2005
    Posts
    3
    Thanks for the quick reply, but it's not just record access, it's also Staff Administration, Vehicle Maintenance and more complicated stuff, not only record retrieval and update...

    And I would like (wishful thinking maybe) a library or whatever ;-) that enables me to compile on all systems (or at least Win/*NIX/Mac) without any code change...

    I am asking a lot probably ;-)

  4. #4
    Join Date
    Nov 2003
    Posts
    4,118
    I'm not aware of such a library especially if it has to be tailored to Staff Admin and Maintenance. Anyway, the same guidelines still apply: either use a menu driven interface or define a command language. I can't think of any other text based interface....
    Danny Kalev

  5. #5
    Join Date
    Nov 2005
    Posts
    3
    Quote Originally Posted by Danny
    I'm not aware of such a library especially if it has to be tailored to Staff Admin and Maintenance. Anyway, the same guidelines still apply: either use a menu driven interface or define a command language. I can't think of any other text based interface....
    Many thanks for the considerations, they were definitely helpful!

    Greetings

Similar Threads

  1. Microsoft's inductive user interface guidelines
    By Phil Weber in forum Architecture and Design
    Replies: 9
    Last Post: 11-18-2003, 01:20 PM
  2. Replies: 0
    Last Post: 08-21-2002, 02:59 PM
  3. Replies: 1
    Last Post: 08-30-2001, 02:39 AM
  4. Replies: 0
    Last Post: 12-15-2000, 02:58 PM
  5. Replies: 0
    Last Post: 10-06-2000, 10:20 AM

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
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links