Search⌘ K

Phonebook Overview

Discover how to build a functional programming inspired phonebook app in PHP. Learn about the project structure, use of Composer, and implementing a simple JSON datastore. This lesson guides you through creating a user-facing command-line tool to add, delete, and retrieve contacts while applying core functional principles.

Phonebook project overview

This chapter aims to demonstrate how to build a simple phonebook as a shell REPL in a functional programming style. The goal of this project is to write user-facing command-line software without any frameworks or packages designed to ease the process like hoa and reactphp-stdio. The application showcases ideas discussed throughout the course.

PHP has evolved to become a language capable of ...