Giter VIP home page Giter VIP logo

Comments (8)

Exeteres avatar Exeteres commented on August 23, 2024 1

Also implemented a declarative way to use cloud code.
Please close the issue if you no longer have questions, problems or suggestions regarding cloud code.
https://exeteres.github.io/vue-parse/guide/usage/cloud-functions.html

from vue-parse.

Exeteres avatar Exeteres commented on August 23, 2024

You mean getting data from cloud functions?
Something like that:

parse: {
    averageStars: {
        function: "averageStars",
        params() {
            return {
                movie: this.movie
            }
        }
    }
}

from vue-parse.

binarytide avatar binarytide commented on August 23, 2024

yes, possibly with the ability to call within component methods as well via this.$parse.Cloud (or something similar)

from vue-parse.

Exeteres avatar Exeteres commented on August 23, 2024

Ok, I'll think about it
However, what you are talking about is just an alias to Parse.Cloud methods, isn't it?

from vue-parse.

binarytide avatar binarytide commented on August 23, 2024

correct, wasn't sure if you could continue to call the same way or if you wanted to integrate. knowing I can easily call it is good enough for me

from vue-parse.

Exeteres avatar Exeteres commented on August 23, 2024

For that matter, I plan to add a wrapper for the original Parse SDK to make it even neater.
However, I will not get involved much, I will try to do it as soon as possible.

from vue-parse.

binarytide avatar binarytide commented on August 23, 2024

that would be perfect, that way user would in theory only need your lib and documentation to get started on the client side.

from vue-parse.

Exeteres avatar Exeteres commented on August 23, 2024

At the moment I added aliases for all 4 methods from Parse.Cloud and updated the documentation.
https://exeteres.github.io/vue-parse/guide/usage/parse-sdk.html
I only tested the 'run' method, please check the remaining ones if you need them.
I will also continue to add aliases for other methods and at the same time implement the declarative way to use cloud code.

from vue-parse.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.