Ninth Iteration Progress Report~~
05-09-03
Plan
- Goal: Get automated message center running
- Make message viewing pages for both stores and DC
Design Phase
- Design: MySql, html, and php
Coding
- All Coding can be found HERE
- Coding for this specific sites finished is:
Testing and Deployment Phase
- Store Message Center
- DC Message Center
- Automatic Message creator
- Problems:
- Since the automatic messages have to be sent after every event, i had to
change the links for all the events so that instead of returning to the menus,
it would go to the message creator page and then link back to the menu
automatically. also i had to figure out a way to send the right message after
an event.
- Solution:
- The easiest way to send information between the events and the message
creator was to give each message a number, and then the event page would link to
the creator page and send it the information it needed (to and from) and then it
would send a number that would correspond with the action that just accord (for
example from the shipment page it would send a 2, and then in the message
creator page it would recognize "2" as the message subject "shipment received".)
- One thing i had to learn was how to get the date working. Actually i found
an easy php command getdate() which returns an array that holds all the
information i needed (day, month, and year). Then i just had to combine the
strings of that correctly to fit my format of MM/DD/YR.
- The other half of this message center is to be able to view the messages
sent. For the stores, the messages that can be viewed are only the ones from or
to the store number and messages sent to "all". This is done by a table and it
also gives the option of deleting messages that are to the store (not the ones
from the store)
- For the DC message viewing, it is identical except they view all messages
and can erase messages to them and messages to "all".
Next Goal
- Find all the little errors in program
- Maybe add some aspects to the different parts
- Figure out if i need to check password on each page (otherwise program may
mess up, but you shouldnt be able to get in without loggin in.. unless you cheat)
<--Back