1
BobbyC
ABCs of PHP App to Module Development?
  • 2004/3/17 18:38

  • BobbyC

  • Just popping in

  • Posts: 29

  • Since: 2003/11/16


This has probably been discussed before but anyway. I recently commissioned a PHP for a client and would like to convert it to a XOOPS module. Are there any resources for a non-programmers to convert a PHP app to a XOOPS module?

2
eikke
Re: ABCs of PHP App to Module Development?
  • 2004/3/17 20:56

  • eikke

  • Just popping in

  • Posts: 40

  • Since: 2004/1/15


A - Get to learn the XOOPS API's (Database, users, modules,...). Also see S
C - CVS can save your life
D - Database: convert every database call to one using $xoopsDB
I - Include mainfile.php on every user page
P - Turn PHP debugging mode on
S - Read the source code of other modules (I liked mylinks a lot) to learn the API and basics of XOOPS modules (basics and more of course)
T - Try to use templates if possible
X - XOOPS Control Panel: very easy to integrate the original app's control panel in Xoops': just got to insert xoops_cp_header() and xoops_cp_footer() where appropriate

Got to get some sleep now, will think about this

Login

Who's Online

207 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 207


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits