For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Acquiring the MobileFirst web SDK
Get a copy of the IBM MobileFirstâ„¢ Foundation web SDK for development of MobileFirst web applications.
Procedure
We can get the MobileFirst web SDK by using either of the following methods:
- Download the SDK from the Node Package Manager (npm) public software repository. The ibm-mfp-web-sdk npm package page displays the README.md file of the SDK package.
Note: To download npm packages, you must first install the Node.js JavaScript runtime. For information about installing Node.js, see the Node js web site. From the command line, run the following command to download the SDK:
npm install ibm-mfp-web-sdkThe command creates, in the current directory, a node_modules directory that contains the ibm-mfp-web-sdk SDK directory. Consider running the command from the root directory of your web application to avoid manually copying the SDK directory when you add the SDK files to the application.
Download the SDK from the Download Center of the IBM MobileFirst Platform Operations Console. This method does not require an internet connection. The method is available when the console is run on the MobileFirst Development Server from the IBM MobileFirst Platform Foundation Developer Kit. For detailed instructions, see Acquiring the MobileFirst SDK from the MobileFirst Operations Console. After you extract the downloaded archive file, you have a copy of the ibm-mfp-web-sdk SDK directory.
Results
You now have an SDK directory (ibm-mfp-web-sdk) with the required SDK files for developing a client MobileFirst web application.
What to do next
Add the required SDK files to an existing or new web application to add IBM MobileFirst Foundation capabilities and features, such as security, to the application. For an overview of the SDK modules and instructions for adding the modules to our application, see Add the MobileFirst SDK to web applications.
We can update your version of the MobileFirst web SDK, at any time, by running the following command from the root directory of your web application: npm update ibm-mfp-web-sdk. Remember that using npm requires Node js.
Parent topic: Develop web applications