Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Help on Design for Cross-Platform Application

Help on Design for Cross-Platform Application

Scheduled Pinned Locked Moved Design and Architecture
databasecsharpc++javadesign
6 Posts 4 Posters 6 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.
  • B Offline
    B Offline
    brdavid
    wrote on last edited by
    #1

    I'm in need of a little push in the right direction and I'm hoping some experts on this forum can help in getting me going in that direction. I would like to develop a cross-platform application which would run as a client-program only but has the potential of running as a client-server program. The application is basically a game application that needs a database-layer, an application layer, and a GUI layer. The requirements are the following: Cross platform a must. Intuitive GUI. Easy access to Database so user can make whatever changes are necessary. Separate layers so that work can be done on one layer and not effect another. When it came to the GUI layer I would like to use WxPython for the GUI. In researching this product it does exactly the things the application design requires however does WxPython interface with C++? C#? How does it interface? Sockets? Events? The answers here will determine how the logic layer will be built. Also not sure which Database to use. I'm comfortable with SQL databases but again, the database must be cross-platform compatible (if that makes a difference anyways with the database). Perhaps XML would work better. Last attempt with XML proved to be slow but was using Java as the logic layer. Could have something to do with it, maybe not. I will continue to browse through the articles here to see if anything can be of help, but for those who are far more experienced in this stuff, if you have general information that could help I would be much appreciative. Thanks for any help! :)

    L M E 3 Replies Last reply
    0
    • B brdavid

      I'm in need of a little push in the right direction and I'm hoping some experts on this forum can help in getting me going in that direction. I would like to develop a cross-platform application which would run as a client-program only but has the potential of running as a client-server program. The application is basically a game application that needs a database-layer, an application layer, and a GUI layer. The requirements are the following: Cross platform a must. Intuitive GUI. Easy access to Database so user can make whatever changes are necessary. Separate layers so that work can be done on one layer and not effect another. When it came to the GUI layer I would like to use WxPython for the GUI. In researching this product it does exactly the things the application design requires however does WxPython interface with C++? C#? How does it interface? Sockets? Events? The answers here will determine how the logic layer will be built. Also not sure which Database to use. I'm comfortable with SQL databases but again, the database must be cross-platform compatible (if that makes a difference anyways with the database). Perhaps XML would work better. Last attempt with XML proved to be slow but was using Java as the logic layer. Could have something to do with it, maybe not. I will continue to browse through the articles here to see if anything can be of help, but for those who are far more experienced in this stuff, if you have general information that could help I would be much appreciative. Thanks for any help! :)

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      brdavid wrote:

      The application is basically a game application

      brdavid wrote:

      Cross platform a must.

      What platforms? Nintendo? WII? PlayStation.....? That's a tall order and I am not sure apps for Games use a Database so where does that requirement come from?

      brdavid wrote:

      I will continue to browse through the articles here to see if anything can be of help, but for those who are far more experienced in this stuff, if you have general information that could help I would be much appreciative.

      I suggest you seek out more Gaming specific information sources.

      B 1 Reply Last reply
      0
      • B brdavid

        I'm in need of a little push in the right direction and I'm hoping some experts on this forum can help in getting me going in that direction. I would like to develop a cross-platform application which would run as a client-program only but has the potential of running as a client-server program. The application is basically a game application that needs a database-layer, an application layer, and a GUI layer. The requirements are the following: Cross platform a must. Intuitive GUI. Easy access to Database so user can make whatever changes are necessary. Separate layers so that work can be done on one layer and not effect another. When it came to the GUI layer I would like to use WxPython for the GUI. In researching this product it does exactly the things the application design requires however does WxPython interface with C++? C#? How does it interface? Sockets? Events? The answers here will determine how the logic layer will be built. Also not sure which Database to use. I'm comfortable with SQL databases but again, the database must be cross-platform compatible (if that makes a difference anyways with the database). Perhaps XML would work better. Last attempt with XML proved to be slow but was using Java as the logic layer. Could have something to do with it, maybe not. I will continue to browse through the articles here to see if anything can be of help, but for those who are far more experienced in this stuff, if you have general information that could help I would be much appreciative. Thanks for any help! :)

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #3

        brdavid wrote:

        The application is basically a game application that needs a database-layer, an application layer, and a GUI layer.

        Cross-platform for what ? the database layer, the application layer or the GUI layer ? anyway, doing cross-platform development is a challenge, you need to do the following, have at least an expert for each type of platform you want to develop on; these people will help you write platform specific code and help you create an abstraction layer between your "engine" and the different platforms. For example, file access, graphics, DB, ... For the GUI part, you can use a toolkit that is supported by all platforms, the upside is that it can be faster to develop, but your application will look ugly on all platforms, those kind of toolkit usually do not support native look-and-feel.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        B 1 Reply Last reply
        0
        • L led mike

          brdavid wrote:

          The application is basically a game application

          brdavid wrote:

          Cross platform a must.

          What platforms? Nintendo? WII? PlayStation.....? That's a tall order and I am not sure apps for Games use a Database so where does that requirement come from?

          brdavid wrote:

          I will continue to browse through the articles here to see if anything can be of help, but for those who are far more experienced in this stuff, if you have general information that could help I would be much appreciative.

          I suggest you seek out more Gaming specific information sources.

          B Offline
          B Offline
          brdavid
          wrote on last edited by
          #4

          led mike wrote:

          What platforms? Nintendo? WII? PlayStation.....?

          Windows XP/2000 possibly Vista Mac OSX Linux (popular distros such as Ubunto) Perhaps the use of the word "game" is misleading. This is a Windows "type" application that revolves around a "roleplaying" game. The application does nothing more than automate tasks, print sheets, calculate numbers, run random generators, update the database, run queries from the database and so on. So this is pretty much a standard application, and less of a "game".

          1 Reply Last reply
          0
          • M Maximilien

            brdavid wrote:

            The application is basically a game application that needs a database-layer, an application layer, and a GUI layer.

            Cross-platform for what ? the database layer, the application layer or the GUI layer ? anyway, doing cross-platform development is a challenge, you need to do the following, have at least an expert for each type of platform you want to develop on; these people will help you write platform specific code and help you create an abstraction layer between your "engine" and the different platforms. For example, file access, graphics, DB, ... For the GUI part, you can use a toolkit that is supported by all platforms, the upside is that it can be faster to develop, but your application will look ugly on all platforms, those kind of toolkit usually do not support native look-and-feel.


            Maximilien Lincourt Your Head A Splode - Strong Bad

            B Offline
            B Offline
            brdavid
            wrote on last edited by
            #5

            True, but I guess my main area of interest right now is if anyone knows of any leads where WxPython and C++ and a database are used either in a multi-tier application or perhaps single tier. Thanks!

            1 Reply Last reply
            0
            • B brdavid

              I'm in need of a little push in the right direction and I'm hoping some experts on this forum can help in getting me going in that direction. I would like to develop a cross-platform application which would run as a client-program only but has the potential of running as a client-server program. The application is basically a game application that needs a database-layer, an application layer, and a GUI layer. The requirements are the following: Cross platform a must. Intuitive GUI. Easy access to Database so user can make whatever changes are necessary. Separate layers so that work can be done on one layer and not effect another. When it came to the GUI layer I would like to use WxPython for the GUI. In researching this product it does exactly the things the application design requires however does WxPython interface with C++? C#? How does it interface? Sockets? Events? The answers here will determine how the logic layer will be built. Also not sure which Database to use. I'm comfortable with SQL databases but again, the database must be cross-platform compatible (if that makes a difference anyways with the database). Perhaps XML would work better. Last attempt with XML proved to be slow but was using Java as the logic layer. Could have something to do with it, maybe not. I will continue to browse through the articles here to see if anything can be of help, but for those who are far more experienced in this stuff, if you have general information that could help I would be much appreciative. Thanks for any help! :)

              E Offline
              E Offline
              Ed Poore
              wrote on last edited by
              #6

              How about FireBird[^] for the database layer, that's cross-platform and allows you to use SQL.  It has interfaces for Mono & MS.NET as well as C, C++ etc.  The upper language choices are really a matter of preference.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups