How to connect PHP to a Redis instance on ObjectRocket

Introduction PHP, standing for hypertext preprocessor, is an open source scripting language that can easily be embedded into HTML, making it particularly suitable for web development application. Redis, an abbreviation for remote dictionary server, is considered one of the go-to software programs for structured data storing. The Redis program is an open-source key-value store, can … Continued

What Is A PostgreSQL Cursor?

Introduction to Cursors in PostgreSQL If you’re writing code that interacts with PostgreSQL using Python or PHP, you’ll probably want to use cursors in your scripts. A PostgreSQL database cursor is a read-only pointer that allows a program, regardless of the language used, to access the result set of a query. This conserves the free … Continued

Connect to a PostgreSQL Database using PHP and pg_connect

Introduction Returning data in a variety of forms to meet your needs is what can happen when you run a connect PostgreSQL database PHP pgconnect. It’s all up to you. For example, specifically, you can return a PostgreSQL database table into a table in HTML form. Use the pgconnect PHP method to connect to your … Continued

How to use the PostgreSQL PDO Driver with PHP – Part 5

Introduction This is part five in the tutorial series explaining how to use PHP with the PostgreSQL PDO driver. Part four of this article covered how to retrieve rows from the tblemployee in the PostgreSQL testDatabase. This final part in the series will cover how to delete both a specific data row and all the … Continued

How to use the PostgreSQL PDO Driver with PHP Part 4

Introduction This is part four of the tutorial series explaining how to connect PHP to PostgreSQL with the PDO driver. The last section of the tutorial covered how to update data in the PostgreSQL database in PHP with the PDO driver. This part four will explain how to query data. It is strongly suggested that … Continued

How to Connect PHP with PostgreSQL using the PDO Driver – Part Three

Introduction This tutorial is Part 3 of the series “How to Connect PHP with PostgreSQL using the PDO Driver.” Before we get started, let’s remind ourselves of four of PostgreSQL’s object-relational database management system (ORDBMS) notables. It’s open-source, reliably accurate, compatible with popular operating systems, and well respected in terms of adhering to database standards. … Continued

How to Use Redis Datatypes in PHP Part 1

Introduction When it comes to storing and manipulating complex data structures in memory, Redis is the natural choice. This in-memory data structure server, or key-value store, allows you to work with structures such as maps, lists, sets and much more. In this article, we’ll look at some of these datatypes and talk about how to … Continued

How to Use Redis in PHP

Introduction If you’re looking for a structured solution for storing data in memory, Redis may be the ideal choice. Redis is an open-source, in-memory data structure server, or key-value store. Its name is an abbreviated version of the phrase “Remote Dictionary Server”. What sets Redis apart from other key-value databases is its unique ability to … Continued

Joining MongoDB Collections Using PHP

Introduction All databases will eventually have performance-related issues as data stores grows. Taking simple steps to optimize the database will typically improve overall system performance. This tutorial will explain how to join MongoDB collections using PHP. In order to allow joining MongoDB collections using PHP, you must have MongoDB and the MongoDB PHP driver properly … Continued

Keep in the know!

Subscribe to our emails and we’ll let you know what’s going on at ObjectRocket. We hate spam and make it easy to unsubscribe.