Development has started

2 views
Skip to first unread message

bass...@gmail.com

unread,
Nov 23, 2006, 2:22:13 PM11/23/06
to pcm-modx
Well I started off coding this project with no firm details on how this
is going to work, but now i have a few more details and am working the
pieces together.

The structure of the mod will be somewhat like this

./modName/
|__ /img/
|__ /includes/
|__ /files/
|__ /theme/
|__ modinfo.xml


all the data relivent to installing / uninstalling and upgrading the
mod will be stored in the modinfo.xml file.

The structure for the modinfo.xml file is still being worked out but is
almost done.

The core files we are developing are a php class to read in the xml
file and make it into an array that is easy to work with.

For that task I used a method given out on the us2.php.net page under
the SimpleXML topic.
I modified it slightly to allow the structure to look somewhat like
this.

$data['mod']['files']['inc']['theinclude.php'] <-- that would be the
first file listed in the xml document that is inside the /inc/ folder


Also joining me on development is Dave. He showed some intrest on this
on the forums dedicated to the proclanmanager project and offered his
assistance.

More details later... Until then ;)

Reply all
Reply to author
Forward
0 new messages