Learn the key differences between v4 and v5 in my "When Less is More" presentation, given at Umbraco Codegarden 12.
For those who learned version 5, this presentation shows you what you need to know about version 4. By the end I think you'll agree that Umbraco 4 is a great product that meets real-world needs.
7. Umbraco is the Danish word for an allen key or a hex key
…you know, like you get with IKEA furniture
…the thing that brings everything together to fit perfectly
That's the original umbraco logo in the corner, by the way.
7
8. It’s just as well it’s a type because “unbrako” is a registered trademark
And now when you search for ‘umbraco’ you get results all about the cms
8
9. Difference?
Umbraco is not a SYSTEM you adapt to, Umbraco Is a Framework you form into something you can work with and fit
your needs.
Lotus Elise versus SUV on cruisecontrol
10. 2-fold goal of umbraco sites – fun to build, easy to live with. These are NOT incompatible goals
11. Umbraco isn’t for every situation.
Though you can use Umbraco for almost anything, be aware of what it’s best at to get the most from it.
12.
13. These are the big 3 building blocks of Umbraco.
Today we’ll handle these in order, starting with document types
13
16. In my opinion, this is the situation between v4.7 and v5.1
All these slides are my opinion.
These things are better in v5, IMO.
But these are also easily corrected in v4 and there are packages to help even today.
16
24. It’s true, Razor is even better in v4 than in v5!
And, you can use XSLT if you want to.
25. The differences between v4 (Master pages) and v5 (views) is mostly about the syntax. The ideas are extremely
similar.
26.
27.
28. Just like with id’s on <div>’s in your html that your CSS will target,
So the content will target the placeholder by it’s id.
Nested or master/child templates.
Eliminate redundancy… make site-wide changes quickly
28
35. New in Umbraco 4.7, you can use Razor macros;
… and can simply point to the file rather than making a macro in umbraco.
… Easier source code control and reusability across projects that way.
Lee Kelleher is working on a similar capability for XSLT
35
36.
37. There’s a syntax difference in v4… you use @Model. In v5 you used either @CurrentPage or @DynamicModel.
Otherwise it’s the same.
37
44. Translators aren’t in v5. It’s a very strong feature of v4.
And there are two excellent helps to make living with multi-lingual sites even easier because editing is easier than
creating (remember to always check the validity of a machine translation before publishing of course)
44
47. Syntax change in the markup, but same functionality.
V4 shown above, equivalent v5 shown below
47
48. Only available in v4.
Use the cool “square bracket syntax” for macro parameters to automatically select values based on a page’s content,
a visitors cookie, or from a form value
48
51. While we’re talking about performance… Here’s a real-world example
During the site and tour launch there were 138 visitors every second.
Even under that load the large homepage rendered in 0.016 seconds (16 thousandths of a second!)
BTW, Umbraco is ready for load balancing (and Azure)!
51
52. Macro caching is free speed!
A slow umbraco macro might take 5 hundredths of a second.
(fix the speed problem if you can)
With caching it takes just 1 ten-thousandths of a second!
52
53. Just specify how long a macro’s output should be cached before it is run again.
53
55. These don’t (yet?) exist in v4 or aren’t as strong.
Get involved and make it happen!
55
56. Personally, I don’t like Canvas (aka ‘live’) editing and always disable it for users. But at least it’s possible in v4.
56
57. All you need to do is set the publish and/or unpublish date and time and Umbraco will dutifully take care of
everything.
This is not available in v5.
57
58. Yes, I really like XSLT. I also like Razor. It’s great having the choice to use the best/preferred tool for the job.
58
67. Reserved urls and paths let you put your pages and applications in an umbraco site and tells umbraco to leave them
alone.
Turn off debug mode when going live – it also disables the output trace from ?umbDebugShowTrace=true
67
68. Specify (culture-specific) 404 pages for your site
Built-in task schedular
Redirect users to your own customized help pages when they click the help icon in the back office
68