architecture
There are 6 entries for the tag architecture
Wednesday, December 5, 2012 12:26 PM | Comments

I recently had the opportunity to speak at Microsoft’s New Era of Work conference in Chicago. Below you’ll find the presentation material, the Real-World Stocks project which demonstrates the principles, and a high-level recap of the lessons learned while practicing the following techniques in actual apps.   Slides A number of slides were provided by Microsoft, and many specifically from Matthias Shapiro. Be sure to check out his blog for more excellent Windows Phone articles!     source For this talk I started with my Real-World...

Wednesday, January 25, 2012 2:02 PM | Comments

If you drink from the fire hose read Ayende’s blog you would notice a lot of Anti-Repository talk over the past couple years – which I fully agree with. Back in 2009 he declared repository is the new singleton, stating: My current approach for data access now is: When using a database, use NHibernate’s ISession directly Encapsulate complex queries into query objects that construct an ICriteria query that I can get and manipulate further When using something other than a database, create a DAO for that, respecting the underlying storage implementation Don’t try to protect developers Naturally he gets a slew of comments asking how he handles certain scenarios without using the repository...

Friday, December 16, 2011 2:25 PM | Comments

The title is slightly tongue-in-cheek, but I do believe selling is a crucial aspect of being an ‘architect.’ And I don’t mean selling to customers. But first, a backstory A long time ago, at a client far, far away… they were making a big push to SOA. My project at the time was calling a few methods from a referenced assembly, but the client’s architect said I must re-write it using their new WCF endpoint instead. I had my reservations about this change because the services so far were not known to be stable nor discoverable. Now I am certainly no expert at applying SOA, but I do appreciate that it consists of more than simply exposing everything through web services. In my mind, before even attempting to impose an SOA mandate across an enterprise you must establish some baseline infrastructure: A...

Tuesday, May 17, 2011 10:21 AM | Comments

This past Saturday was the third annual Chicago Code Camp. If you missed it and you’re in the area, be sure to attend next year! It’s free, and organized by a great group of community leaders here in the greater Chicagoland area. My talk this year was on Onion Architecture. A slight variation of the “ports and adapters” application architecture, I first started reading and prototyping the concepts introduced by Jeffrey Palermo. Check out his blog if you want to read a bit more on it. If you happened to attend my presentation and have any feedback please do let me know! Next year I hope they will be bringing speaker evaluations back – as I greatly appreciate any input on my speaking ability, constructive or otherwise!   ...

Thursday, July 22, 2010 10:35 PM | Comments

A common requirement for many applications is filtering rows of data based on the current user. A simple example is an e-commerce site which would want to make sure a Customer who is logged in is only able to view his own Orders. Another example would be a payroll site that would want to make sure a user could only view their own Employees. These are of course trivial examples, and could be solved in a number of ways. My concern is that often times the responsibility of security is placed upon each individual developer to make sure they are calling the right methods on your repositories. This may seem fine to many readers, and we could debate whether or not this should be the case, but my current take on security is to let the application infrastructure handle those details for you. What if I could easily...

Thursday, April 15, 2010 11:04 AM | Comments

I will be giving a talk at the Chicago Architects Group on Onion Architecture next week, details below. This is a completely free event, and of course, pizza will be provided. When Tuesday, April 20, 2010 from 5:00 PM - 8:00 PM (CT) Where TechNexus 200 S Wacker Drive Suite 1500 Chicago, IL 60606 Abstract Onion Architecture by Matt Hidinger Onion architecture exploits well-known patterns like dependency injection to promote true loose coupling between the core business logic and technical implementation details of an application.  Join us as we discuss this approach to building robust applications. Followed by open forum   CAG site: http://chicagoarchitectsgroup.com/ Registration: http://chicagoarchitectsgroup.eventbrite.com/   Technorati Tags: presentations,architecture