Code Monkey home page Code Monkey logo

magnatronus.peppa-sync-books's Introduction

Peppa-Sync-Books

Aug 1st 2013

This is an example Alloy application with a custom sync adapter to the Peppa REST API for Drupal 7 The example os a database of books that are stored on a Drupal server and accessed via mobile.

The app is a demo where a user has to log in (the user model)]and then can create and maintain a list of books (PeppaBook model)

To run this app you will need a valid API_KEY so that the server will grant you access and a username and password as the demo site does not have user create turned on. The API_KEY will need to be added to any model definitions that will use the sync adapter (just take a look at the 2 models already defined)

If you want to connect it to the Peppa demo server then please send a request using the Contact Me page at www.spiralarm.co.uk

Aug 9th Update

Update added to the user model in the sync adapter . Done so user password can be updated from model. Also changed so that the required session is not stored as a Ti App Property. The SESSION_ID is now internal to the sync adapter and set automatically when a user logs in.


Please note : this is not meant to be production quality code, it is an example of accessing a Drupal site using Titanium, Alloy and a custom sync adapter

magnatronus.peppa-sync-books's People

Contributors

magnatronus avatar

Watchers

James Cloos avatar Brenton House avatar Brandon Young avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.