Develop With Blog

A blog about building.

153 post(s), index »

Community Forum
Learn how this blog was built
31OCT2020 Update
mark.byers

The latest mydigitalstructure update is now available for general use.

See docs.mydigitalstructure.com/updates for all the details.

Updated Node.js npm module & Example app.
mark.byers

We've just updated the mydigitalstructure npm module and example app code to use the same methodologies as used in the browser js based mydigitalstructure library - see https://learn.mydigitalstructure.cloud.

So now the same code that you create for the browser can be more easily implemented as Node.js code;

ie using:

  • .init() to initialise and log on using settings.json
  • .add() & .invoke() to add & invoke code to the controller layer
  • .set() & .get() to store data locally 
  • .cloud.retrieve(), .cloud.save() etc to store data on mydigitalstructure.cloud

The example app code (with commenting) is @

https://github.com/ibcom/mydigitalstructure-sdk-nodejs

And a getting started page @

http://docs.mydigitalstructure.cloud/gettingstarted_nodejs

 

09NOV2019 Update
mark.byers

The latest mydigitalstructure update is now available for general use.

See docs.mydigitalstructure.com/updates for all the details.

mydigitalstructure/js; new .cloud namespace
mark.byers

We have made an adjustment to the mydigitalstructure/js namespace* so that it now supports a .cloud namespace to help with understanding where the method is being invoked, data stored etc

The .cloud methods are aliasing of existing SDK methods so all existing can still be used with no code change.

So going forward:

1. We have mydigitalstructure. which refers to methods that are being invoked in the client/browser space.
2. And then mydigitalstructure.cloud. for methods being invoked on the cloud.

The mydigitalstructure.cloud methods include:

  • .auth() - authenticate onto mydigitalstructure.cloud
  • .deauth() - deauthenticate off the mydigitalstructure.cloud
  • .save({object: }) - which consolidates mydigitalstructure.create() / .update()
  • .retrieve({object: }) - same as mydigitalstructure.retrieve()
  • .delete({object: }) - same as mydigitalstructure.delete()
  • .invoke({method: }) - runs a method that doesn't relate to a data object, such as such eg sending a password reset
  • .upload() - upload a file to the cloud

eg to save data onto the cloud use mydigitalstructure.cloud.save()

https://learn.mydigitalstructure.cloud/site/1788/mydigitalstructure-3.3.3.js

27JUL2019 Update
mark.byers

The latest mydigitalstructure update is now available for general use.

See docs.mydigitalstructure.com/updates for all the details.

Previous | Next

 
Help!