Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialFlavio Carvalho
26,636 PointsCode yourself or CMS?
Hi everyone.
I have a curiosity question: if you can code a website yourself (HTML, CSS and what not), should or should you not still use a CMS (Content Management System).
Now a days there are quite a few different options available such as Wordpress, Joomla!, Drupal and etc.
But should you use one if you can code the website on your own??
Obviously, different projects will ask for different needs, for example if your planning on running a Blog, might be good to have it in Wordpress, so it's easier (me guessing) to "keep up to it". Or if you're developing a website for a small business, that wants to have input on the content they put up, but leave the coding to you, thus you can use Wordpress (or any other), which allows you to do the coding aspects and leave only the content open to the business to create.
If it's only a simple page though, lets say your personal portfolio, rather simple, no blog content. Does it add any security or anything else to use a CMS? Or, which I'm guessing, it's a matter of choice, but the end product won't really suffer nor gain from whether coding-yourself or using a CMS??
Thoughts?!
Thanks for sharing any ideas ;)
3 Answers
Andrew McCormick
17,730 Pointsthis question is almost as old as Mac vs PC. Sidestepping the typical arguments and all the nitty gritty, for me it's just about using the right tool for the job. If the tool I need already exists, then why not use it. If you truly know how to code a complete CMS on the scale of Wordpress or Drupal, then you can easily look at any pre-exisiting tools and know if it's the right tool for you (security issues, bad code, scalabilty, etc). To me, that's all there is to it. Our customers pay us to give them a product that meets (and hopefully exceeds) their needs, they really don't care about the tool we use to do it.
Christian Kristoffersen
32,531 PointsI would at all times choose to use a CMS. This secures your website for future (As you say yourself). In my opinion, everything is easier when you have a Content Management System to run your website and you can update pages much easier and manage url's much easier.
I would in general use a CMS for all my websites. As said, it's secured for the future :) Hope this helps!
Flavio Carvalho
26,636 PointsGood point Christian, thanks for that!
We can always use CMS, it's a matter of "why use?" and "why not use it?" that I was looking for.
Thanks for your response.
Vlatko .
2,526 PointsUse whatever is more efficient for you or the task at hand. Also, when coding a website from scratch, I almost never code it from a blank index file anymore. Look into HTML frameworks, they will provide you with a nice template and set of tools for faster and more efficient cross-browser and responsive coding.
Flavio Carvalho
26,636 PointsThanks for your input Vlatko, appreciated.
Guess everybody sort of likes working with something a little more practical!
Flavio Carvalho
26,636 PointsFlavio Carvalho
26,636 PointsThank you very much Andrew. I definitely don't have the knowledge to code a CMS and I believe that would be more than a "1-man's-job". However, my question was more towards the 'simple website', that doesn't have content being added to it all the time. I should've made that a little clearer, my apologies!
The way I see, Wordpress would really be advantageous because it makes blogging easy, and for those who aren't very proficient at php/MySQL, databases and etc, that would be a tremendous advantage considering they'd have to only create content, maybe work the layout a bit on CSS and the functionality of Wordpress would take care of the rest.
But for a simple static page (not a blog), if it'd there be any advantage or disadvantage on using Wordpress for a simple website or code it yourself. A website that uses HTML, CSS and maybe JavaScript for some interaction, but that doesn't go/need databases or more dynamic content creation.
Thanks again for your input.
Andrew McCormick
17,730 PointsAndrew McCormick
17,730 PointsI hear you. And I still think it revolves around what is the right tool. What will do what you need to. And, with both options being equal, what's the most efficient. I did a one pager a few months ago in Wordpress. I needed user access, and for my client to easily update and manage the content, and we needed it to be done quick. I threw up Wordpress, added some style for my one page, coupled in several plugins, and in a matter of an hour the client had everything they needed with an easy to use interface to update it.
Now, if had been doing this for myself, I would have just typed out the code.
Flavio Carvalho
26,636 PointsFlavio Carvalho
26,636 PointsAha! Nice. So it made the job faster on that case, when you needed it.
Great. Thanks once more for your time!
Jason Montoya
6,550 PointsJason Montoya
6,550 PointsAndy,
"they really don't care about the tool we use to do it."
I bet most clients would have no idea which platform was used to build the site from the other.
As long as the project meets or exceeds the clients needs, they won't care about the tools used to build it. (as you already stated)
When communicating with clients before builds I have come across a somewhat of a stigma in regards to Wordpress as a blogging only system, but after showing them the possibilities and ease of use what these CMSs can achieve, they're much easier to get on board.
Additionally, from a developers standpoint, why try to re-invent the wheel when there are already so many tried and tested themes, plugins, etc to use at will. This not only speeds up the building process, but it usually also guarantees a happy client, in the short and long term.
Andrew McCormick
17,730 PointsAndrew McCormick
17,730 Pointsexactly. I use to hit that border with Wordpress when I knew I was going to choose to use it. Sometimes I realized they just weren't a client I wanted to work because they were going to micro-manage me and tell me what tools I could use (I don't like clients who think they know more about my job than me). Other times I did like you mentioned and should them sites that they never thought would have been a Wordpress site. Now a days, I don't even usually tell them. They describe the problem, I create the solution. Once they see the frontend and how it meets their needs, they are usually happy that the backend is Wordpress because a lot of them are somewhat familiar with it already.