Business Logic in Backend as a Service

Backend as a Service companies, pushing the boundaries on cloud computing, recognize that there is a large amount of reusable code across backends. We work tirelessly to define those requirements in a generic way and offer them as a service, taking care of not only the development, but also the operation of theBaaS.

To deliver its full promise, backend as a service needs to have an easy way to extend and implement custom features on top of the core functionality, enabling developers to “program” the backend and customize it for their app.

I am very happy to announce that after a short beta period, we are openly launchingBackend Logic. With Backend Logic, you can run JavaScript code inside your Kinvey backend. This capability allows the developer to trivially implement the server-side business logic, while accessing a number of readily available APIs and leaving the grunt work to Kinvey.

Here is now a hello world looks like.

function onPreSave(request, response, modules){

response.body = {“Hello”: “World”};



For more detailed examples, please look at theDev Center guide.

Here is an example of common used cases for Backend Logic:

  • Automatically trigger push or email notifications based on changes in the data
  • Access third party APIs from your Kinvey backend
  • Prevent cheating in gaming by validating user actions on the server.
  • Host platform agnostic code so you don’t need to implement it multiple times in the app itself.
  • Validate input on web applications to ensure data consistency
  • Quickly iterate on your app’s functionality, as you deploy your code instantly, without waiting for app store approval.

We hope to have gotten your creative juices flowing. To get started, take a look at our tutorial andguide, sign up for Kinvey and let’s create some beautiful apps together!

Check out KinveyBackend as a Service

Kinvey Blog稿源:Kinvey Blog (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 移动互联 » Business Logic in Backend as a Service

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录