简体   繁体   English

使用Parse.Com创建SDK / API

[英]Create SDK/API using Parse.Com

I got an assignment to write a SDK/API for a mobile app, which will be developed in all 3 platforms(Android/Windows/iOS) by different persons. 我分配了一个移动应用程序的SDK / API,该应用程序将由不同的人在所有3个平台(Android / Windows / iOS)中开发。 Since those mobile app developers are outside companies, my company doesn't want to expose any Data Base structure related information to them. 由于这些移动应用程序开发人员在公司外部,因此我公司不希望向他们公开任何与数据库结构相关的信息。

So they wanted me to use Parse.com as back-end. 因此,他们希望我使用Parse.com作为后端。 I was playing with Parse.Com last whole week. 整个星期我都在和Parse.Com一起玩。 But following things are still unclear to me. 但是接下来的事情对我来说仍然不清楚。 Hope there could be someone who could help 希望有人可以提供帮助

  • Once I go to create an app on Parse.Com it binds me to a specific platform so is there a way I could refer data (classes) on one app to the other ? 一旦我在Parse.Com上创建了一个应用程序,它将我绑定到特定平台,那么有没有办法将一个应用程序上的数据(类)引用到另一个应用程序?

  • Is there any way I could expose only few functions out side (like GetProductList(), GetOrders()... ) world irrespective of target OS ? 有什么办法可以使目标系统外的某些功能(例如GetProductList(),GetOrders()...)暴露在外面?

  1. Making an app on Parse.com won't bind you to a specific platform. 在Parse.com上制作应用程序不会将您绑定到特定平台。 While in the Parse dashboard, go to settings -> keys to find the keys you need to access your Parse server for whatever platform you are coding. 在“解析”仪表板中,转到“ 设置”->“键”以找到用于您正在编码的平台的访问“解析”服务器所需的键。 Parse objects are JSON encoded. 解析对象是JSON编码的。

  2. You can add javascript functions to your server via Parse's Cloud Code. 您可以通过Parse的Cloud Code向服务器添加javascript函数。 These functions can be called via multiple languages. 这些功能可以通过多种语言来调用。 Check out the following links to add javascript functions to your server: 检查以下链接,以将javascript函数添加到您的服务器:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM