{"id":139636,"date":"2014-10-30T13:00:51","date_gmt":"2014-10-30T18:00:51","guid":{"rendered":"https:\/\/getflywheel.com\/?p=6359"},"modified":"2024-01-25T10:11:34","modified_gmt":"2024-01-25T16:11:34","slug":"code-from-scratch-or-template","status":"publish","type":"resource","link":"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/","title":{"rendered":"Should you Code From Scratch or a Template?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It\u2019s time to build a website, which means you\u2019re about to take one of two paths: code from scratch or work from a template. Coding a website from scratch allows much more freedom and customization but is a little longer of a route. The second path, starting with a website template, is much quicker and simpler but can limit your creativity.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Both methods have their pros and cons, and realistically you can probably make either option work. But that doesn\u2019t mean that one isn\u2019t a heck of a lot better than the other for the particular project you\u2019re working on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ask yourself these four questions to decide if coding from scratch or from a template is best for your next website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do you Have the Skills to Code it from Scratch?<\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/getflywheel-images.s3.us-east-2.amazonaws.com\/uploads\/2014\/10\/4556156477_c21fa939a8_b.jpg\" alt=\"Bookshelves full of books sorted by color. Photo courtesy of See-Ming Lee\" class=\"wp-image-6363\" style=\"width:768px;height:559px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">How difficult is the website you need to build compared to projects you\u2019ve done in the past? Is there a learning curve to tackle, or does the solution come naturally to you?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you know where to start and how to get to the final product, then by all means keep coding from scratch as an option. One of the benefits of a template is that it does a lot of the structural work for you. That\u2019s great if you need the help, but if you know what you\u2019re doing, a template might get annoying with its limitations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don\u2019t have the skills yet to complete this project, that doesn\u2019t automatically rule out building a website from scratch. Be honest with yourself: Will you be able to gain the skills needed in a timely manner? Or is it best for your client (and your sanity) that you sit this one out and start with a template?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There\u2019s nothing wrong with challenging yourself with a new project. But be realistic and choose your battles with code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do you Have the Time to Code it From Scratch?<\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/getflywheel-images.s3.us-east-2.amazonaws.com\/uploads\/2014\/10\/3910685423_52df5bee6e_b.jpg\" alt=\"An analog clock on purple siding. Photo courtesy of Seth\" class=\"wp-image-6360\" style=\"width:768px;height:628px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">What\u2019s the deadline for this project? Do you have adequate time to play with it, or does it need to be done by, like, yesterday?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One great thing about templates is that they\u2019re quick and easy to set up. Sure, you might still dive into the code to change certain aspects, but overall you can go live pretty quickly. If your client just needs a site up fast and isn\u2019t too picky about how it looks, using a template is a pretty great option.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don\u2019t have such a tight deadline and have time to play with a website, feel free to experiment. Play with the code and make it something truly unique and special for your client.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does the Client Need to Understand the Code?<\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/getflywheel-images.s3.us-east-2.amazonaws.com\/uploads\/2014\/10\/352083936_fc4996f79c_b.jpg\" alt=\"Code written and printed in a book. Photo courtesy of Paolo Tonon\" class=\"wp-image-6364\" style=\"width:768px;height:395px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Your client may know nothing about code or everything about code. And if they want to be involved with the website once you\u2019re done building it, you have to keep their skill level in mind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your client only knows the basics of HTML and CSS, you\u2019ll make their life a lot easier by building off a template. Using a WordPress layout, for example, will allow them small customization options without ever having to dive into the code. They\u2019ll love how easy you\u2019ve made it for them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For advanced clients, or the clients who never want anyone to touch the code besides yourself, go nuts. Start from scratch and have fun it with. Since it doesn\u2019t need to be simplified, don\u2019t settle for the basics. Go ahead and use those fun tricks you\u2019ve learned over the years to make a killer site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is the Layout Advanced or Pretty Basic?<\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter is-resized\"><a href=\"https:\/\/getflywheel-images.s3.us-east-2.amazonaws.com\/uploads\/2014\/10\/summer-beach-huts.jpg\"><img decoding=\"async\" src=\"https:\/\/getflywheel-images.s3.us-east-2.amazonaws.com\/uploads\/2014\/10\/summer-beach-huts-1024x682.jpg\" alt=\"A row of sunny summer beach huts all with different, vibrant paint colors\" class=\"wp-image-6365\" style=\"width:768px;height:512px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you know of a template with the exact layout you want to achieve, why would you code it by hand?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re going to change the structure significantly or are trying something advanced, coding from scratch makes sense. If the solution is easier because you\u2019re building it up on your own, go for it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But if you\u2019re just trying to achieve a basic website layout that\u2019s already been done before, why wouldn\u2019t you save yourself some time and just use the template? You\u2019ll still have the opportunity to dive into the template code to personalize things, so make the project easier on yourself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s cool to show off what you can do with code, but always remember to keep your client\u2019s needs in mind over your personal agenda for the website. If their needs call for a really advanced, custom website that you have plenty of time to work on, do it. Pour your heart and soul into it. But don\u2019t code from scratch just to <i>code from scratch<\/i>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Run Clean, Quick Code with WP Engine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The best sites don&#8217;t just run clean, minimalist code\u2014they also choose the fastest, most reliable hosting to ensure every aspect loads seamlessly for any end user anywhere in the world. Check out WP Engine if you&#8217;re looking for fast, reliable <a href=\"https:\/\/wpengine.com\/wordpress-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress hosting<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s time to build a website, which means you\u2019re about to take one of two paths: code from scratch or work from a template. Coding a website from scratch allows much more freedom and customization but is a little longer of a route. The second path, starting with a website template, is much quicker and<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":1,"featured_media":140347,"template":"","resource-topic":[912],"resource-role":[1397,896],"resource-type":[916],"class_list":["post-139636","resource","type-resource","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Should you code from scratch or a template?<\/title>\n<meta name=\"description\" content=\"Ask yourself these four questions to decide if coding from scratch or from a template is best for your next website.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Should you code from scratch or a template?\" \/>\n<meta property=\"og:description\" content=\"Ask yourself these four questions to decide if coding from scratch or from a template is best for your next website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-25T16:11:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2014\/10\/sunny-huts-header.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/\",\"url\":\"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/\",\"name\":\"Should you code from scratch or a template?\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\"},\"datePublished\":\"2014-10-30T18:00:51+00:00\",\"dateModified\":\"2024-01-25T16:11:34+00:00\",\"description\":\"Ask yourself these four questions to decide if coding from scratch or from a template is best for your next website.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/wpengine.com\/case-studies\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Should you Code From Scratch or a Template?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\",\"url\":\"https:\/\/wpengine.com\/case-studies\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/f5301455463371a10d1fc290e9ad0085\",\"name\":\"WP Engine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"caption\":\"WP Engine\"},\"sameAs\":[\"https:\/\/wpengine.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Should you code from scratch or a template?","description":"Ask yourself these four questions to decide if coding from scratch or from a template is best for your next website.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Should you code from scratch or a template?","og_description":"Ask yourself these four questions to decide if coding from scratch or from a template is best for your next website.","og_url":"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_modified_time":"2024-01-25T16:11:34+00:00","og_image":[{"width":1100,"height":500,"url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2014\/10\/sunny-huts-header.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@wpengine","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/","url":"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/","name":"Should you code from scratch or a template?","isPartOf":{"@id":"https:\/\/wpengine.com\/case-studies\/#website"},"datePublished":"2014-10-30T18:00:51+00:00","dateModified":"2024-01-25T16:11:34+00:00","description":"Ask yourself these four questions to decide if coding from scratch or from a template is best for your next website.","breadcrumb":{"@id":"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/case-studies\/resources\/code-from-scratch-or-template\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/case-studies\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/wpengine.com\/case-studies\/resources\/"},{"@type":"ListItem","position":3,"name":"Should you Code From Scratch or a Template?"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/case-studies\/#website","url":"https:\/\/wpengine.com\/case-studies\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/f5301455463371a10d1fc290e9ad0085","name":"WP Engine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","caption":"WP Engine"},"sameAs":["https:\/\/wpengine.com"]}]}},"acf":[],"grid_image_url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2014\/10\/sunny-huts-grid.png","media-type":{"term_id":916,"name":"Article","slug":"article"},"role":"<strong>Roles:<\/strong> Designer, Developer","topic":"<strong>Topics:<\/strong> Performance","_links":{"self":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource\/139636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource"}],"about":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/types\/resource"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/users\/1"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media\/140347"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media?parent=139636"}],"wp:term":[{"taxonomy":"resource-topic","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-topic?post=139636"},{"taxonomy":"resource-role","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-role?post=139636"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-type?post=139636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}