Posted in .NET, General Development (API) on Nov 29th, 2006
In my last post, I’ve written a simple method to retrieve the youngest child. Lars, colleague Sitecore evangelist, pointed me on my usage of iterators and indexes. So’ve decide to do some optimising on the code. The results when running the code 100 times where unbelievable:
Timing of section ‘Unoptimized’: 436,523636383954Timing of section ‘Optimized1′: 24,8905936369008Timing of section ‘Optimized2′: [...]
Read Full Post »
In this thread on the SDN5 Forum someone is asking for a way to select the youngest child of an item. I’ve written a quite simple code snap for this:
Â
public static Item GetYoungestChildUsingApi(Item parent)
{
if (parent == null)
{
throw new ArgumentException(“The object ‘parent’ cannot be null”);
}
//Check for children
if(parent.HasChildren)
{
//I know the parent has at least one child, select it
Item [...]
Read Full Post »
Posted in 5.3, Design Documents on Nov 14th, 2006
So far I’ve seen several people do have a hard time to design their new Sitecore solutions with support for multiple inheritance in templates. Actually, I haven’t got the time to find out some best practices. But so far I’ve found out a way to document Templates and Master in an easy way. __Standard Values [...]
Read Full Post »
Posted in Community and the Web on Nov 14th, 2006
“A small step for a techie a big step in the community!”, with those words, Alexey Rusakov, developer @ Sitecore, opened the brand new community forum on SDN5.
Thank you Alexey and Sitecore for this initiative! Hope we can fully migrate the community from the Yahoo Group to its new place!
Please fill in your signature, so we [...]
Read Full Post »
Posted in Best Practices, Experiences, XSLT on Nov 14th, 2006
One of the most annoying behaviours for a programmer is when someone is using a
language or a method which he isn’t familiar and he directly finds out it’s done in a ugly way. So don’t leave the trash behind you for maintainers bu write proper, nice solutions. Some examples for XSLT, simple stuff to do, [...]
Read Full Post »
Posted in 5.3, Experiences on Nov 13th, 2006
11:00: Finally got to the work I’ve to do today. Insert templates in our solution. Direct found out that we’ve to document our templates and masters in a different way. Will come back on that topic in a post later today.
11:30: Strange, but it’s definitelly hard to change the base template of a template. You can [...]
Read Full Post »
Posted in 5.3 on Nov 12th, 2006
This article might be only interesting for folks who work with XP…
Create a website called ‘Sitecore 5.3 Playground’
Start installing the latest version of 5.3 on your machine, in for me:D:\NET Development\Sitecore project\Sitecore 5.3 Playground\
Point the webroot of the site, created by 1 to your %installdir%/Website/
Launch the site, do some trouble [...]
Read Full Post »
Posted in 5.3, Experiences on Nov 12th, 2006
Maintaining larger solutions is always hard, as unexpected occur(for example, your server contains a 300GB HDD for logging which is filled after 2 week of running).. I’ve seen the same problems. Today I’ll discuss how to configure Log4net in the way the system operator stays happy. This should become a part of the deployment proces [...]
Read Full Post »
Posted in 5.3, Experiences on Nov 10th, 2006
Just created a small but very useful tool for nearly every Sitecore 5.3 developer: a specific Site configuration option which can update keys without recycling the application pool(appSettings will cause a full Application Pool Recycle which can be very annoying).
I’ll walk trough together with you guys trough the steps which are required to use this [...]
Read Full Post »
Posted in 5.3, Experiences on Nov 10th, 2006
10:10: Quite annoying behaviour of the installer, it keeps boosting my CPU usage to some figure around the 100 percent. This is killing my Outlook experience .
10:15: When creating different websites on your XP machine, I noticed you’ve to create the site before going to the site selection screen in the installer. This screen [...]
Read Full Post »