TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Modern wordpress development? How?

9 pointsby rtfm666almost 11 years ago
Does anyone have any resources for developing wordpress without feeling like it&#x27;s 1998.<p>I am talking CSS preprocessors, Git, CI, Bootstrap, mobile first last and in between ... OO php, decent starters kits and just, well, a development workflow that is sane.<p>So far I have: https:&#x2F;&#x2F;github.com&#x2F;romainberger&#x2F;yeoman-wordpress https:&#x2F;&#x2F;github.com&#x2F;welaika&#x2F;wordless<p>Any more?

4 comments

titusjohnsonalmost 11 years ago
Well, you can use git just as you normally would, nothing stopping you from using that. Just make sure you exclude the right directories so you don&#x27;t deploy your local wp-content to prod. I don&#x27;t really know of any wordpress &amp; git gotchas.<p>Bootstrap, CSS preprocessors, mobile first, that&#x27;s all dependant on your theme. I&#x27;ve seen some pretty decent setups that incorporate a router similar to what Wordless is doing. CSS&#x2F;Less&#x2F;Coffeescript, you can set up a grunt config to handle all that easily enough, nothing in Wordpress will prevent you from doing this. You should incorporate your CSS&#x2F;JS with the usual WP include functions so that WP Total Cache and similar can cache it properly, but there&#x27;s nothing really weird going on there.<p>So, now you&#x27;ve got grunt linting your JS like a boss, you&#x27;ve nice theme partials, you&#x27;ve got some custom libs that functions.php is bootstraping for you, your theme folder has morphed into its own MVC architecture.<p>There are a _lot_ of shops out there that pump out WP site after WP site. I have to think that a well constructed starter theme that incorporates more modern workflow ideas would go over well, but at the end of the day you&#x27;re still building on top of wordpress. Whatever starterkit you use is still limited by the parent it lives in.<p>To my knowledge the most painful part of WP -- keeping the options data in sync between dev, stage, and prod all the while you add and remove plugins -- is still largely unsolved.
jnorthropalmost 11 years ago
I&#x27;m working with Timber[0] and Twig[1] for our theme. It is pretty slick.<p>[0]<a href="http://upstatement.com/timber/" rel="nofollow">http:&#x2F;&#x2F;upstatement.com&#x2F;timber&#x2F;</a><p>[1]<a href="http://twig.sensiolabs.org/" rel="nofollow">http:&#x2F;&#x2F;twig.sensiolabs.org&#x2F;</a>
kobersteinalmost 11 years ago
Check this out: <a href="http://roots.io/" rel="nofollow">http:&#x2F;&#x2F;roots.io&#x2F;</a><p>looks cool.
ohashialmost 11 years ago
<a href="http://wp-cli.org/" rel="nofollow">http:&#x2F;&#x2F;wp-cli.org&#x2F;</a>