Comments (4)
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.
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.
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.
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)
- sudo -u www-data moosh db-stats - error
- udo -u www-data moosh data-stats - error
- sudo -u www-data moosh db-stats - error
- CourseReset doesn't reset Activity completion HOT 1
- moosh {admin/user}-login receives redirection HOT 1
- Q: Unenrol global groups from course with moosh? HOT 1
- Memcached dependency making app crash (only Moodle 39 was fixed. includes #PR)
- autoload.php file is not included in the repo HOT 2
- Cannot enable a disabled filter before viewing Manage Filters page
- Random-label not adding label HOT 1
- course-backup missing section
- course-config-set course fullname not triggering to be indexed in globalsearch with solr HOT 1
- Have a command to disable selfenrol per course
- Moosh does not rename plugins root directory with shortname
- Deprecated message strpos()
- moosh plugin-install command (db doesn't upgrade)
- Option conflict: -h is already defined HOT 6
- category-create fails with "Comparisons of text column conditions are not allowed"
- config-get on PHP 8.1: Deprecated str_replace(): Passing null to parameter #3 HOT 1
- Errors from `group-memberadd`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moosh.