Modular Templating Running demo

advertisement
Modular Templating
Running demo
Copyright © 2009 by SDL Tridion. SDL Tridion®, SDL Tridion R5™, BluePrinting™, SiteEdit™ and WebForms™ are trademarks of
SDL Tridion Holding B.V. or its affiliates. All other company or product names used herein may be trademarks of its respective owners.
Process Flow
The demo will follow these steps:
1.
2.
3.
4.
5.
6.
The Web master changes a template for the Web site
The designer changes the design of the template
The developer creates new functionality
The Web master adds the new functionality to the template
He previews the page until he is happy with the result
The Designer modifies the design for a local brand
Three different roles collaborate to deliver the end result!
 Web master
 Designer
 Developer
The running demo will only take 4 minutes
2
The Web master want to change a
template so opens it with Template
Builder.
3
He runs the template to see how it
will look on the Web site.
He finds it consists of
three different modules.
4
Template Builder prompts him to
select the page he wants to test this
template with.
5
The modular template is
executed on the server.
Template Builder shows its
progress…
6
He chooses to view the result in a
bigger screen.
And allows the Web
master to view the result.
7
Since he is not very satisfied with the
visual design, he will ask the
Designer to change the design
module.
8
The Designer uses Dreamweaver to
change the design module. She can use
all standard Dreamweaver functionality,
and needs no specific knowledge of SDL
Tridion R5 templates.
The Designer can open and check
out the template directly from R5.
9
She makes the desired changes…
10
…and saves these back to R5. She
notifies the Web master who can now
review the changes.
11
The Web master runs the template
again within
Template Builder…
… and views the result in a bigger
screen in order to see the changes
12
In the mean time, the team’s Developer is
creating new functionality using Visual
Studio.NET. In this case, he builds a
bread crumb trail.
The Developer can use any .NET
language to write the functionality. In
this case, he uses C#, and he can
easily write code using IntelliSense.
13
To start the debugging process, he runs
the template from Template Builder, and
uses breakpoints to bring him to the right
part of his code inside Visual Studio.
Using remote debugging, the Developer
can execute the code on the server while
doing his debugging work within Visual
Studio. While he debugs the code, other
users can continue to work on the server.
14
After building his .NET assembly, the
assembly and its associated classes are
automatically saved in R5 so they can be
used.
15
The new functionality now appears in
Template Builder, and can be
dragged onto the template
16
The Web master runs the template again
but sees that the bread crumb has not
been added to the page yet…
17
However, he sees that the BreadCrumb
assembly itself gives a correct result. He
therefore asks the Designer to add the
BreadCrumb to the design module.
18
The Designer uses Dreamweaver to
add a simple tag to the design, and
saves it.
19
The Web master runs the template
again…
…and sees the bread crumb is now
displayed correctly.
He is now happy with the design and
starts using he template for the Web site!
20
As a next step, he needs to modify the
design for Switzerland, that uses a
separate brand.
21
To achieve this, he only needs to
localize the design module of the
modular template. After doing this,
he asks the Designer to apply the
local brand.
22
The Designer opens the localized design
module, and changes it to match the local
brand.
23
The changes include a new logo and
a different color scheme.
24
She uses Template Builder to run the
template and evaluate the result.
25
All functionality in the modular
template works correctly. If the
Developer decides to change for
example the bread crumb
functionality, the Swiss template
will automatically pick up those
changes, since only the design
module was changed.
26
Modular Templating Benefits
Modular design: separate visual design, content and code
 Different roles can work on different modiules
Reusable building blocks
 BreadCrumb assembly can be used in many templates
Choose, combine and extend technologies
 Modules can be written in Dreamweaver, XSLT, VBScript, JavaScript or
any .NET language
 Organizations can leverage the skills they have available
BluePrinting & brand management
 Modules can be localized to allow for variation in brands
Support for industry-standard tools
 Dreamweaver, Visual Studio
Shorter time to market
 Drag and drop template development!
27
Download