GithubHelp home page GithubHelp logo

iwbnwif / wxdatabase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mtangoo/wxdatabase

0.0 2.0 0.0 4.16 MB

wxWidgets library for connecting to major relational database

Home Page: http://hosannahighertech.co.tz/blog/mweledi

CMake 2.68% C++ 96.29% C 1.02%

wxdatabase's Introduction

About the Library

wxDatabase is built on the excellent work of Joseph Blough called DatabaseLayer. You can read its story on history file.

The wxDatabase classes provide a database independent interface similar to JDBC (but only VERY basic functionality). So far, the only database backends supported are SQLite3, MySQL, PostGreSQL, and TDS. Other Backends may be supported but they are not tested. We welcome you to help us testing them.

EXAMPLE: TBD

Although the C++ interface can be common between database, it should be noted that the SQL understood by the different database backends may vary.

The main interfaces of the component are:

  • wxDatabase
  • wxPreparedStatement
  • wxDatabaseResultSet

Prerequites: wxDatabase is a library that add databae support to wxWidgets. So you will need wxWidgets build. wxDatabases works with any wx29 series but you will save yourself a lot of pain by using 3.x instead as we test against that version.

BUILDING To build wxDatabase, you need to have the database ou want to connect ready with headers and library. I will explain using MySQL but the process is the same with any other database.

MYSQL

  1. Download MySQL Connector C and Install it. In Linux you just need to install development library of MySQL
  2. Open your Console (CMD for windows for Windows) and cd to build sub-folder in wxDatabase root directory
  3. Run CMake command to generate your flavour (e.g. cmake Verbose=1 -G "MinGW Makefiles" ../)
  4. Run make program (for MinGW files use mingw32-make)
  5. Enjoy your libraries in build folder)

wxdatabase's People

Contributors

iwbnwif avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.