fuzzelogic Solutions

August 22, 2009

Open closed - Code update

Filed under: BDD, OO, Programming, c#, design, projects — Tags: , , , , , , — admin @ 4:16 pm

Hi All!

I’ve uploaded the code used in the demo on the open closed priciple (part of the SOLID presentations) presented to the Isle of Man software developers group on the 19th of August 2009.

As a reminder….

  1. All objects with names ending in Specs.cs are the “test” cases
  2. The folder named “Attempt” is the first try at how we would have looked at solving this problem.(Breaks the OCP)
  3. The folder “LosTechies” is the solution presented by LosTechies ( a possible solution -that I felt, although addresses the OCP, broke the SRP)
  4. The folder “Fuzzelogic.Refactored” together with the folder “Infrastructure” contains the solution I presented making use of the specification pattern. It was easier to extend the appliaction when new requirements came about, and it provided us with a reusable “pattern” in extending the matching/filtering solution to other parts of  the application
  5. The Bdd project is used to simplify the “test”ing of and makes for a more readable approach.

The code is available from here

All comments / questions are welcome.

Hope this helps

Zak

August 19, 2009

sOlid :: Open Closed

Filed under: BDD, OO, Programming, c#, design — Tags: , , — admin @ 5:48 pm

Hey!

So, we got this one done as well. Thank you to everyone that turned up.

We went through ideas the principles hope to solve, and covered the OCP. We had a look at a couple of solutions on solving the good old “Filter a list of products”.

We also managed to sneak in the Specification pattern and managed to get through some good questions.

Again, everyone was happy enough to continue, so we’ve penciled in the week of the 21st September. I’ll have to confirm a date.

I’ll update the code base for download.

Once again, thanks to everyone.

Zak

August 18, 2009

Still sOlid

Filed under: BDD, OO, Programming, c#, design — Tags: , , — admin @ 6:22 am

Hi All!

Just a quick reminder, the “O” from S.O.L.I.D is up for discussion 19th August 2009. Same place, and similar time.

Hope to see you all there.

Zak

August 9, 2009

Fishing

Filed under: c# — Tags: — admin @ 3:01 am

Hey!

It’s an honour for Fuzzelogic Solutions to again sponsor the “Isle of man Open Fly fishing” this year.

Its a competitoin, that I’ve been involved for a long time, and it’s always a great day. So if you can, stop over.

9th August 2009 at Clypse/Kerrado. Sign in at 13:30 starts at 14:30.

Powered by WordPress