Planning/designing module. How do you do that?
  • 2007/2/20 18:23

  • teibaz

  • Not too shy to talk

  • Posts: 103

  • Since: 2004/6/13

i'm interested in module design (designing, planning or as you say). How do you start modules? I'm on the progress in new module creation, so i can say share my experience So at first i tried to write all different parts in CMS. When i had parts, i detailed them. I write all methods (with input/output) and classes and thought about file structure. After that, i programmed all these parts. Now, when i have my cms with working parts i re-look all parts, added more functionality and started to thought about site layout and blocks. After that i found some mistakes in my cms part and added even more to it.

What did you do? Do you design ALL parts at once? Do you think about all or a half module? Do you just think, but do not mark and start to develop it? What? :) I would like to hear some thoughts about that.

Re: Planning/designing module. How do you do that?
  • 2007/2/21 7:27

  • chippyash

  • Friend of XOOPS

  • Posts: 501

  • Since: 2004/1/29

Here's how I do it, but it is only my way of doing things.

Any programming:
1/ functional requirements spec (what it does, not how it does it)
2/ data model required to support the functional requirements
3/ input and output requirements
4/ processing model (how it acheives what it wants.)
5/ object model to support all above

6/ Create list of user side page requirements
7/ create list of admin side page requirements
8/ create module framework (I use my own XBS ModGen module generator for this,) using information collected above
9/ create the object model code
10/ create each page and output to basic page templates
11/ test functionality against 1/ above
12/ refine page templates and re-write, creating supporting css as required
13/ test, test and test again


Who's Online

42 user(s) are online (25 user(s) are browsing Support Forums)

Members: 0

Guests: 42



Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits