Category: Node.js
Isomorphic WordPress Applications using NodeifyWP at WordCamp Lancaster 2017
This weekend I'll be presenting on "Isomorphic WordPress Applications using NodeifyWP". I'll also be discussing the NodeifyWP Environment – a Dockerized environment pre-setup for running NodeifyWP applications. Isomorphic WordPress Applications with NodeifyWP from Taylor Lovett
Fluxible at DevIgnition 2016
Today I am presenting at DevIgnition 2016. Fluxible is a framework by Yahoo that follows the Flux architecture by Facebook. The framework enables you to build powerful isomorphic JavaScript applications that are extremely maintainable, extensible, and scalable using React.js components. The Flux architecture employs a “unidirectional dataflow” and has three major parts: “dispatcher”, “stores”, and…
Modifying the DOM using jQuery within React Components in Isomorphic Applications
React works awesome within isomorphic JavaScript applications. There are a number of frameworks and design patterns available for accomplishing this. My personal favorite is Fluxible. In an isomorphic application, your JavaScript renders views both server side and client side. Essentially the same view code is being executed client side and server side. At first it…
Dockunit: Containerized Unit Testing Across Any Platform and Programming Language
Problem: I want my application to work on all the environments I claim to support but I have no way of easily testing updates in each environment. Bad Solution: Continuously push to your remote to force Travis CI to test changes in multiple environments. Good Solution: Containerized unit testing with Dockunit. Dockunit is a simple…
Run WordPress Cron on Real Unix Cron with Node.js
WordPress cron is a confusing beast. Most people don’t understand it or intentionally use it. It is not the same technology as Unix cron. Scheduled post functionality actually depends on WordPress cron. By default on every page load, WordPress checks to see if any cron events are due to fire. If an event is due,…
Node Module for Detecting Modified Core WordPress Files
Modifying core WordPress files is a quick way to introduce security vulnerabilities, break your site, and break future updates. From the perspective of a developer, nothing is worse than searching through a theme and plugins for a problem only to discover a previous developer modified a core WordPress file an introduced a bug. I wrote…