rattfieldnz/mygithubpage
Public repository.
My "first" ruby app, from Michael Hartl's Ruby tutorial at http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#main_content
This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.
Public repository.
This is an app I made to practice my LINQ skills - using in-memory objects instead of an external database.
This is my first go at implementing the observer design pattern, in C#. After coding this, I quickly realised how powerful this design pattern can be - especially thinking how it might be used in large-scale enterprise apps. I learned the observer pattern in my programming class, and by looking at sites such as http://www.dofactory.com/Patterns/PatternObserver.aspx.
This is my first go at implementing the Factory Design Pattern for an application. By using this design pattern, I was able to decouple a lot of code, by delegating responsibility of animal creation to their respective factories. In this example, I implemented two factories - one for North American species, and the other for Australian species. After finishing this application, I quickly realized the code will be easier to maintain than previous applications I have coded. I used Single Responsibility principle so each object is only responsible for its own jobs, Open-Closed principle so classes/objects can be modified by extension, and the Liskov Substitution principle for the Animal classes (each child can be substituted for it's base class).