Parse.com





Diogo Vecchiati Beato



 

A Backend to rule them all




Backend as a Service


  • Escalabilidade e Robustez sem preocupações


  • Desenvolvimento com foco em elegância e UX

Dashboard

Data Analytics


Data Browser


Settings


Javascript SDK

Setup

# HTML
<script src="parse.1.2.16.min.js"></script>

# JSParse.initialize(APP_ID, JSDK_ID);

Javascript SDK

Criando e Persistindo Objetos



var GameScore = Parse.Object.extend("GameScore");
var gameScore = new GameScore();
 
gameScore.save({
  score: 1337,
  playerName: "Sean Plott",
  cheatMode: false
}, {
  success: function(gameScore) {
    // The object was saved successfully.
  },
  error: function(gameScore, error) {
    // The save failed.  }});

Javascript SDK

Montando Queries

var GameScore = Parse.Object.extend("GameScore");

var query = new Parse.Query(GameScore);

query.equalTo("playerEmail", "dstemkoski@example.com");
query.first({
  success: successCallback,
  error: errorCallback
});

Javascript SDK

User Signup

var user = new Parse.User();
user.set("username", "my name");
user.set("password", "my pass");
user.set("email", "email@example.com");
user.set("phone", "415-392-0202");
 
user.signUp(null, {
  success: function(user) {
    // Hooray! Let them use the app now.
  },
  error: function(user, error) {
    console.log("Error: " + error.code + " " + error.message);
  }
});

Javascript SDK

User Login

Parse.User.logIn("myname", "mypass", {

success: function(user) { }, error: function(user, error) { } });

Outras Features



  • Social Integration
  • Geo Points
  • Push Notification
  • Cloud Code

Onde estão utilizando


  • Mobile Apps
  • Social Games
  • Prototipos e Startups

Links


  • Parse - http://parse.com

  • Video do Dev Fest por Willian Lepinsk - 
    https://www.youtube.com/watch?v=ZRo2cXhu2Fg&feature=youtube_gdata




That's all folks

Papo Reto - Parse.com

By Diogo Vecchiati Beato

Papo Reto - Parse.com

Apresentação sobre a plataforma Parse.com

  • 1,524
Loading comments...

More from Diogo Vecchiati Beato