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.

Show HN: Cutlass Wordpress Theme Using Laravel's Blade for Theme Development

23 pointsby ebilgeniusover 10 years ago

4 comments

joshcanhelpover 10 years ago
This is not a good idea, IMHO.<p>First, you&#x27;re still using the WordPress API so you have to know that to begin with. If you want to do X, you have to figure out how to do X with WP, then learn Y in Cutlass to do X. You&#x27;re essentially adding a theme layer on top of an existing theme layer. You save characters, I see that, but I&#x27;m not seeing anything particularly compelling on the examples page [1].<p>The other big problem I see here is maintenance. WordPress is a particularly compelling platform because of its popularity and very large developer community. Build a site in WordPress and it&#x27;s easy to find someone else to improve and maintain it. Build the theme in Cutlass, however, and now the number of people who can maintain it is drastically reduced. If I saw this in a theme, my first response would be &quot;step 1, let&#x27;s get this out&quot; (as it was when I saw Smarty being using in a theme), rather than &quot;I should learn this for this one project.&quot;<p>If you develop with WordPress on a regular basis and don&#x27;t like the theme layer, help the core team improve it, don&#x27;t write another one on top of the existing one.<p>[1] <a href="http://cutlasswp.com/examples/" rel="nofollow">http:&#x2F;&#x2F;cutlasswp.com&#x2F;examples&#x2F;</a>
评论 #8495234 未加载
ceejayozover 10 years ago
I&#x27;m a massive Laravel fan, but Twig would likely be a better template engine. Blade IIRC just does simple regex replacements for certain PHP constructs, whereas Twig is an actual full parser.
评论 #8493141 未加载
raphman_over 10 years ago
&gt; &quot;more quickly then you ever have before.&quot;<p>Make it &quot;than&quot; ;)
brokentoneover 10 years ago
This is pretty genius, using modern PHP on top of WP&#x27;s very heavy legacy. Well done.