Saturday, April 29, 2017
I already know what's your thinking... You may say maybe I'm just reinventing the wheel. Why not design my own programming languages and write my own compilers for them? Or even better create my own operating system from scratch? 😄 because there are fricking hundreds if not thousands of available database projects out there in the wild which are ready to use and battle tested.
Whenever you can’t find some information you are looking for a certain applications, or a good software library but lacking some option and features you need, why not create your own? If you have the luxury of time and you believe you can do it, why bother using a third-party software or the work of others.
Alright, aside from the pleasure I get writing codes, fulfilling my enthusiasm for extending the life of DBF file format and staying close to the xBase commands in terms of data manipulation; has given me a great deal of enjoyment particularly in the learning process, these already are greenlight indications that I should keep continuing what I’m doing.
Imagine without any heavy weight database engine or anything to be installed on ones computer but yet you can create a fast, multiuser and easy record manipulation even in billions of records.
C# Using Managed Dbf :
// Create table free instance
var _CUSTOMER = new MDb.Table();
// Open Dbf file in shared mode and read-only
TableShare.Shared, TableAccess.ReadOnly, TableMaxSize.MaxOf16G );
// Set sort order by country + state
Visual FoxPro/xBase Equivalent commands :
USE \\MyServer\Fileman\CUSTOMER.Dbf SHARED NOUPDATE
SET ORDER TO COUNRYSTATE