fuzzelogic Solutions

November 11, 2009

Dependency Inversion Principle - DIP = POSTPONED

Filed under: BDD, OO, Programming, c#, design — Tags: — admin @ 2:57 pm

Hey !!

The last in the soliD series. Dependency Inversion Principle - DIP, will be held on the 18th November 2009 -  25th November 2009 . Due to popular demand it was decided to postpone this as many could not make it. It should be at the same place (Dimension data-Isle of man) and for around the same time - start at 6:30pm. This will also be a good time to discuss the plans for the new year and finalize the curry night, so if you can make - great!!

So, back to DIP.

 

 High-level modules should not depend on low-level modules. Both should depend on abstractions.
Abstractions should not depend upon details. Details should depend upon abstractions.

 Zak

 

 

 

 

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

May 13, 2009

devG: 1st meeting

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

Hey!
So yep, a few guys actually turned up.

I was concerned that starting without any fixed agenda was going to be challenging, but a couple topics came out and were discussed rapidly, with everyone contributing.

It was great to have the conversations and chit chat among the group which consisted of different backgrounds converging on Microsoft technologies. There were brief conversations around the current trend in the market, .net, agile, oo + patterns and developers mindset. It was really great hearing the “real world” encounters and very encouraging to see every on the same page.

It seems everyone enjoyed it enough to consider making this a regular adventure. It was agreed that we should arrange another, possibly with a “fixed” technical topic. So in an attempt to keep the ball rolling, I’m going to throw a few suggestions (on a topic) out there, so drop me line and let me know……

  • Overview on S.O.L.I.D principles
  • Software patterns - although I’d suggest picking a single pattern and discussing it ..
  • Microsoft MVC
  • Dependency Injection
  • BDD
  • “Art” of writing transactional stored procs
  • Mocking
  • Project failure
  • NHibenate <added 14.5.09>
  • C# 3.5 Lambda’s, extension methods, Linq <added 14.5.09>

If anyone’s got any ideas on a venue again, please pass it on to me. 

It seems we’re sticking with devG (developers group) until we find a better one!

I’d like to thank Clive , Hatim, James,Justin, Michael, Owen and Steve for attending and thanks also to the crowd at C’est la vie.

Thanx

Zak

« Newer PostsOlder Posts »

Powered by WordPress