Database

So I'm trying to make a sort of Lore Book and I've been trying to get it so there is 3 tabs, Events, People, and Places.

However I find myself in need to figure out how exactly do I make a database? Like in other scripts, you use things like enemyID, actorID, and so on...

But I need to establish myself a sort of loreID database. 

I found this: http://www.taffydb.com/

And I believe this will allow me to create an array database, but outside importing it I'm unsure how to actually use it. 

Is it possible to make a database in one script and just import it? 
All a database is, is a collection of data organized by some rules. That is easy to implement in multiple forms.. example:

var myDatabase = [{ name: 'David', type: 'something', valu: 123456789,},{ name: 'Other', type: 'something', valu: 123456789,},]^ a database.
All a database is, is a collection of data organized by some rules. That is easy to implement in multiple forms.. example:

var myDatabase = [{ name: 'David', type: 'something', valu: 123456789,},{ name: 'Other', type: 'something', valu: 123456789,},]^ a database.
Okay. So I should have 3 databases, 1 for each category...

Game_System.prototype.addToLoreBook = function(eventsD😎 { if (!this._loreBookFlags) { this.clearLoreBook(); } this._LoreBookFlags[loreID] = true; };Then replace eventsDB with the other databases, such as personsDB and placesDB.

Though I imagine I will need to change the script a bit more than that so it doesn't just suddenly add everything from each database that has an ID of 1 for example.

I'm trying to make something like this:

http://i.imgur.com/NTWsHQ8.png

That I can do a simple script call when to add a new entry, all unknown entries will be ?????.

Also trying to make it simple, so that I don't need to do anything more than simply add to the database script to add more into it.

Original thread: https://forums.rpgmakerweb.com/threads/database.49038/