One question that we often get from new clients is where to start when building a new site. A while ago we created a Getting Started Guide that can help. However, in this post I'd like to discuss things a bit more generically and talk about strategies for building sites with any Content Management System (CMS).
When a CMS is used to power a site is natural to assume that in a lot of cases the person managing the site content will not be a website developer. In fact, they probably have no idea what HTML is and wouldn't know that a class is used for styling and not something related to school. Because non-technical people are going to be adding content it's important that the CMS is setup so that the user can't break the site.
Here are a few guidelines to keep things easy for your clients.
Those guidelines apply for areas where the user will be editing the content in a rich text editor. For pages where the content is managed by an app you have a lot more freedom with the HTML code as it's common for the CMS take the different content pieces and build the page.
For example, in the Aptuitiv Studio Blog add-on the blog post title, author, date, content and abstract are all pulled together by a content template, mixed in with the necessary HTML and then displayed to the visitor.
The biggest guideline for developers that make it easier for both developers and clients is to focus on building reusable HTML.
What I mean by this is to try and find similarities between pages and build reusable templates or snippets that can be applied to more than one page. This makes it easier to keep things consistent, makes it faster to build the site and makes it easier to add onto the site later.
Do you have any tips that you'd like to share?
Leave the first comment