Hi all,
I've started developing a small data-management system (or database system? well, not really...) and programming "wrappers" for different languages.
So, after a lot of testing, crashes, ... I now want to show you the first include for lite-c.
(Thanks to Slin at this point)
But first, what is this all about?The project is called "InLite" which means "Integrated Lightweight" Database.
It gives you the possibillity to create a database file, run simple queries, create tables, insert+delete values and - of course, get the data.
The advantage of InLite is that you have (besides the dll itselfs) no dependencies. And that you can store all the data in one file!
How InLite works?First, you have to initalize the dll and open a new or existing database. After that, you can run SQL-Like statements, as for example:
CREATE TABLE scores (name,points,time)
INSERT INTO scores (name,time) VALUES ('Me',140)
...
If you had already worked with databases, you will see that the syntax is quite similar to "real" databases.
Get the InLite DLL hereGet the InLite lite-c include hereThe first Zip contains the dll which you have to add to your project folder, and the second one a header-file for lite-c and a small example code.
There is also a text file which explains something about the sql syntax, but at the moment german only, sorry.
What should you know while working with InLite?
-InLite is free to use, but without any gurantee (Credits are welcome of course)
-InLite stores the database in RAM, so very large databases may not possible
-InLite does - by default - auto save the database
-InLite does not recognize data types!
-You may not store binary data, it wouldn't work
SQL-Limitations:
-InLite can not sort by more than one field
-InLite isn't able to perform more than one LEFT JOIN
-In Where-Queries it is not possible to set hooks
So what you may could InLite use for?
-Score-Lists, it automatically can sort and limit your table
-Profile-Manager, just create a table and insert account-names and their passwords, for example
-...
Currently, the dll doesn't offer the ability to open multiple databases or fetch different queries at the same time, that may will be implemented in future.
Comments as well as Critics are welcome
Regards
TSGames