Docstoc

Stock Request Templates - PowerPoint

Document Sample
Stock Request Templates - PowerPoint Powered By Docstoc
					Introduction to Sharepoint
      Development
Sharepoint for Developers

Server platform for information worker
• Windows Sharepoint Services (WSS)
   • Core Services, focused on small team,
     document management, collaboration
• Microsoft Office Sharepoint Server
  (MOSS)
   • Built on top of WSS, additional components
     to enable enterprise infrastructural pieces.
     Content management, search, business
     process
Sharepoint for Developers

•   Easy to customise
•   Hard to customise right
•   Can’t do everything
•   Plan before you start
•   Evaluate OOB features
•   Prepare to learn and experiment
Sharepoint Stack

• Provisioning engine
   • One project can yield many instances
• Information store
   • List and document management services
   • Events and workflow
   • Access via SOAP, WebDAV, et. al.
• Ready-to-use facilities you don’t have to
  write
   • Pre-existing list templates
   • Navigation, security, site administration,
     logging, etc.
Architecture WSS

• Built on top of ASP.NET 2.0
• Application Framework
   • Sharepoint HTTP Module
   • Sharepoint Providers
           Stock ASP.NET Request
                         Browser:
                        HTTP GET
                 http://server/appname


                            IIS


                     ASP.NET ISAPI



              C:\inetpub\wwwroot\appname

              web.config
              default.aspx
              myapp.css
              myothercontrol.ascx
Database      bin\mycontrol.dll
              .
              .
              (Your Application Domain)
           Sharepoint Request
                          Browser:
                         HTTP GET
                  http://server/appname


                               IIS

                                                  Custom
                      ASP.NET ISAPI              Database

 Config
Database        Sharepoint HTTP module
                                          Custom Code

                                          Assemblies
            Site Definition               Custom controls
 Content                                  Pages
Database
            Default.aspx
               schema.xml
               allitems.aspx
              How do I fit in the big picture?

                  Your Solution



Out-of-the-Box, Ready-        MOSS Solutions
   to-Use Features             and Services


                            WSS Framework


                           .NET 3.0 Framework


                         Server Operating System
              Sharepoint Concepts
                                                      Physical Server (Part of a farm)



•   Farm
•   Web Application
•   Site
                                 Web Application(s)
•   Sub site
•   Site Collection
                        Top Level Site
•   Column
•   List                        Site(s)


•   Content Type      Site(s)
•   Feature
                                  Site Collection
•   12 Hive
Sharepoint Concepts

Site Definitions
   •   are made up of features
   •   which reference components
   •   that may talk to shared services
   •   Instructions for creating a site
   •   Can be little more than a set of features
   •   Can call provisioning assembly code
       during site creation
   •   Different to site templates
Sharepoint Concepts

Sites
   • consist of data
   • are described by definitions
        •   site, feature, list
   • can reference code
        •   events, Web Parts, pages, workflow
            assemblies
   • contain instancing information for
     components
Sharepoint Concepts

Shared Services
   • expect to be used by multiple Web
     applications from multiple farms
   • Available via SharePoint Central
     Administration
   • allow themselves to be managed by
     delegated administrators
  • Not part of WSS
Useful Skills

•   .Net
•   ASP.NET
•   HTML / CSS
•   XML / XSLT
•   JavaScript
•   Code Access Security
•   CAML
Development Environment

• Windows 2003 Server
   • Dev on XP or Vista (Pain, Not Recommended)
• Sharepoint User Interface
• Sharepoint Designer
• Visual Studio 2005
   • Windows Workflow Extensions
   • Sharepoint Services SDK
   • Sharepoint Server SDK
Difference to stock ASP.NET

•   Difference in Security Models
    •   User can edit ASPX pages
    •   Thousands of Sites, Based on Template
•   No-code Pages
•   No code behind
•   SafeControls
Customisation

• Out of the box (Sharepoint UI, Designer)
   •   For end users
   •   Content based
   •   Ad Hoc
   •   Lists, Custom Libraries, Simple Layout, Master
       Page
• VS 2005
   •   For IT professionals
   •   Structured
   •   Complex logic
   •   Complex integration
  Application Development

• Look and Feel
   • Master Pages, Page Layouts
• End-user customisable UI
   • Web Part
• Custom Applications
   •   Delegate Control
   •   Custom Pages
   •   Application Pages ( _layouts )
   •   Custom Controls
   •   Custom Actions
Demo
 Master Page

• Master page library per site collection
• Dynamic tokens
   • ~masterurl/default.master (SPWeb.MasterUrl)
   • ~masterurl/custom.master (SPWeb.CustomMasterUrl)
• Static tokens
   • ~sitecollectin/default.master
   • ~site/default.master
• _layouts/application.master
 Custom Application

• _layouts (Admin Pages)
• Custom controls
  • Can use user .ascx, no code behind
  • Can create wrapper
• Be aware of CAS
• Think about deployment and
  maintenance
Custom Application Demo
Features

• Collection of components and specifications
   • list, view, Web Part, workflow, content type,
     custom page
   • Dependencies
• Scoped at different level
   • web application
   • site collection
   • site
• Activated in sites if site owner chooses
   • Can be programmatically activated
Features

• Add subfolder with a feature
  definition within features directory
• Details in Feature.xml
• Work with features
   • Sharepoint UI
   • Stsadm.exe
   • Sharepoint Object Model
Features Demo
Debugging

• Disable custom error
• Diagnostic Logging
• Debugging
Deployment

• Solution Framework
  •   Integrated deployment
  •   Localisation
  •   Deploy to front end servers
  •   Stsadm
Solution Demo




                29
What can be developed

• Create code components
   •   Web Parts
   •   Event receivers
   •   Document converters
   •   Workflow activities, templates
• Create provisioning assets
   • Site definitions
   • Feature definitions
   • XSDs provided for validating XML
• Create solution packages
Other Topics

•   Site Definitions
•   Workflow
•   Event Handlers
•   Timer
•   Mobile Pages
•   AJAX
•   Sharepoint Web Services
•   BDC
•   Team Development
Resources

•   Office Documentations
•   Administrator Documentations
•   SDK Documentations
•   Blogs
•   Books
    • Inside Windows Sharepoint Services 3.0
    • Sharepoint Administrator Companion
    • Sharepoint Unleashed


eddie.tse@simient.com

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:21
posted:8/22/2011
language:English
pages:30
Description: Stock Request Templates document sample