Can someone please once and for all explain to me clearly how it is with SharePoint hierarchy?
The names that are displayed are all mixed up, the names of classes are all mixed up and the diagrams like this:
or this:
never covers both names at once on one diagram, leaving me guessing which is which. Perhaps, the confusion is caused by all of these synonyms: site, web, page (and website, web page).
The main questions are:
- when I'm in browser, is it possible to determine from the URL if I am on the Site Collection, on Site, on Web, on Page? If so, how is this possible?
e.g.
http://sharepointtest.com/sites/abc/def/Pages/default.aspx - from which location I can go "up" one level and from which it's not possible?
- if a Site can be placed within a Site Collection but also
Site Collection can be placed within Site Collectionthen what is the difference? Is "Site" always some sort of a previous to last navigation level in which only single pages resides? - which class represents which name?
Right know I'm guessing that:
- Web Application is SPWebApplication (
http://sharepointtest.com/) - Site Collection is SPSiteCollection or SPSite? (
/or/sites/abc?) - Site is SPSite or SPWeb? (
/def/?) - Page is SPWeb or ...? (
default.aspx???)
Pardon me if the question is silly but I really feel like I'm walking in the fog even after a few months of SharePoint developing...
If the question seems vague, I could elaborate in comments.
Thanks.