Skip to content

AppWerft/TiBaqend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titanium Adapter for Baqend

Build applications with imperceptible load times.

Setup Titanium project

First you have to install the module into your system. You can manually download from dist folder. Alternatively you can install the Ti.Baqend SDK with gittio. Just type gittio install tibaqend --global

To use the Baqend SDK in your Titanium project, just include the module in your ti.app.xml

 <module>tibaqend</module>

Starting Baqend

First you have to download and install baqend on your machine. There are builds for linux, osx and windows. Alternatively you can you register on http://baqend.com . This will work in beginning of 2016.

The following video shows, how you install baqend and first steps:

IMAGE ALT TEXT

Initialize

Before you can actually use the Baqend SDK, you must link the Baqend SDK to your Baqend Account. Just call

DB.connect(Ti.App.Properties.getString(YOURENDPOINT));

after including the Baqend SDK.

The Baqend SDK connects to your Baqend and initialize the SDK. If the connection was successfully established the ready callback will be called and the DB can be used to load, query and save objects.

var DB = require(ti.baqend);

// connects to your Baqend Account
DB.connect(Ti.App.Properties.getString(YOURENDPOINRT));

// waits while the SDK connects to your Baqend
DB.ready(function() {
    // work with your Baqend
    DB.User.find()
        ...
});

More you can find in Tutorial

License

This Baqend SDK is published under the very permissive MIT license

About

Build applications with imperceptible load times.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published