294 reputation
18
bio website
location
age
visits member for 3 years, 3 months
seen Sep 7 at 23:42

Sep
5
asked Is DDD not appropriate for my website or should I introduce a Query Layer?
Sep
3
comment Ninject/DI: How to correctly pass initialisation data to injected type at runtime
Don't know how I missed that tutorial...this post and that article has brought me to the "ah-ha" moment. Thanks.
Sep
3
accepted Ninject/DI: How to correctly pass initialisation data to injected type at runtime
Aug
20
accepted Should I use the repository in the Domain Object or push the Domain Object back to the Service Layer?
Aug
20
comment Should I use the repository in the Domain Object or push the Domain Object back to the Service Layer?
Very helpful, practical and informative answer. Marking as the answer. Thanks!
Aug
20
asked Ninject/DI: How to correctly pass initialisation data to injected type at runtime
Jul
22
comment Should I use the repository in the Domain Object or push the Domain Object back to the Service Layer?
My domain objects are not the Entities, so adding them to the Licenses collection, which is just a List will not cut it. The question is not so much about EF though as it is where the actual persistence takes places. All persistence in EF must take place within a context scope. The question is where does this belong?
Jul
22
asked Should I use the repository in the Domain Object or push the Domain Object back to the Service Layer?
Jun
18
answered How to transition from “help vampire” to “developer”?
Jun
4
awarded  Yearling
Jun
4
awarded  Teacher
Jun
4
answered Is ASP.NET MVC too much overhead for smaller projects?
Jun
4
comment Does a programmer really need college?
Sounds like UK is similar to Australia: a degree is regarded as a piece of paper to get you your first job, after that people only ever care about work history. I never take my academic record to job interviews and have never asked to see a candidates when hiring. In fact no one ever asked to see my degree for my first job position!
Jun
3
comment Significant amount of the time, I can't think of a reason to have an object instead of a static class. Do objects have more benefits than I think?
+1 especially for points 3 and 4. Interfaces, Interfaces, Interfaces.
May
26
comment Exceptions or Error codes
It past projects we never used Exceptions in code or Faults in SOAP to communicate legitimate/expected modes of failure. We used error codes and left them up to the client to decide what to do with them. User not found is not really an error/exception, this should probably be a status code.
May
18
awarded  Commentator
May
18
comment Dividing responsibilities between client and server
+1 for "we ought to perceive the Angular front-end as a View-Controller. Don't use models in the frontend, use services."
Apr
2
awarded  Peer Pressure
Nov
11
accepted What layer to introduce human readable error messages?
Nov
6
comment What layer to introduce human readable error messages?
I also worked on one Silverlight project where the team was using Restful WCF. The approach they took was to use error codes and store the messages in a resource file embedded in the Silverlight client. The application spec required localization and by keeping all human readable information right in the client they were able to free the database completely from localization concerns. This is now the way I am thinking...