frang75 / nappgui_src

SDK for building cross-platform desktop apps in ANSI-C
https://www.nappgui.com
MIT License
506 stars 50 forks source link

Any Database Support Like SQLite? #29

Open MastersoftDev opened 1 year ago

MastersoftDev commented 1 year ago

Greetings! I'm kindly asking that does NAPPGUI has any support for common databases like SQLite, MySQL, MSSQL Server and others? If so, how to connect to them and do CRUD?

Thanks

frang75 commented 1 year ago

Hi @MastersoftDev Unfortunately, NAppGUI does not include database connectors. We have to do the database/GUI mapping manually.

MastersoftDev commented 1 year ago

Apart from the MVC demonstrated in the examples, how can it be done and accomplish CRUD? An example would be enough.

frang75 commented 1 year ago

A good starting point is Data Binding. https://nappgui.com/en/gui/gbind.html

This will keep the data structures in sync with the interface. Later you can update the database from the structures in C.