What is the easiest way to get started with IBM Bluemix? - ibm-cloud

I'm a beginning programmer that is interested in IBM Bluemix. What is the easiest way to get started with IBM Bluemix?

It really depends on what is your programming experience and your personal preference. For example if you want to begin programming with the classic Object-Oriented paradigm you should try Liberty runtime to familiarize with Java. Instead if you like the scripting languages maybe you could give a try to Python, Ruby or Go runtimes. All of them provide a sample application that you can extend as you want, and have very detailed documentation. Finally you should take a look at IBM Containers, even if probably this is not a very simple topic for a beginner. They are very interesting and powerful, and they make you able to do potentially anything with the platform.

If you are interested in learning more about Bluemix Mobile Services a good place to start would be here:
Creating Mobile Applications Using Bluemix
We cover getting started with multiple environments:
iOS
Android
As well as an introduction to our provided services:
Mobile Client Access
Push Notifications
Cloudant
I would recommend creating a HelloWorld application for the desired environment and then building on from there:
iOS-HelloWorld
Android-HelloWorld

You can get started by viewing application architectures built on IBM Bluemix. The IBM Bluemix Architecture Center provides diagrams, walk throughs and whitepapers on how to build web applications, hybrid data storage, CRM business intelligence, and data analtyics with IoT.
The walk through guides show how to manually build an application based on that architecture. A way to learn what services are available and how to connect them to do useful work. Many of the solutions can also be deployed automatically to quickly get a working application that can be used to experiment with.
Once you have seen several sample applications you will have better knowledge of which services you want to learn more about.

Don't know if it's the 'easiest way'...
There is a course on developerWorks 'Getting Started with IBM Bluemix'.
Those videos can be watched on Youtube as well if you don't want to register.

Node-RED is a GUI flow editor built on node.js, which allows users to get started very quickly on Bluemix.
There is a "boilerplate" for the IoT Foundation service which includes a sample Node-RED flow that can be used with an online simulator if you don't have a sensor device.
https://www.ng.bluemix.net/docs/#starters/IoT/iot500.html#iot500
That boilerplate will set up an IoT service, a Node-RED app and a Cloudant database. Once you deploy you can test with the online sensor simulator and you can also customize the flow your own devices.

There are so many applications, database and services there, I think you can try to create the services and play around, to see what kind of application you like and start the development works for you own.

Related

Xamarin Mobile Device to SQLite stored on AWS Ec2

As the title goes, I need to connect a Xamarin built application to a SQLITE database stored inside a Amazon EC2 that is hosting a web app.
Now I agree not the most robust of set ups but i'm aware it can be done using RESTful API to build a web service and ideally host on Tomcat. But i can't find out how. Totally new to APIs.
That's all I need really. I've been down most avenues of Google and Xamarin support docs. But I really need someone to point me in the right direction as im seeing alot of broken links for Xamarin docs that revert me to Microsofts site. Or help find an example, anything would be heavily appreciated. I can only offer that if you answer my question you will make someones day and I will post a cute picture of a hamster.
Thanks!

How can I find out if IBM will be releasing new versions of the iOS SDK for Swift?

I am very interested in using BlueMix for mobile development. Really interested.
I've created a couple of stub app's using iOS9+ and Swift. And I can see that there is real potential.
My question is. When I look at the educational materials and toolkits available I get the impression that IBM are no longer investing in this area. How can I be sure that BlueMix and Mobile will receive investment? How can I be sure that BlueMix will support future versions of iOS?
I know some might think this is too general a question. The problem I have is that IBM is such a huge company I have no idea who I can approach for an answer directly.
As you mention this is certainly not a technical question. That said, if you would like reassurance that the mobile SDKs (including Swift) are a major focus feel free to monitor the Bluemix Mobile Services public-facing Github where you will see daily activity as work is done to bring all the BMS SDKs up to the latest and greatest releases for the iOS, Android, and Hybrid platforms.

Cross-platform mobile app & RESTful web service & scoring algorithms - architecture & technologies

I am planning to create a cross-platform mobile app that has native-like versions for most mobile platforms, maybe Windows Phone, Android, iOS. It's supposed to store data in DB on server, and the mobile app is mostly for visualizing that (numerical) data.
Basic usage scenario
User opens the app
App data is refreshed via internet connection
User inputs new data
New data is sent to server, handled and DB updated
User's app data is updated according to DB data (ANIMATION!)
User updates settings on his app that alters it's behaviour.
I'm a noob when it comes to designing and programming mobile apps + web services alone, so I'm hoping you could help me with the following questions. Technologies I'm most familiar with: Java EE, Python, HTML/CSS/JS, MySQL, Graphics. Maybe I should go for PhoneGap? Thanks a lot!
1) What cross-platform mobile technology you would recommend?
2) What kind of solution would be most suitable for server/app server? (Estimated code lines < 5000)
3) What's a good place to start learning scoring algorithms?
Please respond if you have answers to any of the questions asked.
EDIT: found a similar question: Cross-Platform Mobile Application Solution
#thevangelist: It's a very good question you have raised, all mobile developers face the same problem when we start writing an app. Today there are multiple Open Source Frameworks available in market which are trying to solve the same problem but in different manner.
Based on my research and experience, I would like to recommend below technologies which we can consider while building an mobile apps.
View: View is an important part of any mobile apps. When we start building UI/UX we also have consider it's platform design principles. Looking these points I would like to recommend React Native for the same.
React Native: It is a Facebook, and Instagram developed JavaScript library used in creating native mobile applications. It allows us to write iOS and Android applications using JSX, a known HTML look-a-like code, and JavaScript. It is based on “Learn once, write anywhere” methodology.
Pros
Renders native views with a native behavior and interaction … you’ll end up with a real native application
Has a paradigm of “Learn once, write anywhere” where developers only need React and JavaScript to create better application for Andoroid, iOS.
Uses native architecture and concept
It does not require a WebView
CSS Flexbox is used for layout design
Cons
Code abstraction leads to bugs and memory leaks
Cannot work without the API, which is provided by React Native, technically there’s no fallback like with classic hybrid mobile apps
When creating proper native applications, a developer will have more power and control regarding performance tuning
React Native is still a new framework so we can’t predict possible problems and downsides
These cons are somewhat negligible, especially if we consider that React Native is empowering more and more native applications with each passing day.
Data in Transit: If your app sync data from web services, then there are multiple frameworks available in the market to make our job easier. Please find below some of the most popular JavaScript RESTful Frameworks:
ACTIONHERO, StrongLoop
Data at Rest: You would also be needing offline storage for the sync data. Since we do not have direct support for native SQLite in JavaScript, we need to use some of the React Native SQLite Plugins. Please find below plugins which are available in the market:
almost, andpor, jbrodriguez, ramsundark5, remobile
For Data at Transit/Data at Rest, I would like to recommend Siminov Framework which is available on all the major platforms (Android, iOS, Windows). It also supports hybrid technologies such as React Native, Cordova, Xamarin.
Pros
Available on all the major platforms (Android, iOS and Windows)
Easy to configure, it provides standard xml based structure using we can easily configure our app database
It allows developers to bind ORM with remote RESTFul web services too
Also have support for SQLCipher on all the platforms
Cons
Lack of community: Recently they have launched their products on all the major platforms, not many people are using it.
Since the configuration is based on XML structure which looks pretty old to me. But based on their documentation it was done to support all the major platforms
Algorithm: I have found this link nurlybayevaAMS9 related to algorithm, hope this may help you.
Try avoid writing cross platform application. It is doable using HTML5+jQuery. But you can never get the same look and feel as native app. secondly windows, ios and android have their own look and feel and will come up with their own elements. You can never cater to all three having same code base. Better is to code using native sdks.
1) Never used PhoneGap, although aware of it, but don't forget to consider a simple HTML5 application. If possible, this would save you lots of work and maximize compatibility.
2) You can develop great RESTful webservices with both Java EE (see JAX-RS/Spring) and Python (see django). The choice is really more a matter of personal taste.

Iphone & Web App synch

I am trying to build an Iphone App client for our CRM solution so our sales people would be able to access the information available in our CRM through an Iphone App.
I am trying to find out what is the recommended approach to architect the application when it comes to the database. I am not sure where should the data reside, should I save a subset of the data on the iPhone, or should I just rely on webservices and pull the information I need from the database whenever I need it. Also, is there any best practices or frameworks to build such applications on the Iphone.
The "best" solution from a data synchronization standpoint is work directly with the web based database, the "best" solution from a user experience standpoint is probably not that, due to latency passing data back and forth from the server.
If you do not have experience doing iPhone apps & you have no desire to learn Objective-C & would like to leverage web development skills I recommend a combination of phonegap + jqTouch.
Hope I helped.
Is your CRM based on Rails? You might find ObjectiveReference handy. It's an Objective-C interface into ActiveResources on a RoR site:
http://iphoneonrails.com

Guide for developing J2ME applications

I am new to J2ME and what I have now is Netbeans 6.7.1 IDE. Is there any basic guide for developing Mobile applications in Netbeans 6.7.1? Please provide me the links.
Netbeans.org itself has great tutorials for mobile development in Netbeans. And that is what you need:
http://netbeans.org/kb/trails/mobility.html
For examples this is a very good Quick Start for Netbeans J2ME development:
http://netbeans.org/kb/docs/javame/quickstart.html
I think this book best source for J2ME with Netbeans:
Kicking Butt with MIDP and MSA: Creating Great Mobile Applications (The Java Series)
Book Description:
The release of MIDP 2.0 and the introduction of the new Mobile Service Architecture (MSA) are generating momentum for the Java ME platform. As more and more Java-enabled mobile devices become available and more service providers become open to third-party development, the demand for customized applications will grow dramatically. Now, there's a practical, realistic guide to building MIDP 2.0/MSA applications that are robust, responsive, maintainable, and fun.
Long-time Java ME author Jonathan Knudsen offers real solutions for the complex challenges of coding efficiency, application design, and usability in constrained mobile environments. Experienced Java developers will master MIDP 2.0 and MSA programming through clear, carefully designed examples. Downloadable code is available for both NetBeans Mobility Pack and the Sun Java Wireless Toolkit. Kicking Butt with MIDP and MSA's wide-ranging content covers:
Pushing MIDP's limits, and exploiting MSA's full power
Using MIDlets, Forms, commands, core classes, and invocation
Building effective mobile user interfaces
Designing graphics with the Canvas, the Game API, SVG, and 3D
Providing storage and resources: record stores, FileConnection, and PDA PIM
Internationalizing mobile applications
Networking via WMA, Bluetooth, Web services, and SIP
Parsing XML documents
Implementing audio and advanced multimedia
Securing mobile applications with SATSA and the Payment API
Building advanced location-based applications
Designing applications for multiple devices
Creating end-to-end mobile application architectures
Tell what platform you are developing on so that the tools available for you can be given.
Also, you most definitely want an emulator so that can test your applications directly on your computer (Saves time).
Honestly, can't give much more advice than to know java well and to use google + stackoverflow. Those are what I did and ended up developing a commercial app in j2me just fine.