Modules/Plugins/Addons

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sam54
Forum Newbie
Posts: 1
Joined: Fri Jun 14, 2002 2:16 am
Location: Tromsø, Norway

Modules/Plugins/Addons

Post by sam54 »

Just out of curiosity, how would you guys go about coding a 'project' consisting of modules/plugins/addons...?

I'm thinking: coding the 'base' of the project and make it so that other people can code modules etc. for that project.

I'm not sure how to put this question, so please excuse me if I'm not making any sense :)
Zmodem
Forum Commoner
Posts: 84
Joined: Thu Apr 18, 2002 3:59 pm

Post by Zmodem »

Most importantly, I would document everything a developer would need to know in order to write a plugin for your script.

I would create an include file, which each plugin author would include in his plugin. This include file has functions/classes that talk to your script.

Make sure to document those functions/classes in your include file very well.

Document your database, so plugin authors know what each field and each table is used for, so that they can make use of them also.

Is that the kind of help you were looking for?
Post Reply