Live data from Hacker News

Tonik — WordPress starter theme with CLI, ES6, Webpack and more

github.com

31–40 of 61 posts

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#31
post #9

Earlier quoted context omitted.

WordPress is a cms first and foremost. edit: lol today I learned cms != blog

No. WordPress is a blogging platform. A CMS is much more than that. If you need a CMS you probably want something more than WordPress.

>A CMS is much more than that.

Can you explain?

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#32
post #9

Earlier quoted context omitted.

No. WordPress is a blogging platform. A CMS is much more than that. If you need a CMS you probably want something more than WordPress.

Have you used it recently? What you say was true 10 years ago, but what features does it lack compared to a "true" CMS today? I've built several high-traffic e-commerce sites using it, none of them had a blog. Compared to something like Drupal it's a total pleasure to use.

Same here, I built and oversee 3 WordPress online stores that together do more than $1m/month during peak season (summer).

WordPress has the ability for pages as well as posts (along with versioning of those items). User account management with permissions. Custom fields. What exactly does "true CMS" mean?

And I'd argue the easiest-to-use admin area out there, or so my clients lead me to believe.

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#33
post #9

Earlier quoted context omitted.

No. WordPress is a blogging platform. A CMS is much more than that. If you need a CMS you probably want something more than WordPress.

Have you used it recently? What you say was true 10 years ago, but what features does it lack compared to a "true" CMS today? I've built several high-traffic e-commerce sites using it, none of them had a blog. Compared to something like Drupal it's a total pleasure to use.

[deleted]

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#34

I started separating the admin from the "theme" by using the wordpress rest api (admin running in a subdomain). While this might seem overkill at first but I find that there's a lot less documentation to read and I can reuse a lot more code from other projects without any changes.

I can't picture developing WP themes without WP_Query class. Does that ever pose a problem for you?

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#35

I started separating the admin from the "theme" by using the wordpress rest api (admin running in a subdomain). While this might seem overkill at first but I find that there's a lot less documentation to read and I can reuse a lot more code from other projects without any changes.

Most of my WP sites don't do a lot. Can you use the rest API to handle the contact form and search? that was I could just use a static generation from wp itself. The wp admin wouldn't even need to be publically accessible then.

The WP API handle search but not contact forms. Most plugins still don't provide you with an API.

Contact form 7's latest build has them using their own API - but it's still undocumented.

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#36

Earlier quoted context omitted.

What's your recommendation for an open-source CMS? Preferably one with relatively simple administration that a layman (client) could still comprehend. cc @tyingq, @zaphar, @bybjorn, @dangerface

I like Craft CMS[0]. It's very flexible and developer friendly. Great for custom site builds. [0]: https://craftcms.com/

Does it support multisite? Multisite is a big reason for wordpress's popularity as a CMS.

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#37
This looks pretty cool. A couple years back, I built a similar starter theme and CLI package for WP dev. Back then CoffeeScript and Grunt were the norm, so it's a bit outdated now. But the CLI actually grew from a scaffold like you have now, to being able to deploy over SSH using Capistrano, database and all, which was really nice.

I don't do much WP dev anymore (thankfully moved to using Rails, Go and Node), but when I do I usually use that old project for deployment. I'll be sure to check this out, as the services architecture looks like a nice change of pace. I tried Bedrock/Sage in the past, but it was just too much for me and made some things harder than they should be.

Added links to my old projects below in case anybody is curious,

[0]: https://github.com/themejuice/tj (CLI) [1]: https://github.com/themejuice/sprout (theme)

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#38

I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?

It's simple, non-tech admin staff are familiar with the interface (and can be easily trained), there's a vast ecosystem of plugins and integrations for it, it's easy to hire people or teams who have experience working with it. WP has its flaws and an upper limit to what it's capable of, but it's often a very pragmatic choice for small to medium sized content-driven websites.

I hear this a lot, but I've found it to be untrue. When I used to do wordpress development, a large part of my job was to customize admin pages so the non-tech staff could actually use it. The default wordpress admin interface leaves a lot to be desired.

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#39

I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?

What's your recommendation for an open-source CMS? Preferably one with relatively simple administration that a layman (client) could still comprehend. cc @tyingq, @zaphar, @bybjorn, @dangerface

We love Wagtail CMS (https://wagtail.io/) It's a free, beautiful, versatile and fast Django (Python) based CMS.

Check out the sites which are made with wagtail at madewithwagtail.org

cheers, ralph

Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more

#40

I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?

What's your recommendation for an open-source CMS? Preferably one with relatively simple administration that a layman (client) could still comprehend. cc @tyingq, @zaphar, @bybjorn, @dangerface

If you're interested in trying something new - request for an invite at https://pragma.build

You can read more about the project here - https://www.laktek.com/2016/11/29/introducing-pragma/. We'll be sending out more beta invites in the next couple of weeks.

Post reply on HN