Unlock your potential with a Pro Membership
Here is where you propel your career forward. Come join us today. Learn more.
Defining the Container: Data Type & Retain
Lab: Data Store – Planning the Requirements
Video Runtime: 16:48
Let’s define the container’s data type and how to retain the items in the container.
There are different strategies:
- JSON file
- database
- in-memory cache – such as Redis
- in-memory using a PHP data type
We’ll discuss the problems and strengths of each.
If you’d like to learn more about in-memory PHP data type, checkout the Array Data Type in the PHP Docx.
Keep It Simple, Stupid (KISS) - the best kiss you'll get in code.
Episodes
Total Lab Runtime: 02:39:26
- 1 Planning Introductionfree 02:50
- 2 What is a Data Store?free 03:51
- 3 Defining the Basics of a Data Storepro 09:19
- 4 Document the Basicspro 14:06
- 5 Simulate Store and Getpro 08:46
- 6 Identifying Items in the Storepro 17:07
- 7 Defining the Container: Data Type & Retainpro 16:48
- 8 Reviewfree 05:05
- 9 Feature: Check if Item Exists in Storepro 04:44
- 10 Feature: Remove an Item From the Storepro 06:53
- 11 Feature: Replace an Item in the Storepro 11:29
- 12 Feature: Merge with (Add To) Existing Itempro 10:33
- 13 Feature: Empty the Data Storepro 05:34
- 14 The Need for an APIpro 09:16
- 15 Document the API Basicspro 14:52
- 16 Global, But Controlled Accesspro 07:49
- 17 Push to GitHub, PR, Merge, & Syncpro 08:01
- 18 Wrap it Upfree 02:23