Earlier this year, I wrote about organizing Master Hierarchies in the Sitecore content tree. I described a limitation in Sitecore 5.3 that has changed for the better in Sitecore 6. This post discusses a new Sitecore feature -- Branch Templates -- and how it has replaced and improved upon Sitecore 5.3 Masters.
The theme of Sitecore 6 was "Simplicity." In pursuit of simplicity, we made major user interface changes for content authors. Our new Page Editor and Page Designer modes dramatically improve ease of use for editors from both a content authoring and page layout perspective. In addition, we focused on simplifying the experience for developers. Many new features were added, including the Quick Action Bar, built-in validation (at both the item and field level), efficient management of locked items and much more.
The introduction of Branch Templates was a way to simplify the creation of new blueprints for complete sites, microsites or branches of the content tree. If this sounds familiar, it is because this functionality already existed in Sitecore 5.3 using Masters. Masters and Master Hierarchies were designed to create item instances of Sitecore Templates (now referred to as "Data Templates" in Sitecore 6). Masters could be configured on an individual item or on a Template's Standard Values to allow one-click item creation for non-technical business users.
Conceptually, Masters and Templates (along with their Standard Values) were so close, that we decided to merge them into a single concept in Sitecore 6. Templates became similar (and preferred to) Masters starting in Sitecore 5.3. Sitecore 5.3 introduced the idea of Template Standard Values that maintain a dynamic connection with all of the content instances (i.e. items based on the template). This was a big leap from Sitecore 5.2, where these values could only be placed on Masters. In Sitecore 5.3, we only recommend using two features of masters: 1) using Masters to create new content items and 2) using the $name token (which would be replaced with the name of the item being created).
In merging Masters and Templates, we decreased the learning curve for developers while adding some essential features. In particular, Sitecore introduced the ability to organize templates and to create Branch Templates with siblings.
Back in January, I wrote the following about the organization of Masters in Sitecore 5.3:
There are some system-related limitations to organizing masters (under /sitecore/masters). Specifically, developers cannot organize masters into subfolders...The reason for this is that Sitecore uses the structure of the masters themselves to determine master hierarchies.
In Sitecore 5.3, Masters were all stored under a flat structure under /sitecore/masters and there was no easy workaround if you wanted to organize your Masters. In multi-site solutions (or simply solutions with many masters), this was a non-ideal organizational structure.
In Sitecore 6, this problem is solved using Branch Templates. You can find Branch Templates under /sitecore/templates/branches or in the Template Manager under templates/branches. In the screenshot below, you can immediately see that Branch Templates can be organized hierarchically.
Under the NiCam folder, you can see six branch templates: Flash, Lenses, Other Accessories, P & S, poll and SLR. The Branch Template item is a container for the template structure itself. For example, when a user creates a "Canon 200" using the "SLR" Branch Template, the following tree structure is created:
- Cannon 200
- Resources
- Reviews
We can also create sibling Branches. Consider the following scenario:
If a user creates a "Canon 200" using the "Lenses" Branch Template, the following tree structure is created:
- Cannon 200
- Support
- Resources
The idea is that you instantiate a branch using the container template (in this example, "Lenses") and Sitecore uses the children of that container to instantiate new items.
Branch Templates make life easier for developers when compared to Masters and give much more flexibility in your design of this section of the content tree. To learn more about Branch Templates, see the Data Definition Reference in the Sitecore CMS 6 References.
42 comments:
thank u........................................
18禁貼圖寫真視訊援交露點爆乳潮吹裸體裸照裸女愛愛無碼尋夢視訊聊天a漫a片a圖一夜情一葉情人妻激情情色寫真美女自拍辣妹自拍正妹自拍美女走光辣妹走光正妹走光脫衣秀脫衣走光色情自慰
TAHNKS FOR YOUR SHARING~~~VERY NICE.................................................
We known as "wood of Gods" and specialize in Agarwood & its products. We supply our products in Middle East region including UAE, Saudi Arabia, Jordon, Oman, Bahrain, Qatar, US and Europe
I love readding, and thanks for your artical. ........................................
任何事都是由一個決心,一顆種子開始。........................................
支持你就對了!.........................
thank you for you to make me learn more,thank you∩0∩
你的部落格很棒,我期待更新喔
天下沒有走不通的路,沒有克服不了的困難,沒有打不敗的敵人。.............................................
如果相遇.你會感到相知.那麼.有一種習慣叫做陪伴;如果陪伴.你會感到珍惜.那麼.有一種甜蜜叫做存在!......................................................
Haste makes waste. ....................................................
沒有目標而生活,恰如沒有羅盤而航行 ............................................................
成人色情電影院線上免費色情短片色情動畫影成人色情動畫色情介紹台灣好色一葉晴視訊力小遊戲力的小遊戲力的色小遊戲力的色遊戲力的遊戲十八成人網站十八歲成人十八歲成人論壇十八禁小遊戲十八禁小說三級片線上觀看下載日本電影下載免費看日本av女優電影八五街八大成人圖庫人做愛姿勢一葉貼圖區一葉貼影片一葉貼影片區一葉影色站一葉擎一碼丁子褲淫蕩學生妹ut美女聊天室成人遊戲情色a片
Man proposes, God disposes................................................................
目標是什麼不重要,目標能產生什麼樣的效果才重要......................................................................
nice to know you, and glad to find such a good artical!......................................................................
成熟,就是有能力適應生活中的模糊。.................................................................
人不能像動物一樣活著,而應該追求知識和美德.................................................................
卡爾.桑得柏:「除非先有夢,否則一切皆不成。」共勉!............................................................
人有兩眼一舌,是為了觀察倍於說話的緣故。............................................................
人生之中,比冒險更危險的一件事:不去冒險。..................................................
Seeing is believing.百聞不如一見............................................................
你文章很棒的~繼續分享給大家~~~~............................................................
來給你加油打氣!!!保重!!!..................................................................
當我微笑時,世界和我一起微笑;當我快樂時,世界和我一起活躍。..................................................
thanks god for the chance to enjoy so many good artical.............................................................
DepositPhotos: #1 resource for buying and selling Royalty-free photographs and vector images, Stock Images from 0.1$ (it is very cheap) and Subscription plans from 19$ so visit now by clicking- stock photos | stock images | royalty-free images
Pen and ink is wits plough. ............................................................
融會貫通的智慧,永遠不會被遺忘。..................................................
Make hay while the sun shines...................................................
Every dog has his day.............................................................
來給你加油打氣!!!保重!!!............................................................
你怎麼能經過一片海,而忘記它的藍?......................................................................
There is obviously a lot to know about this. Thank you for sharing. melbourne painting
Great Article....Zoomgi.com is an exceptional organization that provides content management system software in a great deal of aspect concerning with utilization of a hodgepodge of websites.
Nice post.....Zoomgi.com is an exceptional organization that provides content management system software in a great deal of aspect concerning with utilization of a hodgepodge of websites.
Nice sharing well ! Create websites you don't need to download any software. Creating Your Own Website within minute. CMS can also create straight websites, blogs, journals, news sites, educational and more…
http://www.zoomgi.com/
Always remember that your web content is your sales speech that is very visible to everyone. YOur content writer's duty is to make them believe that what you have in your Phoenix SEO company is helpful and useful. And both parties can benefit from it. Thanks.
Wow, nice post, there are many person searching about that now they will find enough resources by your post. Thank you for sharing to us. Please one more post about that..Content management system
Post a Comment