How to Make Website Templates More Useful

If there is one thing I’ve been disappointed with in the last few years, it’s the amount of tedium involved in taking a website sample or template and modifying it to get to something close to what I envision. This is because most templates don’t actually solve the problem I want them to. Often they aren’t even site templates, they are style templates. Often enough, they do come with some demonstration of components, but that can be picked up easily enough on it’s own with a simple web search. What I’d like to explore here is a simple list of functionality that templates should include. The people who search for an buy templates are new to code as often as not. And even when they are expert in one thing, they often are missing some of the expertise needed to adequately apply a template…resulting inevitably in time spent fighting a framework instead of jumping into the meat of their site and working on functionality that drives business more directly. Bear in mind, I am writing from a .Net-centric experience, some of this will need interpretation to other frameworks but it is conceptually language agnostic.

Full disclosure, my reason for writing this is as much to disseminate an idea as it is to cement my own thoughts about what makes a good template. I’m working on a project at DotNetNitro to deliver good templates for .Net developers, so we can all deliver high quality sites faster, more reliably, and within budget.

What Makes a Good Template?

  1. Multiple Pages Framed out with sample content (I like 7–10 as a target)

  2. An easy to extend pattern of navigation with more than 3 demonstrated links

  3. A fully functional component outline of all major controls

  4. Registration and Login screens that are fully framed into easily modified backend code

  5. Demonstrated implementation of partial views

  6. A built-in and easily rigged (via configuration) email collection form. At this point these are ubiquitous but often are absent from templates for some reason.

  7. specific demo pages designed around specific features that you highlight in the template description on your sales/download page

  8. A readme or set of markdown files that are actually worth reading.

Really a rather straightforward checklist in my opinion. Some of these could use a little more detail though. Let’s look specifically at a few.

Framed Out Pages

In general I want to see a homepage (duh), registration/login, generic post, account/password recovery, contact, about, pricing, components, and email signup (which may not be it’s own page but at this point is should be considered necessary for all apps). This isn’t exhaustive, and it shouldn’t be, but we’ve been on the internet long enough to realize that all of these are ubiquitous enough that simple providing a simple functional layout is preferred. They are easier to delete from a project than they are to add manually and the time savings makes it more than worth the effort for a template purveyor to supply.

Easy to Implement (and Extend) Navigation

This one is likely an oversight caused by the tendency of designers to assume that they are selling to designers. This isn’t always the case, and I see a lot of people missing the mark on these. Especially with respect to the asp helpers that really should be leveraged more in templates for dotnet based users. In designing to be more general, templates around the web will completely miss the fact that people searching and using templates are often not CSS wizards and can’t just hit the ground at a dead sprint to deliver a product. From a customer service perspective, consider that making it as easy as possible trumps protecting any IP rights you might claim to what is inevitably a recycled interpretation of previous work. Help your users out folks.

Easily rigged email form

Lets face it, email signups and mailing list subscriptions are a fact of our internet existence and despite grumblings are very useful to both senders and sendees. Places like Mailchimp and Sendgrid and others all use the same basic format with the same basic inputs. How about we start including, as a standard, control sets on a screen that require only very minor changes. No one likes to have to hack that stuff together in a way that fits their the style of their site (which as often as not is also hacked together).

Readme File

For cripes sake, lets please start providing actually useful documentation. Inference from existing html and css does not equal documentation. I believe firmly that some of the security issues that abound on the internet are created not by bad code, but by bad documentation that leads to poorly hacked together implementations. This boils down to knowing your audience and giving them tools that help them be better and more secure.

Partial Views

These feel like a no brainer, but guess how many I’ve seen in templates in the wild? I can’t remember ever seeing one! There are obvious templates designed for blogs, and postings, and repeated structures on some page or another, but inevitably it is left to the user to figure out how to make it work in their respective frameworks and in a way that won’t require a bunch of hands on manipulation to update in the future. Let’s all resolve to demonstrate decent software design patterns in our design templates. Paying that value forward means you add more value with very little extra work. If your goal is to be useful on the internet, you should be aiming at maximizing delivered value. This is a good place to expand the quality of your deliverable.

All in, none of this is difficult to do, and it still fits within the same paradigms already in use: create a rough template, build multiple variants, bill these variants as their own downloadable product. Lather, Rinse, Repeat. Even if you’re delivering free content as I intend with DotNetNitro, you can still leverage the work you’ve already done to generate additional content and make the internet a more beautiful place.

Saving Developer Life By Saving Developer Time

I’ve been a developer for nigh on a decade now. Before that, an engineer for a time, a high school physics teacher, and long time tutor. All that just to reinforce that I fully understand that some work is done by rote and the less time you have to spend on it, the more time you get back in your life. This is a personal mission for me. I hate avoidable wasted time and manual execution of what should be a dead simple automatable task. I figure Medium is as a good a place as any to drive my mission to save developer life by giving back developer time.

In this article I intend to share a tool which I am building for myself, but which I have decided to make freely available to the public. There you go, TLDR complete. This is just a developer trying to be useful on the internet.

Building your own library of templates and reusable tools is an essential long term project for every developer, but once done, share your tools and pay it forward.

The Project

Over the course of the last couple of years I’ve dipped in and out of freelance work and project after professional project, taking way too long to realize that much of what I was doing was simply repetition of things I’d done before. It speaks to a need for members of any profession to build him or her self a personal tool kit to get things done.

Enter DotNetNitro. A straightforward attempt to build a set of useful templates for .Net developers. Built so they get up and running on new web projects faster, and complete them in less time so they can go home to their families before the sun goes down. Granted, this isn’t going to be for everyone, one dev can only help so much, but I am confident that by choosing to start this tool with .NET and .NET Core I can help a great many developers pretty quickly…assuming I can get the word out.

Over the years my templates and sample projects have grown to fill Terabytes of space on my machines. This is an attempt to finally organize it so I, and anyone else who wants to use it, can execute better and faster with less rote work. It’s an attempt to give back some power to the developers to make the choice to work more deliberately on more code that’s interesting and to stop wasting our time (and thus our life) writing the boring boilerplate type stuff that we all eventually grow to hate.

Atop .NET, I’ll be building all of them with standard bootstrap and JQuery (being sure to keep their versions up to date) and expanding as I move forward into things like REACT and VueJS. I aim to build this into a tool that can make me more productive for my clients, and in so doing build the same for other devs, so the range of templates is by no means concrete.

To be completely clear, I believe that going through the exercise of building your own library of templates and reusable tools is an essential long term project for every developer, but once you’ve grasped the major bits you should be looking for tools to help you achieve faster. This is a tool I think is best used after you understand the fundamentals, the speed gains in that situation will be much better leveraged as you will find yourself fighting the framework less often.


DotNetNitro templates will be delivered in two ways. My preferred startup method is via the Visual Studio project menu’s (what can I say, it’s my only real vice) so I’m building a Visual Studio Extension first. Soon after that I’ll be sure to deliver the same set of projects to the VS Code crowd, love that tool. All the while I’ll be delivering templates in zip format from the website itself, downloadable on demand at any time.

Several templates are already built and more will be added to this on a schedule somewhere between biweekly and monthly, so the available collection and the supported technologies and functionalities should be expected to grow.

All templates for DotNetNitro will be provided free of charge, open sourced with an MIT license.

Join the Cause

As of this writing, the extension is not live, but you can make sure you stay apprised of the project as it develops. Just hit up the website and sign up for the newsletter. Expect the extension and first batch of templates to be published to the marketplace and downloadable from DotNetNitro directly some time in May.

In the meantime, templates will be built and content created. I may even put together a more formal manifesto outlining intent and convictions I’d like to build into this early on. In the meantime, Cheers! Leave work on time, hug your families, share a meal, and spend some a bit more time living life for real and waste less of it on repetitive coding tasks.