Posted in 6.1, Best Practices, Sitecore on Feb 1st, 2010
A very common question I receive is that people don’t know anymore where to setup Insert Options. Especially with the new possibilities of the Sitecore 6.1 content management system.
Here’s my view on this:
Individual item
Rarely, you want to setup Insert Options on individual items. Something when you have a specific folder or section in your website, you [...]
Read Full Post »
I often find out that I can cause exceptions on Sitecore sites. This can really harm your website. For example, enough exceptions can let your application pool perform a restart. After this restart your Sitecore installation will re-initialise its cache which takes some times. I’ve even seen that IIS dumps it’s full memory running on [...]
Read Full Post »
Dear Derek Roberti,
First of all I’m glad to see you blogging. And you spend a lot of time on good post. This time I just want to add a note which should be common knowledge for all Sitecore Developer. Alex Shyba wrote a comment, but I would expand this a little.
The DisplayName of a Sitecore [...]
Read Full Post »
Got challenged yesterday by a community member. This experienced guy had the following statement:
Just give every object which handles strings a StringBuilder. The overhead is minimal and the performance is maximum.
I do not believe this at all. And although it might be a very micro optimization, it found it worth to try.For quick output, I’ve [...]
Read Full Post »
Pretty funny, I just came across a lack of defensive programming by myself… Over and over I use the following codesnaps:
string query = string.Format(“./*/item[@templatename='{0}']“, CompetenceType);Item[] result = InnerItem.Axes.SelectItems(query);
Do you see the problem? Well, CompetenceType might contain a single-quote… If it does, the parser of the query will throw an error. Blerg! So the yellowpage will [...]
Read Full Post »
There’s a real cool topic on SDN5-Forum about creating items using the API. A bunch of active chaps from the community are present there including Peter who provides a nice solution.
Make sure you also read the following reply written by myself on using the EditContext:
It’s not really recommended to use the EditContext as the code will run [...]
Read Full Post »
It seem that a lot of developers seem to forget that Sitecore has some excellent logging tools which make their life easier. It also gives you the ability to find out about problems which otherwise appear wjhhen the applications is deployed on your production environment.
You can find the log-files these days under %sitecoreRoot%/data/logs and %sitecoreRoot%/data/audit. [...]
Read Full Post »
Posted in Best Practices, Experiences on Apr 26th, 2007
We all know that web development is often driven by concepts and marketing. The goals are msotly marketing related, so as a technical fellow, you’re not leading. As professional developer you should know that such a view has a positive and negative side: positive because it’s driven by goals, not just ‘where they ask for’, [...]
Read Full Post »
Since 3 weeks we’ve got a new colleague at work: Rob. Rob is a very skilled (ASP).NET (senior) developer and we’re introducing him to the world of Content Management. So far he hasn’t worked with a predefined system as Sitecore is. And everytime someone like Rob joins your team, you’ll have new exciting discussion about implementations.
One [...]
Read Full Post »
One of the things I’m missing these days in our productionline of Sitecore solution is a checklist. I’ve created the first part below:
How are you going to install? XCopy? MSI? Installer?
In case of 5.3 have you thought about sufficient rights for creating prepromence counters?
Have you made a release build of your code? [...]
Read Full Post »