Lot’s of people, myself included, have been extolling the virtues of using a JavaScript MVC framework, instead of a traditional PHP templating system as a WordPress front-end. While I’m pretty down on how WordPress traditionally handles templating, the one thing it does well is translation strings. WordPress is full of great functions for making text translatable. While angular-translate and other modules are available for localization, they all feel clunky and redundant when WordPress already has great localization built in. In this article, I want to share a simple way to use WordPress to manage localization and avoid using untranslatable strings […]
JavaScript Coding Standards Released
Contributing to WordPress and the greater community is a big reason why we continue to do what we do – we have a lot of thanks to give in terms of the lives that we get to lead and the freedom to build businesses off of the software. It’s great and it’s a reason to give back. Tom, our technical editor here, just released the JavaScript Coding Standard in the WordPress Codex and has been working on it for the last few months: [O]ne of the things about the WordPress Coding Standards that’s always seemed incomplete to me is how little […]
JavaScript: Is Deep The Right Goal?
I’m very excited to be a part of WordCamp Miami‘s “Learning Javascript, Deeply” track. The fact that five of the seven talks are on JavaScript frameworks, however, is reflective of a troubling reaction I see to Matt Mullenweg’s call for WordPress developers to “learn JavaScript deeply.” JavaScript frameworks like Backbone, which is what WordPress uses, are great ways to make complex JavaScript tasks easy. But it would be foolish to think that learning a JavaScript MVC framework is learning JavaScript deeply. JavaScript: Is Deep The Right Goal? Don’t get me wrong, I’m giving two talks on AngularJS because I think […]
3 Ways to Learn and Experiment With JavaScript (Without a Local Install)
The future for WordPress and JavaScript is looking bright. This is in large part due to projects like Gutenberg, which are leading to JavaScript usage blossoming. Many existing WordPress developers will, therefore, need to learn the language to design modern websites. However, to do so you’ll require a WordPress install full of content to work with, and you’ll almost certainly come across a myriad of files that could play havoc with your learning. Fortunately, there are a number of tools available that don’t require a full WordPress installation. These are essentially sandboxes that let you code snippets without having the other elements in […]
Intern: JavaScript Testing Stack
I got wind of this recently via Dougal Campbell and I wanted to repost and share it here since after taking a look I found it a valuable resource that’s worth a second of your time. It’s a browser-based system (or you can use Node.js) and test to your heart’s content. Check out Intern when you have a chance.
No Comments
Start the conversation