News for hackers. Stuff that matters.

Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go?

I have been contracted to build a simple, stupid (yet somewhat powerful and not lame) hosted CMS.

I have to code it with PHP/MySQL (and JavaScript/AJAX as needed).

It has to be capable of building small, mainly catalog/brochure sites, sans a lot of bells and whistles. Ease of use is the most important criteria.

I am wondering whether to pick up an open source project and mod it or build from scratch.

All suggestions welcome.

( 10 comments | on HN )
Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by borplk on Tuesday June 06, 2017 @05:04PM (#14501314)
Please do your client a favour and find a way to use an existing CMS. There are countless options available.

Building something custom effectively means you are stating that your requirements somehow happen to be so unique that somehow all the existing solutions are not adequate. Otherwise it can't be justified.

And the chances of that statement being true is astronomically low.

If you think of it as a spectrum,

One one end there's the "shitty 50 line python script I created for my own problem in an hour in an afternoon".

On the other extreme end is "new CMS we are building to challenge all the existing ones because we are in the business of making a new CMS and we have raised millions and millions".

Everything else in between (where the CMS itself is secondary to a different primary problem being solved) does not justify the creation of the CMS.

It's like deciding to first manufacture a cook-top because you want to cook a really tasty dish of scrambled eggs.

Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by itamarst on Monday June 05, 2017 @11:02AM (#14488077)
Customizing an existing one is better insofar as:

1. Its usually faster, since you're just writing a plugin or overlay or whatever on someone else's work.

2. Makes it easier for customer to hire other people to maintain it when you've moved on.

Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by coreymaass on Wednesday June 07, 2017 @07:19AM (#14505257)
I wrote a single file CMS a couple years ago, similarly out of necessity. It might be a place to start. Build off of it as you need to.

https://github.com/gelform/GelCMS

Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by smt88 on Monday June 05, 2017 @11:44AM (#14488411)
The best thing for your client is hiring a designer to customize SquareSpace or something similar. There's absolutely no reason to custom-build something that's been built and open-sourced a thousand times already, but there's also no reason to self-host or use a FOSS CMS, either.
Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by willcate on Monday June 05, 2017 @11:27AM (#14488252)
The last one of those I did from scratch, using Bootstrap for all my CSS needs, but answer from itamarst below is probably better.
Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by sharemywin on Monday June 05, 2017 @10:59AM (#14488054)
What's wrong with wordpress?
Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by eberkund on Monday June 05, 2017 @11:03AM (#14488087)
WordPress is far from simple. Plus anything more than a low traffic site requires pretty beefy hosting.
Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by webtechgal on Monday June 05, 2017 @11:50AM (#14488455)
> WordPress is far from simple.

This.

> anything more than a low traffic site requires pretty beefy hosting.

My experience indicates otherwise. A case in point: one of the WordPress sites I manage averages ~80k page views/day, peaking to well over 125k/day during peak periods twice a year, and I keep it chugging along happily on a $20/mo Digital Ocean droplet.

Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by pwason on Monday June 05, 2017 @11:45AM (#14488416)
ProcessWire.
Re:Ask HN: Need to Build a Simple, Stupid CMS. Which Way to Go? by webtechgal on Monday June 05, 2017 @12:07PM (#14488663)
Looks good, thanks. Will check it out.