By Andy Dent
Store and retrieve key-value established info quick on iOS and OS X utilizing LevelDB
- Understand how a looked after key-value shop like LevelDB can help any app.
- Learn to exploit LevelDB from basic C++ code on iOS and OS/X
- Use LevelDB as a aid for any OS/X, iPhone, or iPad app via a sequence of functional examples
Mobile and standalone laptop apps usually have to shop and quickly retrieve facts. LevelDB scales from a couple of easy values as much as trillions of files and is versatile sufficient to shop any form of data.
Getting begun with LevelDB progresses during the subtle how one can use databases. It starts off by means of explaining how you can set up and construct LevelDB from the fundamentals, and strikes directly to clarify the various Objective-C layers for LevelDB. it may be used as an creation to database-backed iOS apps, in addition to offers rationalization to key-value shops and is helping you know the way they relate to SQL.
LevelDB is a versatile info resolution that makes use of key-value shops to permit for the improvement of hugely complicated, effective facts garage structures. From the fundamentals of information garage and retrieval to advanced instances related to info garage for apps, this publication covers quite a lot of LevelDB topics.
Even fairly basic apps could have the necessity to seek their information utilizing varied phrases. Getting all started with LevelDB indicates tips to layout keys to retrieve and shop information successfully. you'll learn the way its “levelled” nature can provide fast writes and the way to song its settings and layout for functionality. additionally, you will see a couple of strategies for debugging and tuning.
Getting begun with LevelDB will depart you as an comprehensive LevelDB programmer, convinced you could construct a posh database-backed app with excessive functionality on iOS or OS/X.
What you are going to examine from this book
- Install LevelDB and software in C++ or Objective-C to construct OS/X, iPhone, and iPad apps
- Extend uncomplicated taken care of key-value shops to aid graph and relational info kinds
- Understand iOS interface construction for an app that makes use of databases
- Learn the GUI styles wanted for a database-backed app
- Explore debugging positive factors by means of including an embedded net server in your iOS app
- Compare SQL to LevelDB together with SQL-like relational schemas and examine the implementation responsibilities to take care of database integrity
The ebook is a concise advisor for utilizing LevelDB. It explains database options and using C++, starting from the fundamentals all of the technique to excessive point themes in a simple to keep on with, step by step layout.
Who this e-book is written for
The ebook is intended for builders who wish an embedded database for his or her functions. skilled programmers can decide up at the refined facts mapping styles and tuning tips.
Getting all started with LevelDB calls for a minimum heritage in programming in C++ or Objective-C for OS/X or iOS and familiarity with XCode. accordingly it teaches adequate C++ to exploit LevelDB with out presuming any C++ wisdom, so is appropriate for amateur Objective-C programmers.