npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ibmbluemix

v1.0.1

Published

Mobile Cloud Services JavaScript SDK for IBM Bluemix

Downloads

45

Readme

Mobile Cloud Services Core JavaScript SDK for IBM Bluemix

ATTENTION: This service is currently deprecated on Bluemix and will be completely removed shortly. Please use the 2nd generation of Bluemix MobileFirst Services.

This package contains the required native components to interact with the IBM Mobile Cloud Services for Bluemix. You can use the JavaScript SDK to build Web or Hybrid applications. You can also use this SDK in server-side Node.js JavaScript modules. The SDK manages all the communication and security integration between the client and the Mobile Cloud Services in Bluemix.

When you use Bluemix to create a Mobile Cloud application, BlueMix provisions multiple services under a single application context. Your mobile application is given access to the following mobile services: Mobile Application Security, Push, and Mobile Data.

Version: v1.0.0-20160421-1718

##Install the SDK You can install the SDK by downloading a zip file, or by installing the desired components with Bower, or NPM. Using the Bower or NPM tools can shorten the time required to start a new project and make managing library version requirements as well as the dependencies easier. If you are using one of the samples, instructions for using the package manager is included with the documentation.

Get the SDK for Node.js (NPM)

NPM is included in current Node.js distributions. To install Node.js, go to Download Node.js.

Run the following command to install the ibmbluemix package:

npm install ibmbluemix

Get the SDK for Web or Hybrid (Bower)

To install Bower, see Bower.io.

Run the following command to install the ibmbluemix package:

bower install https://hub.jazz.net/git/bluemixmobilesdk/ibmbluemix-javascript/.git

###Download zip file

To download a zip of the entire SDK, see Building Mobile Cloud applications.

###SDK modules

The complete SDK consists of a core, plus a collection of modules that correspond to function that is included in the Mobile Cloud Services.

The downloaded zip file contains all of these components. However, each piece of the JavaScript SDK is also available as a separate module that you can add to your project individually so that you can choose the modules that are required for your application.

You can add any of the following components to your project:

  • ibmbluemix : SDK foundation, and controls connection and communication with back end services
  • ibmpush - Service SDK for Push
  • ibmdata - Service SDK for Mobile Data
  • ibmfilesync - Service SDK for cloud file storage with Mobile Data
  • ibmcloudcode - Service SDK for cloud code invocation
  • ibmlocation - Service SDK for the beta mobile location services
  • docs/ - Documentation for the SDK

##Get started

Services are associated with a Mobile Cloud application. Connectivity and interaction with these services depends on the application ID, application secret, and application route that is associated with a Mobile Cloud Application.

The IBMBluemix module is the entry point for interacting with the Mobile Cloud Services SDKs. You must invoke the initialize method before any other API calls. IBMBluemix provides information about the current SDK level and access to service SDKs.

An example of initializing the Mobile Cloud Services SDK follows:

var config = {
  applicationId:"<ApplicationID>",
  applicationRoute:"<ApplicationRoute>",
  applicationSecret:"<ApplicationSecret>"
};
IBMBluemix.initialize(config);

##Learn more To learn more about using the SDK, please consult the following resources:

Licensed Materials - Property of IBM (C) Copyright IBM Corp. 2013, 2015. All Rights Reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Terms of Use | Notices