Search This Blog

Saturday, October 1, 2011

Practice OO approach and common design patterns.

When i started this "homework", i was among first. From the beginning, I set an aim to strive to be as much as possible object oriented (oo from here).  It turned out being almost too complicated task for me to achieve and when it still was in beginning, other students in my course have already completed entire project.But eventually i managed to finish the first task completely. So here we are.

Learned methods:
  • general reflection
  • reflection using parametrized constructors
  • Properties class usage
  • Decorator design pattern
  • threads VS static common methods
  • Reflection Factory  design pattern
  • multiple interfaces implementation.
  • Flyweight design pattern
  • Proxy design pattern
  • encapsulation design patterns e.g. wrappers, delegation, interfaces and inheritance
  • anonymous classes


Flowchart:








Here actual java project:

Nota bene:  built in Eclipse IDE


AV.AddressBook alpha [till 01.10.2011].zip 

It is well commented, especially in places where i wrote "IDK HOW TO DO IT!!!"
or "WHY THIS DOES NOT WORK???"

Code provided as is, so don't try to integrate this into life-supporting systems.
I know you want, but please, don't.


Learn in future how to:
  • implement arguments into main()
  • load at least one Plug-in
  • JDBC methods
  • unit testing
  • optimizations and more
farewell
;-]

No comments:

Post a Comment