Photo by Caspar Camille Rubin on Unsplash
MariaDB
Kenn Kitchen

Getting WP Post and Postmeta in Single Rows

WordPress uses wp_posts to store post, page, and Custom Post Type (CPT) data the wp_postmeta table for Custom Metabox data. To retrieve this data you have to read for the post plus multiple linked postmeta rows. In this post, we conquer postmeta with subqueries.

Read More »
Quickie How-To
Kenn Kitchen

Using Redis with WordPress on Ubuntu

Redis is “an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams.” Translation? It makes websites run faster.

Read More »
Nasa on Unsplash
MariaDB
Kenn Kitchen

Building an API Endpoint with Amp (PHP)

API endpoints in web apps are pretty typical these days, but there may be reasons to provide data outside of the context of an application. In this post, we’ll explore how to make a stand-alone API endpoint using PHP and Amp.

Read More »
Photo by Hal Gatewood on Unsplash
CakePHP
Kenn Kitchen

Making a Simple Cell

This tutorial covers the basics of creating a view cell based upon an “articles” table, similar to the one from the blog tutorial on CakePHP.org.  It is written using CakePHP 3.

Read More »
Photo by Samuel Zeller on Unsplash
Go
Kenn Kitchen

Using Templates in Go

Templates in Go are provided through the built-in package “text/template” and “html/template”. In this post, we’ll use the latter to show how to format simple

Read More »
Javascript
Kenn Kitchen

Near Real-Time Updates

For a browser-based application that we produced, we found that our end-users were spending a lot of time on the screen – or getting called away before hitting “submit” – and coming back to timed-out sessions. It became something that I really wanted to solve before the next release.

Read More »
CakePHP
Kenn Kitchen

A CakePHP Contact Form

Contact forms… simple, right?  In CakePHP, it’s not hard, but it requires a couple of techniques that seemed worth a post.  Because a contact form normally collects data that we’re not going to store in a database, a modelless form is a good choice.

Read More »
CakePHP
Kenn Kitchen

Using CKEditor with CakePHP

CKEditor is a popular FOSS rich-text editor used in many software products and by a whole slew of companies.  This tutorial will show you how to include it in your CakePHP applications.

Read More »
Share on facebook
Share on twitter
Share on reddit
Share on linkedin
Share on email

Most Popular:

1200 by 1200
If you're not looking toward the future or trying to improve the current technology, you'll be left behind.Gwynne Shotwell
https://www.brainyquote.com/topics/technology