Go with — Sharepoint 2013 + Sharepoint 2010
See Provider hosted app in 2013

1. Sharepoint
2. Sharepoint Types
3. Create Site Collection
4. Edit Site Collection page
5. Create sub sites
6. Adding holidays in site collection
7. Creating a document library
8. Users and Permissions
9. Pages in SharePoint

1. Sharepoint
Sharepoint is a platform and different versions are: 2003, 2007, 2010, 2013, 2016
Sharepoint is installed on a server and we connect to this server via web browser through internet.
Major features of SharePoint 2010:

Sites Communities Content Search Insights Composites
We can create websites Sharing data with other people.
Data could be document, video, webpage, wiki, on
Place to put all your data.
Ex: Departments like HR, Sales, Accounts.. 
Search your content Bring all information together & understand them to build dashboards, scorecards. Extend and customize. Build workflows or applications on top of sharepoint.

Major features of SharePoint 2013:

Sites Social Content Search Insights Interoperability Branding


2. Sharepoint Types

On-Premise Office 365 (Cloud)
Sharepoint installed in your local machine. We have to take care of hardware, OS, backups and maintenance. We have to purchase whole licence.
Ex: SharePoint Foundation & SharePoint Server
Web application. Subscription based program from Microsoft corp. PaaS model. Microsoft has placed all their office products including Sharepoint.

3. Create Site Collection
Hierarchy will Website >> Site Collection >> Sub sites (HR website, Sales website, Account website).

Admin >> Admin >> Sharepoint >> New >> new site collection >> Title: MyCompany; Web Site Address: MyCompany (keep default info as-is); Template: Developer Site under Collaboration tab; Administrator: Search for Active users under users in office portal; Storage Quota: 1GB >> Ok >> Site Collection gets created.
Assign more administrators: Select your url >> Owners >> Manage Administrators >> Under Site collection administrators enter your user name. Click on url. Here MyCompany is Site Collection. 🙂

4. Edit Site Collection page
Click on settings icon (Office 365 settings) >> Edit page >>  Delete unnecessary web parts >> Just give simple intro message ‘Welcome to MyCompany Site Collection..!!’ >> Save

Also you can delete additional links (click on edit link) available on left side of page. For time being keep only Home & Recycle Bin

New page: Settings >> Add a page >> Name: AboutUs >> Create >> ‘This page contains company information..!!’ >> Save >> Copy the link of AboutUs page >> EDIT LINKS >> Text to display: About Us; Paste address >> Ok >> Save

5. Create sub sites
Settings >> Site contents >> new subsite >> Title: HR; Description: Subsite for HR Department; Website address: HR; Template, Collaboration: Team Site; Use same permissions as parent site >> Create
Now we can see url as /MyCompany/HR/
Delete unnecessary web parts >> Just give simple intro message ‘Welcome to MyCompany HR Subsite..!!’ >> Save and also delete additional links except Home page
Copy the link of MyCompany page >> EDIT LINKS >> Text to display: MyCompany; Paste address >> Ok >> Save.

Similarly create Account sub site.

Now we have MyCompany site collection and two sub sites – HR and Account

6. Adding holidays in site collection
Settings >> Site contents >> add an app >> Custom list >> Name: Holidays >> Create >> edit this list >> Rename column >> Holiday Name >> Add (+) >> Date and Time: Holiday Date >> Stop editing this list >> new item >> Holiday Name: Christmas; Holiday Date: 25-Dec-2018 >> Save.
Copy the url of holidays page (…./MyCompany/Lists/Holidays) >> EDIT LINKS >> Add >> Holiday & paste the link >> Ok >> Save. You can delete the recent link which was given by sharepoint.

7. Creating a document library
Upload specific documents in HR sub site >> Go to Settings >> Site contents >> add an app >> Document Library >> Name: Company Policies >> Create >> Copy the url (/MyCompany../Policies) and create link (Company Policies) in HR sub site >>  We see Upload option here 🙂
We can add more fields — Modify view >> Select required fields >> Ok.
You can test up uploading document or by creating a new (word) document.

8. Users and Permissions
Let us create two users: 1) hr_user 2) account_user.
hr_user should have read only access to MyCompany page and read write to access to hr page, but no access to account page.
Users >> Active Users >> Add >> enter user name: hr_user >> Create >> Copy username and password >> Similarly create account_user.

Create user group:
Go to MyCompany page >> Settings >> Site settings >> People and groups >> New

9. Pages in SharePoint

Application Page Site Definition Page
Traditional ASP.NET web pages Content oriented pages such as welcome.aspx, home.aspx….
The pages are derived from either ‘layouts page base’ class or ‘unsecured layouts page base’ class. Not derived from system.web.ui These are start up pages
Resides in _layouts folder (within the hive)
UnCustomized pages – We cannot edit pages using SharePoint designer Customize pages – We can edit pages using SharePoint designer.
Also known as Ghosted pages – pages which reside in the file system not in content DB. Also known as Unghosted pages – pages which reside in the content DB. Modifications to the pages are saved in content DB. When user requests the page it gets loaded from DB.