Blogs

Content moderation in WordPress (wordpress apis)

Submitted by Nicholas on Thu, 07/28/2022 - 14:14
Last time we solved a real world problem (creatively), where we moderated the content published on a Drupal site, as we learnt some of the basics of Drupal apis (even though there are ways one could achieve this by configuring the available modules like rules and views). In this blog we will achieve the same, but in WordPress, just like saying hello in another dialect. But how do we do this in WordPress?

An introduction to Drupal apis (creative blog)

Submitted by Nicholas on Fri, 07/01/2022 - 08:00
The problem to solve: Imagine you run a community/social website, where users can comment on posts/comments' threads, but wanted to unpublish some comments based on some rules or company TCs. Maybe some slurs or anything around that. Now you could achieve this without code by configuring modules like rules and views, but our blog title has the word creative and Drupal apis in it: they also say Drupal is a framework and our title is not a clickbait; if you can count beyond ten, those are four reasons why we should solve this problem via custom code.

Improving developer experience as well as front-end performance with webpack.

Submitted by Nicholas on Tue, 12/21/2021 - 11:14

In this blog, we will see how we could improve our front end developer experience as well as performance by introducing webpack (plugins and loaders in the eco system) as an extra tool in our front-end development toolbox 🧰 🧰 .

Some of the problems webpack tries to solve include;

  • We can arrange our front-end project into different files and folders for easier development and maintenance and bundle/pack that maybe into one or several files as our app requires.

Paypal express checkout and drupal (updated + smart buttons)

Submitted by Nicholas on Sun, 04/25/2021 - 10:38

Two years ago, I wrote a blog demonstrating how one could integrate Paypal express checkout in Drupal, but...; in tech, things move(change) fast, mostly for better:
that blog was about PayPal api v1 - one reason being; the Paypal SDK library we were extending has been abandoned (deprecated) for a better one.

In this blog we will attempt to achieve the same and make things better. We will use smart payment buttons to initiate and authorize an order, and add the necessary logic in Drupal to process the authorized order (payment) details in the request object.