Sitecore学习小结

Templates:Templates are preset schemas for Sitecore content items

Content:

  1. Content is created based on predefined templates
  2. A content instance of a template is called an item
  3. Items are stored in a database
  4. Items are edited in the Master database
  5. Publishing copies items from the Master to a publishing target(e.g. Web database)
  6. Content is item based ,not page based.Item can become a page----Item+Presentation=render page,Item-Presentation=error page
  7. Information Architecture:
      • Content tree mirrors site structure
      • Place pages under the site's home
      • Tree structure impact URLs
      • Set insert options
      • Limit number of children
      • Limit number of versions

Presentation

  1. A layout consist of:A code file on the file system;A layout definition item--Path field,links the code file to the definition item.
  2. A layout is required to view an item as a web page;Layouts are assigned to an item's Presentation Details(two ways)
      • Directly on the item.
      • Standard values of a template

Summary

  • Data templates define the type of item and consist of fields,field type,and field sections
  • All content is based on data templates
  • All items are not pages and items that are pages are configured for viewing in the browser using the Presentation Details setting
  • Layouts and components such as View Renderings and Controller Renderings are assigned to an item's Presentation Details

Note:All items are not pages .Only items with Presentation Details are pages. The Presentation Details setting makes an item viewable as a page in the browser. The Presentation Details setting can include layouts and components

 

转载于:https://www.cnblogs.com/mingjia/p/6644394.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值