Re:Ask HN: Any minimal framework for small website?
by panic on Friday September 23, 2016 @02:32AM
(#12562723)
Maybe this is an odd question, but… why do you need a framework? Could you use plain HTML, CSS, and JavaScript?
[ Parent
| on HN ]
Re:Ask HN: Any minimal framework for small website?
by hilti on Friday September 23, 2016 @01:13PM
(#12566223)
Completely agree on this for small websites!
I use "oldschool" HTML, CSS and simple PHP includes for stuff like navigation, footer, etc. It's easy to maintain and fast.
My workflow looks like this:
Buying template/theme at e.g. Wrapbootstrap.com and then moving reuseable stuff like navigation, breadcrumbs, footer into PHP snippets and include them.
Finally using mod_rewrite via .htaccess for nice links.
Deployment / syncing is done by a simple BASH script which uses rsync command.
Re:Ask HN: Any minimal framework for small website?
by crashdown on Friday September 23, 2016 @10:58AM
(#12565078)
I completely agree with this. You don't need a framework for a website at all - especially if it's a small one. Saying that, you can't go wrong with https://getbootstrap.com/
Re:Ask HN: Any minimal framework for small website?
by damaru on Friday September 23, 2016 @10:39AM
(#12564937)
That is what I am doing now, but I was wondering about boiler plate code, most site have menu, pages, contact form and some of these basic elements, at which point it feel redundant to re-create each time.