0

I am interested in using parse and am a little confused as to the difference between their products.

I am looking to run server code on the platform and I can see that there is a cloud code option as well as a REST api option.

What is the difference between the two? For me it it seems as though they are the same in the sense that they both run server code

1 Answer 1

1

Cloud Code allows you to define JavaScript functions that run server-side.

These methods are exposed to the REST interface, so your confusion is valid, but you only put/request information via REST, not perform logic.

So say you defined a Cloud Code method to run before you saved a Parse Object. When you make a PUT request through REST with your object body, that Cloud Code method will run.

Sign up to request clarification or add additional context in comments.

2 Comments

Ok interesting, so they work together then with the cloud code as an optional layer
Correct. Additionally REST is useful for when there is no SDK written for a particular language.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.