Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Are good SharePoint solutions only a myth?

628 views

Published on

Session on SharePoint solutions architecture at ShareCamp, Munich/Germany, April 2012

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Are good SharePoint solutions only a myth?

  1. 1. SharePoint Solution ArchitectureAdis Jugomanaging consultant
  2. 2. Perception of SharePoint applications Adis Jugo, PlanB.
  3. 3. Impact Inspiration Business Operations Case Deploy Life Require- Cycle ments Testing / Solution QA Architect. Develop Adis Jugo, PlanB.
  4. 4. Requirements Inspiration Business Operations Case Deploy Life Require- Cycle ments Testing / Solution QA Architect. Develop Adis Jugo, PlanB.
  5. 5. Time and Costs estimation Inspiration Business Operations Case Deploy Life Require- Cycle ments Testing / Solution QA Architect. Develop Adis Jugo, PlanB.
  6. 6. Time and Costs estimation Adis Jugo, PlanB.
  7. 7. Architecture Inspiration Business Operations Case Deploy Life Require- Cycle ments Testing / Solution QA Architect. Develop Adis Jugo, PlanB.
  8. 8. Architecting SharePoint solutions Adis Jugo, PlanB.
  9. 9. What is wrong with this web part? Adis Jugo, PlanB.
  10. 10. Types of SharePoint solutions• Enterprise SharePoint Solutions• SharePoint SandBox Solutions• Solutions that use SharePoint data
  11. 11. 4 questions for architects• How will the users be using the application?• How will the application be deployed into production and managed?• What are the quality attribute requirements for the application (security, performance, concurrency, localization, and configuration)• How can the application be designed to be flexible and maintainable over time?
  12. 12. Architecture Considerations• Considerations • Quality attributes o Impersonation o Security o Logging o Performance o Caching o Concurrency o Testing o Localization / o Deployment Internationalization o Flexibility / Manageability / o Configuration FutureProof o …
  13. 13. SHAREPOINT ENTERPRISE SOLUTIONS
  14. 14. A SharePoint Solution Managet Code / Workflows Silverlight Ajax Office Timer Jobs Clients !NET / Event Mobile/ Receivers Tablet InPage SP WinRT / Solution Metro Adis Jugo, PlanB.
  15. 15. BL Classes not SPContext Aware SPContextTransport/Creation? SPContext Aware Infrastructure Layer Classes Dependency injection
  16. 16. Logging • Logging from the BL • ULS for SharePoint • Different implementations LOGGING
  17. 17. Caching, Persistence • Caching in front-end Web Server o AppFabric for Windows Server Caching, persistence o NCache • Persistence o SPPersistedObject
  18. 18. Localization / Internationalization • Chrome • User Interface • Navigation • Content Adis Jugo, PlanB.
  19. 19. Architecting InPage elements: MVP Model Adis Jugo, PlanB.
  20. 20. Unit Testing • Unit Testing Business Layer • Unit Testing SharePoint DAL o nUnit • Unit Testing InPage o presenter Adis Jugo, PlanB.
  21. 21. DEMOSHAREPOINT ENTERPRISE APPLICATION LAYOUT
  22. 22. SharePoint Enterprise Solutions• Considerations • Quality attributes o Impersonation  o Security  o Logging o Performance => ? o Caching o Concurrency  o Testing o Localization / o Deployment  Internationalization o Flexibility / Manageability / o Configuration  FutureProof 
  23. 23. Where is the catch• Everything is SharePoint App Pool o Deep impact on SharePoint Server• Deployment to SharePoint Server o Policies o Maintenance• Not possible with Office 365 (or other hosted services)
  24. 24. SHAREPOINT SANDBOX SOLUTIONS
  25. 25. SHAREPOINT SANDBOX SOLUTIONS
  26. 26. SandBox Solutions• Considerations • Quality attributes o Impersonation  o Security  o Logging  o Performance => ? o Caching  o Concurrency  o Testing  o Localization / o Deployment  Internationalization  o Flexibility / Manageability / o Configuration  FutureProof 
  27. 27. SOLUTIONS THAT USE SHAREPOINT DATA
  28. 28. SOLUTIONS WITH SHAREPOINT DATA• Considerations • Quality attributes o Impersonation =>  o Security  o Logging  => No ULS o Performance  o Caching  o Concurrency  o Testing  o Localization / o Deployment  Internationalization  o Flexibility / Manageability / o Configuration  FutureProof 
  29. 29. No SPContext aware Components
  30. 30. SharePoint Enterprise Solutions• Considerations • Quality attributes o Impersonation => ? o Security  o Logging  => No ULS o Performance  o Caching  o Concurrency  o Testing  o Localization / o Deployment  Internationalization  o Flexibility / Manageability / o Configuration  FutureProof 
  31. 31. Limitations• ASMX Services• OData• CSOM (Client SharePoint Object Model)• No advanced list-data management• No Event Receivers, Timer Jobs• Outside of SharePoint user interface• Suitable for integrating other solutions with SharePoint
  32. 32. And finally Adis Jugo, PlanB.
  33. 33. Resources• MS P&P: SharePoint Guide • Asterix and Cleopatra http://spg.codeplex.com http://www.amazon.com/s/ref =nb_sb_noss?url=search-• MVP pattern in SharePoint alias%3Daps&field- InPage elements (WebParts, keywords=asterix+and+cleopa ASPX) tra&x=0&y=0 http://msdn.microsoft.com/en- us/library/ee413740.aspx http://www.plan-b-gmbh.com
  34. 34. • http://www.plan-b-gmbh.com• http://www.adisjugo.com @adisjugo Adis Jugo, PlanB.

×