A Case For Hand-Coding HTML
People still do hand coding, but mostly either on large projects or in boutique design houses. Tools such as WordPress, RVSitebuilder, and many other content management systems (CMS) frameworks may be great for getting a site up quickly, but 90% of the sites end up looking like clones.
What are the downsides of CMS?
- They generate terrible code. If you look at the code generated by most CMS tools it’s a mess. CMS code is much longer and far less readable. Each time you change or edit formatting, the code gets worse. Switching from a CMS-generated page to hand coding is very hard because of this. It is better to start over with hand coding.
- CMS tools are limited. For a single page or simple website, a CMS tool might work fine. Once you start doing complex layouts with dynamic content, you’re going to have a bad time. And eventually, you’ll hit a wall that you cannot move beyond without hand coding.
- Learning to create a website on CMS does not make you a web developer. At most, you will have learned the CMS system and most of these reduce us to mere point-and-click or copy-and-paste artists.
What are the upsides to hand coding?
- Readable code. The HTML or PHP code generated by hand coding is in a proper layout, readable, and optimized. There is usually a lot less code as well.
- Better SEO rank. Hand-coded websites have a proper HTML structure with no meaningless code and thus search engines can easily find keywords and that results in better SEO rank.
- Control over the code. CMS builders often do not allow you to modify the core code, but if you hand code, you have total control.
- Fewer Dependencies. CMS systems are dependent on many back-end programs and software to run properly. Many of these systems are provided by the Service Provider and if something fails or is not up to date, you have a problem. Hand-coded sites have much fewer dependencies.
- Sites load faster. Hand-coded sites load faster as they are usually not bloated with auto-generated code and most hand-coders will optimize both code and content (images, etc) to be as small as possible. This can make hand-coded sites load up to ten times faster than CMS sites. Conversely, badly hand-coded sites may load far slower than a CMS-generated website.
It’s another skill for you