wanted: PHP and Moodle programming for starters?

wanted: PHP and Moodle programming for starters?

by Hans B0s -
Number of replies: 8

Hi,

Within Moodle I find al kind of things that can be used in programming with PHP. Things like: filteruploadedfiles, filtermatchoneperpage etc, etc, etc.

But I have no idea how to use this in a PHP program.

Could do with an simple example explaining how to use this?

Hans.

Average of ratings: -
In reply to Hans B0s

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: wanted: PHP and Moodle programming for starters?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I'm not sure there is an easy way...

My $0.02... read and inwardly digest this:

http://docs.moodle.org/en/Developer_documentation#Guidelines

Then have a go at writing a simple plugin. My recommendation is a block (the block API is maybe the easiest to understand). It doesn't have to do much - hello world would do. The docs are here:

http://docs.moodle.org/en/Development:Blocks

...feel free to ask questions if you get stuck smile
In reply to Howard Miller

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Howard Miller

Re: wanted: PHP and Moodle programming for starters?

by Hans B0s -

Thanks Howard,

I will try to dig my way through this.

Think I start with the "Blocks" thing.

Hans.

In reply to Howard Miller

Re: wanted: PHP and Moodle programming for starters?

by Matt Gibson -
Making a block is definitely a good way to go. Also useful is finding a simple existing block and taking it to pieces in parallel, so you can see how things are put together.

PHPXREF is also a brilliant tool to help find out where all the functions come from and to see how they are invoked in other places. Saves hours!
In reply to Deleted user

Re: wanted: PHP and Moodle programming for starters?

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
In reply to Howard Miller

Re: wanted: PHP and Moodle programming for starters?

by David Horat -
There is also a project called Moodle IDE which could be the start point for any new Moodle Developer. It solves most of common newbies problems. Maybe in this Google Summer of Code we will see a first stable version.