Posts tagged "SDK"

Bringing the BaaS

zhenyag

From our humble beginnings at a Startup Weekend Philly to being a Global Sponsor of all Startup Weekend events, the past nine months have been a whirlwind of growth and activity for us.

Embraced by developers — who are now running more than 1,500 apps on our platform — their feedback was instrumental in ironing out the kinks of developing apps on our backend. Months of strengthening the core have lead us to today.

Introducing CloudMine 1.0: a backend stack capable of supporting companies building something new, digital agencies working on hundreds of apps for their clients, and large enterprises vying to expose their legacy data to mobile.

How backend-as-a-service works

How Backend as a Service worksFast, flexible and simple to use. We take care of the entire mess of infrastructure and web service software development that stands between your idea and a finished app. Avoid building and scaling custom server-side software, maintaining a codebase that your customers will never interact with, and putting out server fires – just talk to our flexible API using HTTP or one of our numerous mobile and web SDKs. We’ll fight off the hassles and deal with the headaches of making sure your app is running whenever, wherever.

Build your way, just faster

All it takes to get started developing on CloudMine is dropping our SDK into your codebase. Everything else is already taken care of, leaving you free to flex your development and UX muscles. Want to develop for mobile? Download our iOS or Android SDK, or do it yourself through our REST API. Want to build something for the web? Use the JavaScript SDK and upload your HTML, JavaScript, CSS, and image assets right to our servers.

And best of all, there’s no data models or schema locking to worry about because  database structures should not influence the design of your apps. Code your model objects client-side the way you want, give them to the CloudMine SDK of your choosing, and we take care of the rest. You can even host custom code on our servers to be executed on your data whenever you want, which is great for doing that heavy processing or third-party API integration that would typically require your own server.

Whichever platform you develop for, the same robust feature set will be available across the board. So you know that crazy location-based, social picture sharing chat room you wanted to build? Or all of that data you have been housing while dreaming of a way to get it mobile? We make all that possible.

Easier to get started

Just like on a date, first impressions are key. Taking that to heart, our entire site went through a major clean-up so you won’t feel bad for referring friends to check it all out.

The polish didn’t stop at the surface though. SteveArtur, and Nic tore up the CloudMine Dashboard. The new version makes it much easier to view and manage all of your active apps, data, and users. It also provides more contextually relevant assistance when getting started so you can get to the good stuff faster.

There’s lots to be discovered, so sign in and play around. We’d love to hear your feedback on the improvements!

Happy Mining!

User Account Management For Mobile Apps

derekmansen

We’re pleased to announce a dedicated set of tools for managing user accounts on all apps developed using our platform.  All examples in this tutorial use the CloudMine iOS SDK, however, all of the operations are also available through our REST API.

Creating Accounts

The CMUser class contains all the methods you need to manage user accounts. To create a new account, initialize a new CMUser object and call the createAccountWithCallback method.

(see also: https://cloudmine.me/developer_zone#ref/account_create)

Login

Once the account is created, the user can be authenticated by calling the loginWithCallback method.

(see also: https://cloudmine.me/developer_zone#ref/account_login)

There is a shortcut for creating an account and logging in with one operation called  createAccountAndLoginWithCallback:

Once the user is logged in, you will need to configure the CMStore for making authenticated requests.

From now on, all requests for user-level data will be authenticated with the user’s credentials.

Logout

When you want to terminate a user’s session, call the logoutWithCallback method.

(see also: https://cloudmine.me/developer_zone#ref/account_logout)

Password Change

Users now have the ability to change their password. For security purposes, the user must provide their old password along with their new password.

(see also: https://cloudmine.me/developer_zone#ref/password_change)

Forgotten Password Reset

If a user forgets their password, they can request that an email be sent with instructions on how to reset it.

(see also: https://cloudmine.me/developer_zone#ref/password_reset)

How to Store and Retrieve User Data

There are many different methods for retrieving data from the CMStore. Each method has two versions: one to fetch app-level data, and one for user-level data. To store or retrieve user objects, call the “user” version of any method in CMStore: as long as the CMStore has been initialized with a logged-in user, requests will transparently be authenticated with that user.

For example, to retrieve all user objects, call the allUsersObjectsWithOptions method.

For more information, visit our iOS Library Documentation.

twitter.com/cloudmine



About Us