Tag | Design Patterns Posts

Technorati Tags: Serialization,ISerializable... Patterns You know that when you serialize an object and then deserialize the main object and the deserialized one are different objects (different references). So what if you do not intend such behavior i.e in a singleton class. I’m almost certain that everyone is familiar with singleton pattern that solves the problem of having only 1 instance of a class in the entire application; so I’m not giving a speech about that here. Assume we ...
Hello All, I am Srihari.Ganadinni,I have 42 months of experience in .Net design and development,I have worked on Winforms,WCF,Build Automation using code,Linq,Lambda Expressions,Expression Trees and Design patterns. I have keen interest in learning Design patterns for Concurrent,Parallel and Distributed systems,building frameworks and anything that catches my interest in microsoft technologies. Apart from work I enjoy Playing Carroms,Paintind and reading Philosophy,Learning Foreign language and Political ...
Software Engineering is the rare field that produces a product that is never consumed nor decays. A working piece of software will last forever as long as there is functioning hardware on which to run it. I once attended a class where a student honestly said that the act of writing software made him feel "immortal".But most programs (thankfully) don't last forever. Why? Because their quality is so poor. Businesses often treat software like a disposable product because the act of maintaining it is ...
Something that took me a while to learn is how to be balanced when deciding on how to architect an application. Since at my current job I was thrown into a hybrid Architect/Developer position due to the small size of the company and my team, I didn’t really have any experience with doing it. After almost a year at it I decided to look back and see what I have done and how I can learn from mistakes and successes. Remember Why You Were Hired Why did your company hire you as a developer? If you answered ...
I found a blog post by Davy Brion (one of my favorite bloggers on the ‘net) that spoke about the .NET world’s current state. He mentioned that Microsoft’s products (such as WebMatrix and LightSwitch) are mainly geared toward what he calls “low-end” developers. At the same time, Microsoft is backing off on other products that more experienced and seasoned programmers like, such as IronRuby, IronPython, and the DLR (Dynamic Language Runtime). I certainly agree with some of his points. Applications ...
Everyone has a journey. You start off young & stupid, and 2 decades later, you're closer to understanding the nature of reality. That’s one of the main goals in life, to seek knowledge (justified, true beliefs – pick any 2 J ). I must have read 5000 books in my life. From some of my readings it could be construed that reality computes itself, It from Bit. From others, it can be concluded that Entropy is decreased by increased rates of computation, and in the short span of human civilization, ...
Just an update .... I'm currently working on the next presentation in the multi-part of a series on the Applied Design Patterns project called “AdventureWorksDesignPatterns” . It has been a busy summer both at work and home. Summer is "DIY" time at my house as I'm building a 16 by 20 foot raised deck. Work wise ..... Some of my team and I have been updating some of our "Demonstration" and "Proof Of Concept" applications to test out Microsoft's Windows Azure, SQL Azure and AppFabric. This is turning ...
What differentiates a great developer from an average one? I've recently started a self-improvement campaign to further expand my skills as a developer and as my first task, before diving into anything new, I'm going back and making sure that I truly understand some of the basics, even though I use these things on a daily basis, I wanted to dive deeper and truly understand the "why's". One of my goals is to incorporate more organization into my solutions. One way to do this is by implementing design ...
Design Patterns sounds like an Italian recipies. If you you tell your grand mother that you cooked Bolognese and Pasta for evening, she wouldn't ask you how, as the recipie is famous enough to make scence to everyone. She wouldn't expect a creamy pasta with chicken unless you decided to make her surprise. Same story when you coding. In fact the benefit of using Design Patterns is that when you say, for example, you have implemented Singleton, your work mate would have a picture of the code on spot ...
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ...
This is the presentation I did June 29, 2011 at PHILLYNJ.NET. It is the first in a multi-part of a series on the Applied Design Patterns. The solution files are working code with design pattern notes in the comment blocks. After the overview and higher level discussions on Enterprise Design Patterns I reviewed the low level Database Access Library of code. With walk-throughs of the the code and unint test. After that we went through the ProductPhotoConsoleTest Application that performed intergration ...
Overview of the “AdventureWorksDesignPatterns” Project (I’ll be posting on this series here. It will be based on the presentations I’m creating for the PhillyNJ.NET user group a subgroup of PhillyDotNet) This is the start of a long series on “applied design patterns”. The intent to demonstrate design patterns in real code. I am not endorsing or “pushing” any specific methodologies. But I will be stressing various points of views many of which are part of various methodologies you may have heard of. ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 4 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Continuing our discussion from Part-3 we ask. What are the “Gang of Four” (GoF) Structural Patterns and where can we find them in the .NET Framework? Let’s look at a list of the Strutural Patterns as defined by the GoF. Adapter Pattern – is used to match interfaces of different classes Bridge Pattern – is used to separate an object’s interface from its implementation Composite ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 3 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Continuing our discussion from Part-2 we ask. What are the “Gang of Four” (GoF) Creational Patterns and where can we find them in the .NET Framework? Let’s look at a list of the Creational Patterns as defined by the GoF. Abstract Factory Pattern – creates an instance of several families of classes Factory Method Pattern – creates an instance of several derived classes Builder ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 2 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Every .NET Architect, developer and even some business users have some understand of patterns which make up the system they want to construct just like our house discussion in Part-1. Every profession hasw it own “LINGO”. Many have tagged that of the IT World as “GEEK SPEAK”. When it comes to creating the software system even among the GEEKS we have our own language. For the ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 1 – Excerpts from July 2010 – PhillyNJ.NET Presentation) This series of shorts is targeted at those .NET developers who glaze over at when people start talking patterns. I’ve noticed this before, but it wasn’t until I had a few discussions with people from the local user group that I realized there was a need. First we answer why should a .NET developer need to be aware of patterns? After this series is conmplete this blog will have ...
I have been doing a rushed brush up on my contemporary concepts programming course – only to encounter more design patterns… so as revision I have listed some details below… Today I am going to briefly cover 5 design patterns… namely: Composite Pattern Observer Pattern Serializer Pattern Monostate Pattern Command Pattern What are Design Patterns? (see wiki) In programming we come across problems that are very similar, and certain approaches to solving these problems could be applied time and time ...
At Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} http://post.oreilly.com/for... ...
There has been quite a furore in the last couple of weeks about a blog article published by David Barrett entitled "CEO Friday: Why we don’t hire .NET programmers". You can find it at http://blog.expensify.com/2... Along with about half the global development community, I tried to post a response, but comments were already closed. I had all but forgotten the article until, a few minutes ago, up popped a daily .NET newsletter with a headline linking ...
(these are lifted verbatim from Microsoft here, here and here and are presented below only because it’s convenient to have them lumped altogether…) Getting Started with Windows Phone Windows Phone development platform supports both XNA Framework and Silverlight. This unit takes you through the step-by-step creation of your first Windows Phone Silverlight application. Hands-On Labs · Hello Windows Phone This lab intends to be the classic "Hello World" application, introducing you to the tools and ...
I was lucky enough to attend Visual Studio Live! in Orlando on November 14th-17th. There were so many great speakers and the networking was great. I met a lot of really cool people and we talked about everything .NET (from WP7, Silverlight, C#, ASP.NET WebForms, AJAX, MVC 3.. and so forth). I took a lot of notes during all the sessions and wanted to provide it to those that could not come out. If you follow me on Twitter then you have seen most of these. Most of the authors put slides/source code ...
It's been a ride! Over six months ago Scott Klein and I started to write a book on SQL Azure. It is now officially out and available. You can find the book on Amazon here: http://www.amazon.com/Pro-S... We used and abused SQL Azure for a few months, used it in projects and pushed some of its limits to understand how it behaves. We present the basics of SQL Azure on a couple of chapters, including what the ...
Earlier this week Mike Vogt and I presented an introduction to design patterns. While I think that all developers should understand design patterns I don’t believe you can be a good architect unless you a firm grasp of patterns at at the application, system and enterprise levels. We had some fun with the subject by alternating between .NET and Java examples. I think if we had hidden certain parts of the IDE we could have challenged the attendees to tell us which example was in C# and which was in ...
Design patterns are an important part of understanding the best practices of software development. Head First Design Patterns is another great book in the Head First series which takes a more story based teaching approach. As you get past the format of the book there are specific things that I like about the subject matter coverage. Rather than just laying out the name, problem and solution for each of the original patterns, they compare and contrast them. In some cases they even pull in patterns ...
For reasons that I will not discuss here the Chicago Architects Group has changed its name to the Chicago Information Technology Architects Group. It is the same great group of people discussing topics that are of interest to IT architects of all flavors. Whether your responsibilities are at an enterprise, solution or application level there is something here for you. For October the topic will be design patterns presented by Mike Vogt and myself. Mike has a Java background so we will be alternating ...
Any ramblings and blog posts associated with the UNISA ICT 2622 tag should be considered study notes for my lectures... Objectives of Chapter 12 Explain the different types of objects and layers in a design Develop a sequence diagram for use case realization Develop communication diagrams for detailed design Develop updated design class diagrams Develop multilayer subsystem packages Explain design patterns and recognize various specific patterns Key Words & Definitions use case realization – ...
Security Security is a nonnegotiable requirement for a cloud service offering to be successful. Access control and security for business data is of utmost importance. Business data stored in the cloud needs to be encrypted during not only during storage but also transport. Secure data and network channels across application domains in the cloud should be built right into the cloud service infrastructure. Access control prohibits unauthorized access to the data and applications and provides authorization ...
Creational design patterns were introduced in order to avoid the inherent tight coupling between the classes which were stemmed up from the excessive creation of objects of one class by the other class. Factory pattern is one of the most widely used creational patterns. This pattern calls for the use of a specialized object solely to create other objects, much like a real-world factory. In the above figure, the client is an object that requires an instance of another object (the product) for some ...
I recently got the opportunity to teach a 3 day course on the subject of "Principles, Patterns and Practices in .net". I must say it was a fun and enriching experience. I have never taught a course before, so I decided to go off the beaten path and do a little experiment in format. No need to copy existing formats that can be found everywhere else in Belgium. Format I took the excellent Head First Design Patterns as a guide to run through each pattern in the same way: - show an existing implementation ...
We software engineers and architects sometimes feel like the rope in a tug-of-war. Pulling from one side is the short-term goal of delivering functionality, preferably yesterday. Indeed, our customers cannot justify paying for our services unless we deliver a working product, better and faster than our competitors. Pulling from the other side, however, is the long-term goal of quality. If our code becomes too disorganized or hard to understand, we cannot long remain in business, because we will no ...
Videos of presentations from NDC 2010 are now available at: http://streaming.ndc2010.no... It looks like there are about 48 available. I'm particularly looking forward to: Mads Torgersen: "C# Quo Vadis?" (followed by a discussion on the future of C# with Mads, Eric Lippert, Gafter and Jon Skeet) Roy Osherove: "Beautiful Teams & Leaders" Greg Young: "5 reasons why projects using DDD fail" Jon Skeet: "If I Ruled the World - C# 5.0 According to Jon" Eric Evans: "What I've learned About DDD Since ...
A few weeks ago I did the following post asking people – if they used foreign key constraints in their star schemas. The poll is still open if you are interested in adding to it, but here is what the chart looks like as of today. (at the bottom of the poll itself there is a link to the live results, unfortunately I cannot link the live results in here as the blogging platform blocks the required javascript) Interestingly the results are fairly even. Of the 78 respondents, fractionally over half at ...
How to write a good code – 2 Following design principles makes design/ architecture of your project good and we developer don’t have much role in this. This is primarily taken as role of software/ solution architect. So what developer can do to make code better and understandable? So it’s in hand of to write an easily understandable, well refactored and clean code developer (at least in agile world, where everything is not documented). So I collected some useful information from “Clean Code – Robert ...
Technorati Tags: Application Architecture and Design Strategies This guide is available online in the MSDN Library and as a Microsoft Press book, ISBN# 9780735627109, that you can purchase through local and online booksellers such as Amazon, Barnes & Noble and BORDERS. The guide is intended to help developers and solution architects design and build effective high quality applications using the Microsoft platform and the .NET Framework more quickly and with less risk; it provides guidance for ...
Technorati Tags: Application Architecture and Design Strategies Domain-Driven Design: Tackling Complexity in the Heart of Software The software development community widely acknowledges that domain modeling is central to software design. Through domain models, software developers are able to express rich functionality and translate it into a software implementation that truly serves the needs of its users. But despite its obvious importance, there are few practical resources that explain how to incorporate ...
Technorati Tags: Application Architecture and Design Strategies ASP.NET design patterns. Design patterns are set of useful approaches for solving repeating problems that appears many times during developing software. By using design patterns we are not reinventing the wheel again and again. The most sommon patters are: Creational Patterns Abstract Factory Creates an instance of several families of classes Singleton A class of which only a single instance can exist Structural Patterns Adapter Match ...
Technorati Tags: Application Architecture and Design Strategies Good books on design patterns Developers are asking about good books on design patterns. These are two great books: "Design Patterns in C#" by Steven John Metsker, Addison-Wesley http://www.amazon.com/Desig... Show how to implement the 23 classic Gamma-Helm-Johnson-Vlissides design patterns in C#. Refactoring and Patterns of Enterprise Application Architecture, by Martin Fowler http://www.amazon.com/Patte... ...
On December 7th I presented at the nPlus1.org ArcSummit. My talk was on Dependency Injection and Inversion of Control containers. Thank you to all those who attended. When we were done Chris Woodruff and I were asked to record an episode of The Thirsty Developer. It was a great experience seeing how these shows are put together and being able to just sit down and talk with Dave Bost, Clark Sell and Chris Woodruff. I’ll post again when the episode comes out. The slides for the presentation are available ...

I am typically starting this blog with the "Hello World" kind of post.  Just to give an brief summary to the curious out there this blog will be a place where I will be putting down my experience with technologies specifically asp.net mvc, jquery, sql server, sharepoint, tdd, design patterns et el.

Also, I plan to record my learnings with developing an asp.net mvc project.

 

Microsoft has released a final version of its book “Microsoft Application Architecture Guide, 2nd Edition”. The book is described as: This guide is available online here in the MSDN Library and will be available in the Fall of 2009 as a Microsoft Press book, ISBN# 9780735627109, that you can purchase through local and online booksellers. The guide is intended to help developers and solution architects design and build effective, high quality applications using the Microsoft platform and the .NET ...
Rob Bagby has started a new series (blog posts and screencasts) on Patterns-Based Development with Silverlight. The series illustrates various design patterns while building a sample application (see screenshot below). The patterns covered include the Repository, the Pipeline, the Service Agent and Model View ViewModel. Thanks for checking out this post! Cheers, Murray Gordon ISV Architect Evangelist Microsoft Corporation http://blogs.msdn.com/MurrayG US ISV Team Blog My GeeksWithBlogs Blog ...
I was reflecting the other day that I had not added anything to my blog recently. And while a short vacation (part of which was spent geeking out and writing code) played a part of it, the larger reason was an absolute avalanche of work. Then yesterday I was listening to some old .NET Rocks! podcasts and the question about how we all stay current in the technology field came up. This, coupled with the beginning of my review writing season for my team, spawned the idea for a blog post for today. So ...
What is a good code and how can we write a more object oriented code? Sometimes I heard my team members complaining about the quality of code which I wrote, so I started a search for some instructions about “What is a good code?” I went through “Agile Priniciples, Patterns and Practices in C# by Robert C. Martin”, “Refactoring by Martin Fowler” and “Head first Design Patterns from O’Reilly press” and found some useful tips. So before going through those tips, let’s start with what is bad code? The ...
Here’s another email from the internal mailing list of Injazat .NET Ninjas (Ninjazat, AKA as we call ourselves), that I’m sharing with blog readers as well. Just a place holder, until I move one of my 18 (just discovered the number now – terrifying!) drafts in my Windows Live Writer into a published post, or delete them all! Subject: [Learning] Some very interesting videos Some videos from NDC 2009 event (Norwegian Developers Conference 2009) - about software design and related issues: · NDC Video ...
Speaker Lee Brandt is a Senior Consultant with Adventure Tech Group, Inc. in Overland Park, Kansas. He has been programming professionally for over 10 years and developing solutions in .NET and C# since the early beta releases. He is an advocate for behavior-driven development, design patterns and agile methodologies. Topic Getting Started with S#arp Architecture ASP.NET MVC is all the rage lately. There are also several peripheral projects that compliment ASP.NET MVC development (MVCContrib, NHibernate, ...
I was reading the Developer Evangelist Handbook which is a good guide for public facing developer evangelists created by Chris Heilmann of the Yahoo Developer Network. Check out the online handbook here http://developer-evangelism... In this handbook there is some great advice for people who complete public presentations or someone who want to expand their current speaking engagements. In reality many developers are evangelists (or should be) at there places of employment. Developers often feel ...
Head First Design Patterns Undoubtedly opinions change over time, and seeing as I’ve waited quite a while to review this book from when I began reading it I’ve had time for the book and its concepts to percolate. My final opinion is that this book does offer a good entry level look into design patterns, and for those who take the time to read through this book you will benefit greatly to continue onto its inspiration, the original Gang of Four read, or also onto Fowler’s Patterns of Enterprise Application ...
I am a keen believer when building applications in having a clean logical architecture with separation of concerns as much as possible – taking into account the goals of the project and the environment in which the application will be maintained. As such, when it makes sense I believe in use of MVC, MVP, MVVM etc type patterns to enable efficient development and maintenance of applications. I can testify to the worth of adopting these styles to improve the quality of products developed from my experience ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; ...
The next Frederick .NET User Group (FredNUG) meeting will be Wednesday, June 24th at the Urbana Regional Library. At the June meeting, I’ll present an introduction to the Mesh and Live Framework as the introductory topic. Following a break for pizza and social networking, Edwin Ames will be presenting advanced techniques for everyday development. The scheduled agenda is: 6:30 PM - 7:00 PM - Intro Topic: Introduction to Mesh and Windows Live Framework with John Blumenauer Intro. Topic Description: ...