Giter Site home page Giter Site logo

Web service based version? about moosh HOT 4 OPEN

tmuras avatar tmuras commented on August 19, 2024
Web service based version?

from moosh.

Comments (4)

tmuras avatar tmuras commented on August 19, 2024

I was thinking about it, as I think Drupal's drush is doing a similar thing but have no immediate plans to implement it (I do take pull requests happily though :) )
I'm not sure if that should not be the other way around - you have WSes in Moodle already, you can add new functions to them. And drush could add a command to run a WS for the current Moodle installation.

from moosh.

thepurpleblob avatar thepurpleblob commented on August 19, 2024

I'm just assuming that all the web services you need will not exist. So, there are either some functions you don't can't do or you need to extend the web services (I was assuming with a local plugin). I might suggest that the more subversive functions of Mooch are what makes it really interesting (the ones that there will be no core web services for) ;-)

from moosh.

tmuras avatar tmuras commented on August 19, 2024

Hmm, good point. Yeah, I like the subversive side of it as well :). I probably shouldn't recommend anyone to install such a local plugin but if you know what you're doing... why not!
Are you interested in writing one? That'd be awesome.

from moosh.

Mihailoff avatar Mihailoff commented on August 19, 2024

I see two distinct sides of such approach. First is architectural and about exposing Moodle functionality in a proper way. Another is remote execution and for this there is existing solutions like https://github.com/thephpleague/shunt or even native PHP functions http://php.net/manual/en/function.ssh2-exec.php

from moosh.

Related Issues (20)

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.