From 19000adcb16e77c69643c9c0c4e2bd55edde2fe0 Mon Sep 17 00:00:00 2001 From: jogoshugh Date: Wed, 31 Oct 2012 02:32:28 -0400 Subject: [PATCH] Getting started and live examples --- Getting_Started_Live_Examples.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Getting_Started_Live_Examples.html diff --git a/Getting_Started_Live_Examples.html b/Getting_Started_Live_Examples.html new file mode 100644 index 0000000..376cc80 --- /dev/null +++ b/Getting_Started_Live_Examples.html @@ -0,0 +1,28 @@ + +

+VersionOne.SDK.JavaScript

+ +

API client for use with JavaScript or CoffeeScript, either from Node.JS on the server or within the web browser.

+ +

+Getting Started With Live Examples

+ +

The following JS Fiddle points to an instance behind the VersionOne firewall. Don't worry. We'll soon make this work against a public test instance and you'll be able to start learning the API right here.

+ +

+This example:

+ +
    +
  1. Imports the two VersionOne classes, V1Meta, and V1Server that are needed to communicate to a VersionOne instance.
  2. +
  3. Configures the server settings
  4. +
  5. Uses the query method to specify a where clause, a select list, and function callbacks for success and error results.
  6. +

The callbacks use jQuery and jQuery UI features to render the output html.

+ +

+Try this:

+ +

Change Username to Uuuusername. This will force an error and should show a big, ugly message insteda of the beautiful jQuery accordion that you get on success. TODO: fix so this actually works...

+ + + +
\ No newline at end of file