I have a CMS that has two menthods to query contents. One that queries by id and another one queries by the name of the content.
ContentManager.Select(12);
or
ContentManager.Select("Content Name");
The way I see the first one would be faster, because the id is an index and doesn't invlove string comparison. While the second one is much easier to work with.
I have worked, for mainatance reasons, with the second one. But if i change the content name, the Select obviously is not going to work anymore. But the Id is supposed to be only o database level, and not visible from the CMS forms.
Edit:Also, if a content were to be deleted and reinserted the string select would work and the id select wouldn't.
I can't come to a common point between this two approachs.
Thank you