Wednesday, January 18, 2006

Day 7: Plan for Phase II

Previous: Feedback Are Welcomed

In this phase we will add ability to actually post messages and display them.

Iteration 1 Phase II Requirements
System shall process requests for new message creation, and show added messages.

Phase II Implementation Plan
We will add ability to create new Message to MessageRepository. We will create new MessageUI JSF component which will transfer user request for message creation to MessageRepository. I will apply interesting post-mvc model here: I will create MessageSource interface

interface MessageSource {
String getText();
}

My Message will have ability to construct itself using given MessageSource. MessageUI will implement MessageSource and serve as a source for Message.

I will have to change MessageListComponent to ask MessageRepository for a list of messages on each request.

Is this all? It seems so. We will change things on the go if we need to.

Next: Code for Phase II JSF Difficulties

No comments: