This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="width:600px;background-color:#fff;padding:10px 20px 20px;font:14px/21px HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, sans-serif;"> | |
<h3 style="color:#da5024;clear:both;">See the complete Boston Startup Map</h3> | |
<a href="http://www.kinvey.com/blog/2455/the-boston-startup-map-visualizing-the-citys-tech-scene"><img alt="Kinvey Backend as a Service" src="http://www.kinvey.com/blog/images/2013/03/bostonstartupmap.png?w=600" width="600" /></a> | |
<div style="width:100%;text-align:center;margin-top:5px;">From: <a style="text-decoration:none;color:#da5024;" href="http://www.kinvey.com/blog/2455/the-boston-startup-map-visualizing-the-citys-tech-scene">Kinvey Backend as a Service</a>;</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="width:600px;background-color:#fff;padding:10px 20px 20px;font:14px/21px HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, sans-serif;"> | |
<h3 style="color:#da5024;clear:both;">See the complete iOS Version History</h3> | |
<a href="http://www.kinvey.com/blog/2429/ios-version-history-a-visual-timeline"><img alt="Kinvey Backend as a Service" src="http://www.kinvey.com//blog/images/2013/02/ios-version-history-a-visual-timeline.jpg?w=600" width="600" /></a> | |
<div style="width:100%;text-align:center;margin-top:5px;">From: <a style="text-decoration:none;color:#da5024;" href="http://www.kinvey.com/blog/2429/ios-version-history-a-visual-timeline">Kinvey Backend as a Service</a></div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /appdata/:appKey/:collectionName/:id?resolve_depth=2&retainReferences=false HTTP/1.1 | |
Host: baas.kinvey.com | |
Authorization: [user credentials] | |
HTTP/1.1 200 OK | |
Content-Type: application/json | |
{ | |
"_id": "HPBook6", | |
"title": "Harry Potter and the Half-Blood Prince", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create an author and book entity. | |
var author = new Kinvey.Entity({ name: 'Joanne Rowling' }, 'authors'); | |
var book = new Kinvey.Entity({ title: 'Harry Potter and the half-blood Prince', author: author }, 'books'); | |
// Save both. | |
book.save({ | |
success: function(book) { | |
// book is the book entity instance. | |
// book.get('author') is the author entity instance. | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString* accessToken = [FBSession activeSession].accessToken; | |
[KCSUser loginWithFacebookAccessToken:accessToken withCompletionBlock:^(KCSUser *user, NSError *errorOrNil, KCSUserActionResult result) { | |
if (errorOrNil) { | |
//handle error | |
} | |
}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Todos extends KinveyCollection | |
url: -> | |
url = "http://test.kinvey.com/appdata/#{kinvey_app_key}/todos" | |
// if there is a filter string | |
if @filterString | |
// build the regex query - queries are JSON objects | |
query = JSON.stringify( content: { $regex: @filterString } ) | |
// make sure we URI encode the query! | |
url += "?query=#{encodeURIComponent( query )}" | |
// Return the final result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TodoList extends KinveyCollection | |
url: "http://test.kinvey.com/appdata/#{kinvey_app_key}/todos" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Todo extends Backbone.Model | |
… | |
class TodoList extends Backbone.Collection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url: "http://test.kinvey.com/appdata/APPKEY/todos" |
NewerOlder