PDA

View Full Version : Little Database (LDB) Action Plugin


RizlaUK
01-16-2009, 02:50 PM
Little Database (LDB) Action Plugin for managing little local Database ( Little DataBase = LDB )


Table of Contents

LDB.Open
LDB.Create
LDB.InsertRecord
LDB.Save
LDB.Write
LDB.CountRecords
LDB.Read
LDB.SetPointer
LDB.GetPointer
LDB.DeleteRecord
LDB.CountFields
LDB.GetFieldName
LDB.NextRecord
LDB.PrevRecord
LDB.Close
LDB.WriteCell
LDB.ReadCell

install to your AMS dir + "Plugins\Actions"

ShadowUK
01-16-2009, 03:14 PM
Very. Very. Nice.

I'll be sure to add it to my mirror service i'm making tonight.

DaSoulRed
01-16-2009, 03:26 PM
I will Use this Wizely... or maybe not

Thanks for Plugins like this :)

Imagine Programming
01-16-2009, 03:27 PM
Little Database (LDB) Action Plugin for managing little local Database ( Little DataBase = LDB )



install to your AMS dir + "Plugins\Actions"

Nice mate, thanks! where did you write it in? (i can guess)

ShadowUK
01-16-2009, 04:13 PM
Version 1.1, Encryption maybe?

RizlaUK
01-16-2009, 04:53 PM
Nice mate, thanks! where did you write it in? (i can guess)

PB/LUA some string, some sticky back plastic and some PVA glue ;)

Thanks for Plugins like this

np :yes

Version 1.1, Encryption maybe?

no point, i tought about it, but AMS already has crypto functions that can be used

if you like this one, you will love the next one :yes

Imagine Programming
01-16-2009, 05:40 PM
PB/LUA some string, some sticky back plastic and some PVA glue ;)


Exactly what i thought lol :P nice work:) I'm a bit stuck here cus i ran out of duct tape:P

ShadowUK
01-16-2009, 06:13 PM
if you like this one, you will love the next one :yes

Looking forward to it already! Really appreciate your coding.

TopicTJ
01-17-2009, 03:43 AM
That's great .... really useful.

Thanks a lot for sharing this!


TTJ

Centauri Soldier
01-17-2009, 08:24 PM
Nice job Riz, thanks for sharing with all of us.

Waldo
01-27-2009, 11:38 AM
Rizlauk,
Thanks for this plugin...I am a nonprogrammer...a novice hobbier, if you will. When you say "little" about how many records should be the max that you consider using the plugin for? Is it 100's or 1000's? Thank you.
Waldo

RizlaUK
01-27-2009, 04:03 PM
well, it will handle 10,000's of records in reality but i would not recomend it for a database of that size, this plugin uses a internal LinkedList to store the data, the linkedlist only limits is avalible system memory so your database can store as much information as your system memory can handle

Linked Lists are structures for storing data which are dynamically allocated depending of your need. It is a list of elements (the data you want to store) and each element is fully independant of the others. You can add as many elements you want (or as many as will fit into the memory of your computer),

Waldo
01-27-2009, 08:03 PM
well, it will handle 10,000's of records in reality but i would not recomend it for a database of that size, this plugin uses a internal LinkedList to store the data, the linkedlist only limits is avalible system memory so your database can store as much information as your system memory can handle

Rizlauk,
Thanks for the advice...appreciated. Take care
Waldo

RizlaUK
01-28-2009, 07:06 AM
no problem waldo

rexzooly
01-28-2009, 08:25 AM
Ok i was reading that from what i get its only saving the data when its live or running no static parts? or am i getting this bloody wrong lol

Am i wrong?:huh


Rex

RizlaUK
01-28-2009, 01:21 PM
not sure what you mean Rex, if you mean its not saving then make sure you make heavy use of "LDB.Save" as all database information is held in memory and not saved to file untill told to

RizlaUK
02-04-2009, 04:32 AM
just some bug fixes noticed while useing it, nothing changed