We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [design-patterns]

A design pattern is a general, reusable solution to a commonly occurring problem in software. A design pattern is not a finished design that can be transformed directly into code. It is a description or template for solving a particular problem. Thinking in terms of design patterns allows you to formulate a high-level solution that is independent of the implementation details.

Filter by
Sorted by
Tagged with
3
votes
0answers
60 views

The Repository Pattern , refactoring code

I'm trying to develop simple sharepoint application using the repository pattern.Application should return employee informations from SPList based on some queries and than show them into HTML table(I'...
1
vote
1answer
278 views

Design pattern Microsoft recommends for custom developement

Which design pattern Microsoft recommends for custom development? I know these 3: Model-View-Presenter Pattern Service Locator pattern Model-View-ViewModel Pattern
2
votes
0answers
290 views

Is my Object Casting Model acceptable?

I'm creating a SharePoint application, and am trying some new things to create what amounts to an API for Data Access to maintain consistency and conventions. I haven't seen this before, and that ...
0
votes
2answers
101 views

Sharepoint Design of the site and sub site Structure for maintaining data flow and maintaining permissions?

My requirement is : I want to develop a site where there will be a site collection,and the root site will be for site admin who can add the data to the site and around 20 subsites which will use ...
11
votes
2answers
2k views

LINQ to Sharepoint - Repository pattern and common methods in repositories

I generated a entity classes + data contexts by LINQ to Sharepoint and created a repository classes. When I use normal database and mapping like Entity framework I've got usually some base repository ...
3
votes
1answer
530 views

Design Principles and Patterns in SharePoint

In context of SharePoint, Can you think of the common scenarios or problems where the enterprise design principles or patterns(from GOF or Martin Fowler) can be applied for better solution design. For ...