Posts tagged "development"

App analytics and public Access Control Lists!

localeverywhere

With the summer coming to a close we wanted to share what we’ve been working on over the past month.  

What’s new?

  1. The dashboard now has pretty graphs to show analytics for all of your deployed apps.  Go ahead, be sneaky and dig deep to find out what your users are up to and see when the real action is happening. 
  2. Give your users the ability to share content with anybody who is logged into your app without the need to manually maintain a user list by using public ACLs.  

Check out the docs for in depth details on how to use all of the new goodies.  Until next time, code on!

Forrester: “Backend as a service, the new mobile middleware” – Explained in graphic detail

unleadedthought

Being the designer amongst 7 hardcore developers who specialize in different niche worlds of software has been an interesting experience. Because designers and developers inherently solve problems, I thought it would be beneficial to merge these two areas of thought. Leveraging my understanding of visual storytelling and our developers’ understanding of french bistros – we’ll get to the bistros later – I designed an infographic to help explain backend-as-a-service, which can sometimes be nebulous.  

A little background

I am wrapping up my second month as CloudMine’s UX/UI designer. Previously I was a web analyst in Boston serving clients such as Comcast, Liberty Mutual and the Make-A-Wish Foundation. Most recently, however, I obtained my Masters in Industrial Design with a focus on Human Centered Design

Developers work very differently than how I am accustomed. To start, they speak in a completely different language. Many times it’s like being in a French bistro when I only know a little bit of Spanish, catching a word or phrase here and there. It’s not too soon that I realize they are speaking 19 different languages, and I decide that simply eating a croissant and sipping an espresso are much easier tasks. Secondly, the bulk of their work has to happen at the screen of their computer; printing out thousands of lines of code isn’t really going to help their workflow – not to mention the resources of the Venturef0rth printer.

Wrapping it up

There are clear professional and cultural differences that I have come to realize, but it’s humbling to know that these differences are not siloed to my experience at CloudMine, nor are they particular to the world of design and development. Because it is sometimes difficult to explain exactly what it is we do at CloudMine, and because backend-as-a-service (BaaS) is still a new industry, I’ve designed a visual overview to help convey what BaaS companies do – that is, without going into the oft foreign language of development. 

This infographic should serve as a first pass into a visual explanation of BaaS. This visual is built off the basic storyboard of a smartphone application not dissimilar to Instagram. Providing an overview of the multiple stages involved in developing an application, the graphic highlights the specific areas of development that make up the bulk of the work when coding an app. And in the end, it shows what a backend service provider would take care of for our users (the developer). 

Enjoy! Please leave any comments below, or send us a tweet or an email.

BaaS Infographic

We’re a Top 10 Mobile App Development Tool!

localeverywhere

Dailytekk, the curators of cool and useful tech, picked us as a top ten resource for mobile developers! We’re quite excited to have topped the list as one of the few BaaS players to make the cut. Dailytekk top 10

Built to handle what you’re building

Variety is the spice of life and that’s the kind of ecosystem we’re supporting. 

From the fresh take on Mr. Men and Little Miss with the Sightings social photo sharing app starring numerous Little Miss favorites, to a CME
certified medical education and point-of-care tool, our platform makes sure the gamut of services you offer keep chugging along - at 1 user or 1 Million.

MMLM App icon Medical point-of-care application

We love getting dreams off the ground and liberating big data. Tell us what’s holding your ideas from seeing the light of day - email team@cloudmine.me - and we’ll pave the way for your projects to rise up and shine.

Storing Private User Data with our JavaScript SDK

artursapek

Most apps require storing some sort of user data, whether that’s login credentials or sensitive data. The previous post already gave a high level overview of how to use our built-in user account management, so let’s dive in a step further and see how to secure user data. For this example, we’re going to use a sample app built using our JavaScript SDK.

Keeping Private Data Safe

As an example of how to secure data, let’s take a look at a simple web app. We built this quick todo list app using our JavaScript SDK. The finished product is available for you to play with as well.

The app features two views: a simple login/registration page and the actual list itself. The todo items each have an assigned priority level (an integer between 1 and 3) as well as an optional due date. To keep things simple, this is expressed as an integer in hours from when the task is created.

In this view we can see a few items of varying priority. It looks like we’ve already paid Derek back for sushi, so that’s good, but this post is still unfinished with a looming deadline, so let’s get at it.

Building with our Javascript SDK

CloudMine takes care of the data storage and other essentials, so all you have to do is use our brand new evented JavaScript SDK. We just need a copy of the Javascript SDK and jQuery (or save yourself the download by linking to a hosted version of jQuery), plus some sprites for a colorful UI. To begin, configure a new instance of cloudmine.WebService with our app’s API Key and App ID.

User accounts

Once the SDK is initialized, we can just start making API calls. The new JS SDK supports Restler-style chaining, so we get to write these with clean, semantic syntax. Here’s a login request, which is triggered when the user clicks the Login button in the UI.

We can easily show error messages from the server. Here, a bad email will cause show_error to flash this response:

We’re also using these same fields to offer registration. Just for the sake of the demo, we’re only asking for an email and a password again. Here’s how we might register a new user with CloudMine.

Notice how we are taking advantage of callback chaining. All you really need is the createUser call, but the extra stuff makes for a more user-friendly interface. We can listen for specific successes and errors and react to them differently. Here we chose to return the server’s raw error response when the email is already in use, but you can return our own message if the email is invalid. Since we also changed the UI to indicate the request is pending, we can reset it in the event of any error at all.

Storing and retrieving todos

Once we’re logged in, we can query for that user’s data to see if they already have a todo list.

Sending new and updated todos is just as easy. Here we’re sending a new item that was just created, stored in the object_data object.

Changing data

When the user checks off an item, we can use the update method to change one of its properties.

Deleting data

We’ve also added little buttons. Here’s how simple it is to remove an object both in frontend and in backend by calling one function:

To see more examples, including saving user sessions and logging out, you can fork the finished app from its repo.

twitter.com/cloudmine



About Us