Transcript of "SharePoint Fundamentals (Lesson 1&2)"
MJ FerdousSharePoint ArchitectFounder, SharePoint Expert Community
SharePoint Fundamentals– Introduction to SharePoint 2010– Understanding SharePoint(SP)– What SharePoint can be Used for– SharePoint Foundation 2010 and SharePoint Server 2010– HW/SW Requirements– Development environment requirements– SharePoint Server and Site Logical Architecture– Demo (Site Creation, List & Libraries)– SharePoint Installation
Introduction to SharePoint 2010• Microsoft SharePoint is a web application platform developed by Microsoft.• SharePoint is typically associated with web content management and document management systems, but it is actually a much broader platform of web technologies, capable of being configured into a wide range of solution areas.
Introduction to SharePoint 2010• SharePoint is an Application that sits on top of ASP.net (3.5 SP1 in the current SharePoint 2010)• SharePoint overrides a lot of ASP.net built-in functionality (they have their own .aspx Parser)• SharePoint is build on ASP.Net. If you want to make enterprise WebSites, go for SharePoint.
What SharePoint can be Used for• People use basic templates for basic websites (wordpress, joomla...), but most companies use SharePoint, because management of enterprise websites with SharePoint is really user friendly :)• Basically my advice is: Use SharePoint when you absolutely have to, avoid it whenever you can and stay with just ASP.net.
SharePoint Foundation and Server 2010 Start your development with SP Foundation It’s Free
SharePoint Foundation 2010• The core features of SharePoint – Scalable Data-Driven Architecture• Supported Operating System – 64-bit Windows Server 2008 (Production or development) – 64-bit Windows 7 or Vista (Only development)• Designed to be highly customizable by end-users – Many customization can be done through browser• Designed to be extended by developers – Built on the top of ASP.Net (.Net Framework 3.5) – Visual Studio 2010 includes tooling to assist in development – SharePoint Designer is another IDE for site customization
Source : http://www.fpweb.net/sharepoint-hosting/2010/features/foundation-vs-server.aspSee Details Comparison at http://sharepoint.microsoft.com/en-us/buy/pages/editions-comparison.aspx andhttp://sharepointpolice.com/blog/2010/05/03/sharepoint-2010-feature-comparison-sharepoint-foundation-2010-vs-sharepoint-2010-standardenterprise/
Hardware and Software Production environment requirements• Hardware • Web Server – Processor: 64-bit – RAM: 8 GB for production use in a single server or multiple server farm – Hard Disk: 80 GB for system drive • Database Server: – Same as above for small deployments• Software: – The 64-bit edition of Microsoft SQL Server 2008 R2 – The 64-bit edition of Windows Server 2008 Standard, Enterprise, Data Center, or Web Server with SP2
Visual Studio SharePoint Support• Requires x64 operating system – Windows 7 – Windows Vista SP1 – Windows Server 2008 – Windows Server 2008R2• SharePoint 2010 must be installed locally – SharePoint Foundation or SharePoint Server• Visual Studio 2010
Site Architecture1. Each SPSiteobject, despite its singular name, represents a set of logically related SPWeb objects . Such a set is commonly called a "site collection," . The SPSite.OpenWebmethod of the SPSite class returns a specific Web site.2. Each site collection includes any number of SPWeb objects, and each object has members that can be used to manage a site, including its template and theme, as well as to access files and folders on the site.3. Each SPList object has members that are used to manage the list or access items in the list.4. Each SPField object has members that contain settings for the field.5. Each SPListItem object represents a single row in the list.
DEMOCreating First SP Web Application, Site Collection
List Summary• The Data Storage Mechanism in SharePoint • Virtually all content stored in list• SharePoint Provisioning engine handles list creation and schema management• SharePoint provides interface to add, edit, delete and view items• List support: • Multiple views (for sorting, filtering, grouping) • Simple Validation, Content approval • Item versioning • Simple relationships• Data stored in rows and columns • More Like Excel worksheets than database tables
SharePoint InstallationOne of the biggest challenges for SharePointdevelopers today is building a developer machine.I have created the SharePoint PowerShell Setupscript to help automate the tasks of installing all ofthe tools and software required for SharePoint.
SharePoint InstallationStep 1: Pre-Configure Operating System=================================• I will provide the technique here to install in Host Machine• You can choose to install everything in place on a clean Windows 7 64-bit machine (Recommended)• Install the following software on Windows 7 64-bit OS machine – MS Office 2010/2007 (Optional) – SQL Server 2008 R2 (Optional)
SharePoint InstallationStep 2: Install the Prerequisites for SharePoint 2010==========================================SharePoint requires your operating system to have certain prerequisites installedbefore installation begins.• Download and copy the SharePointFoundation.exe installation file to a folder on the computer where you are installing SharePoint and doing your development, such as in the following path: – C:SharePointFiles• Extract the installation files by opening a Command Prompt window. For SharePoint Foundation 2010: – C:SharePointFilesSharePointFoundation.exe /extract:C:SharePointFiles Note: You could have in some other format like iso/rar. You basically need to extract files to get the installer
SharePoint InstallationStep 2: Install the Prerequisites for SharePoint 2010==========================================• Using a text editor such as Notepad, open the installation configuration file, config.xml, located in the following path: – c:SharePointFilesfilesSetupconfig.xml – Add this line inside the <configuration> tag: – <Setting Id="AllowWindowsClientInstall" Value="True"/>• Save the configuration file.• You will get the following setup error during installation (for Client OS) if you do not add AllowWindowsClientInstall in config
SharePoint InstallationStep 2: Install the Prerequisites for SharePoint 2010==========================================• For Windows 7, install the following additional prerequisites – Microsoft FilterPack 2.0 (Find at c:SharePointFilesPrerequisiteInstallerFilesFilterPackFilterPack.msi) – Microsoft Sync Framework – SQL Server Native Client – Windows Identity Foundation (Windows6.1-KB974405-x64.msu) – Chart Controls (Optional for SharePoint Foundation 2010) – SQL Server Analysis Services - ADOMD.Net (Optional for SharePoint Foundation 2010).
SharePoint InstallationStep 2: Install the Prerequisites for SharePoint 2010==========================================Manually enable each of the required Windows Features. You can do this quickly bycopying and running command (in note section) in a Command Prompt window.
SharePoint InstallationStep 1: Install SharePoint 2010=================================• To install SharePoint Server 2010 or SharePoint Foundation 2010 – Run c:SharePointFilesSetup.exe• Accept the Microsoft Software License Terms.• On the Choose the installation you want page, click Standalone to install everything on one developer workstation.• If any errors occur in the installation, review the log file. To find the log file, open a Command Prompt window, and then type – cd %temp% – dir /od *.log• After the installation is complete, you are prompted to start the SharePoint Products and Technologies Configuration Wizard.• Since SQL Server 2008 R2 is already installed, You can configure SharePoint• Install Visual Studio 2010 and SharePoint Designer• DONE
SharePoint Installation Too Much Steps!!! RelaxIt’s Time to do something Smart! With PowerShell Script
Libraries Summary• Same characteristics inherited from the list• Each Item is associated with a document – Any kind of document, Not just office documents – Documents are stored in content Database• Columns in Lib referred to as meta-data• Libraries support – Check in/out – Major and minor version – Integration with Office
Site Columns and Content Types• Schema defined at the list level is not reusable• Site Columns and Content Types allows schemas to be reusable• Site Columns are reusable column definitions• Content Types are reusable list schemas• Site Column and Content Type are appeared at site level • Items visible within the site and it’s children site
DEMOWorking with Page, List View Web partTheme & Master page