I have completed the prototype for OOPhoto - my latest attempt at learning object oriented programming (OOP) in ColdFusion. As I stated before, since I'm really trying to wrap my head around OOP, I am going to be keeping this application as small as I possibly can, while at the same time, trying to touch on several aspects of object oriented programming. In fact, as I was building this prototype and running through the different use-cases, I decided to eliminate the photo sorting; originally, I was gonna use some drag-n-drop functionality, but I decided that that was going to be too much overhead and more of distraction from OO rather than a benefit. Right now, I just want to get my head around the basic, which is hard enough - I can come back afterwards and add the bells and whistles.
Here are the use cases that I ran through:
- Create a new gallery.
- View a gallery using a given Jump Code.
- Find a gallery using a keyword search.
- Edit an existing gallery using a given Jump Code.
- Delete a gallery.
Not very many different use cases and only a single persona to test. In my next OOPhoto post, I will start to get into the domain model for this object oriented program. For those of you not familiar with the principles of Interface Driven Architecture, it is crucial that we create a complete and robust prototype before we do any coding. Not only does this allow us to stay very agile, it allows us to get a much more complete understanding of what our domain model will be and the services that will need to be made available. Without a full prototype, it would be extremely difficult to be able to capture the full scope of the project.
I have tested the prototype in FireFox and IE 7. I tried to keep the CSS and XHTML as clean as possible; but, at the same time, I didn't want to lose sight of the primary goal of the project - learning object oriented programming. As such, I held the mark up to a high standard, but did not stress myself too much about the naming convensions and minutia of CSS optimization.