DEV Community

Tim Smith
Tim Smith

Posted on

6 1

Learning From Small Projects

I was recently working on a project for a client where I was using Gatsby.js with a WordPress back-end. I'm using Netlify to host the Gatsby site which works well, but it needs to rebuild the site every time content is updated in WordPress.

My solution was to create a custom WordPress plugin which would make it easy to interact with Netlify and use a webhook to rebuild the site whenever a user updated content. In addition, I created a widget on the dashboard to see the current status of the Netlify site.

Building this plugin taught me more about building plugins for WordPress and has given me a tool to use in future projects where I need to use WordPress with Netlify (which I expect will become more often).

What little projects have you built to help learn a new technology or solve a small problem and help you move forward as a developer?

WP Trigger Netlify Build
p.s. If you're interested in looking at or using the plugin, it can be found here.

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay