dongzan9069 2011-06-02 21:04
浏览 71
已采纳

Moodle,PHP和使用外部API

I am new to Moodle and PHP, so I may be asking for the impossible or just the impractical.

I am wondering how I might go about allowing client applications (written, perhaps, in C++, Java, AS3/Flash) to make calls to Moodle's Gradebook module, for example.

Does Moodle run as a server or does it rely on Apache or some other webserver?

Any pointers to examples of this kind of thing, as well as advice on books for learning PHP, Moodle, etc. would be greatly appreciated.

  • 写回答

1条回答 默认 最新

  • dougou8573 2011-06-06 08:50
    关注

    Moodle is a mere web application written in PHP. It relies on Apache (or any other web server) to serve PHP pages.

    You might use something like Thrift to implement the communication between "C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, and OCaml".

    Regarding PHP, start with the official documentation:

    http://www.php.net/manual/en/

    Regarding Moodle, here is a list of available books:

    http://moodle.org/mod/data/view.php?id=7246

    Have a look to "Moodle 1.9 Extension Development" to write your custom extensions (blocks, modules, assignments):

    http://moodle.org/mod/data/view.php?d=55&rid=3796

    Hope this helps a bit.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?