Hey Folks,
I am releasing a beta version of the Data Storage Lib, a local NoSQL data storage library. It is an add-on for my DB Lib and uses SQLite for the storage medium.
You can learn more about it at http://andregarzia.com/page/dblib
It can store any kind of information as long as it is inside an array variable. It doesn't require a schema or a defined set of fields. You can mix and match any kind of array in the same storage file. Let me give you some examples, opening a new storage:
dsOpen "myStorage", "com.andregarzia.example"
Saving an item:
put "32" into tA["age"]
put "andre" into tA["first_name"]
put "garzia" into tA["last_name"]
dsSave "myStorage", tA
if "dsErr" is not in the result then
put the result into tKeyForLastSavedItem
end if
Retrieving an item back:
put dsGet("myStorage", tKeyForLastSavedItem) into tA
This all works without the need to touch a SQL database. You can learn more by browsing the current API reference for the Data Storage Lib at:
http://andregarzia.com/aux/datastorageapi/
You can also check the little guide at
http://andregarzia.com/aux/dblibguide/
http://andregarzia.com/files/DBLibGuide.pdf
This library is BETA but is passing my little tests cases.
This is a true NoSQL solution for LiveCode and writes your data to safe folders in any system. You can save an item, save a bunch of items, retrieve keys, items, and do normal crud operations.
The Data Storage Lib is bundled with DB Lib, so all current owners of DB Lib will have it.
Hope to hear feedback and opinions!
Cheers
[ANN] New NoSQL library available
Deploying to Linux? Get penguinated here.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
[ANN] New NoSQL library available
Post by SoapDog » Tue Aug 28, 2012 6:20 pm
http://www.andregarzia.com
Jump to
- LiveCode Community
- ↳ Announcements
- ↳ Developer Services Marketplace
- ↳ User Groups and Events
- ↳ SoCal LiveCode Group
- ↳ Greater Toronto Area LiveCode Users Group
- ↳ Off-Topic
- ↳ Made With LiveCode
- Getting Started With LiveCode
- ↳ Getting Started with LiveCode - Complete Beginners
- ↳ Getting Started with LiveCode - Experienced Developers
- ↳ Converting to LiveCode
- ↳ App Building Course
- ↳ Simple Messages
- ↳ Calculator
- ↳ Notes
- ↳ Clock
- ↳ Web Browser
- ↳ Weather
- ↳ Compass
- ↳ Photos
- Developing With LiveCode
- ↳ Talking LiveCode
- ↳ Databases
- ↳ Games
- ↳ Internet
- ↳ Multimedia
- ↳ Software Engineering
- ↳ Version Control
- ↳ Feature Proposals
- ↳ Bug Triage
- ↳ Legacy Project: MetaCard
- Extending LiveCode
- ↳ Using Plugins for Customizing the LiveCode IDE
- ↳ Using Externals
- ↳ Making IDE Plugins
- ↳ Building Externals
- ↳ LiveCode Builder
- Platform Specific
- ↳ Windows
- ↳ Mac OS
- ↳ Linux
- ↳ iOS Deployment
- ↳ Android Deployment
- ↳ CGIs and the Server
- ↳ HTML5
- ↳ Raspberry Pi
- Academic Endeavors
- ↳ Teaching with LiveCode
- ↳ Research and Post Secondary
- ↳ LiveCode University
- ↳ Educational Outreach
- Livecode Open Source Archived Forum- closed to posting
- ↳ Engine Contributors
- ↳ IDE Contributors
- ↳ Documentation and Tutorials
- ↳ Brainstorms
- ↳ Community Projects
- ↳ rIDE
- Third Party Extension Support
- ↳ Marketing Your Products
- ↳ Animation Engine
- ↳ chartsEngine
- ↳ MobGUI
- ↳ lcTaskList
- ↳ SQL Yoga
- ↳ MergEXT
- ↳ Data Grid Helper
- ↳ idea2app and Coding School
- ↳ Admin Archive
- LiveCode Hosting
- Forum Archives
- ↳ Archived: Third Party Extension Support
- ↳ rTree
- ↳ rGrid
- ↳ Data Tree
- ↳ Archived: LiveCode Open Source
- ↳ LiveCode Global Jam
- ↳ Testing Support
- ↳ Archived: Academic Endeavors
- ↳ September Academy
- ↳ Summer School 2013
- ↳ Archived: Project Specific
- ↳ Business and Kiosks
- ↳ Digital Art and Portfolios