Jose Reales
Phel, a native Lisp for PHP
#1about 2 minutes
Introducing Phel, a Lisp dialect for the PHP ecosystem
Phel is a functional programming language inspired by Clojure that transpiles directly to PHP, making it fully interoperable.
#2about 1 minute
Comparing functional and object-oriented paradigms
Functional programming emphasizes immutable data and declarative code with no side effects, contrasting with object-oriented programming's mutable state.
#3about 1 minute
Understanding the basic syntax of Phel with an example
A "Hello World" example demonstrates Phel's Lisp-like syntax, including namespaces, defining constants, and creating and calling functions.
#4about 2 minutes
Exploring Phel's data types and control flow statements
Phel includes basic types, persistent data structures like lists and maps, and control flow statements such as `if`, `case`, and `loop`.
#5about 1 minute
Using native PHP functions and classes within Phel
The `php/` prefix allows full interoperability, enabling the use of any native PHP function, class, or object directly from Phel code.
#6about 2 minutes
A live demo of a snake game built with Phel
A demonstration showcases a complete snake game running in the terminal, built entirely in Phel to illustrate its practical application.
#7about 1 minute
The project's goal and community resources for learning
Phel aims to introduce functional programming concepts to PHP developers rather than replace PHP, with resources available on GitHub and Gitter.
Related jobs
Jobs that call for the skills explored in this talk.
tree-IT GmbH
Bad Neustadt an der Saale, Germany
€54-80K
Intermediate
Senior
Java
TypeScript
+1
Matching moments
05:19 MIN
Exploring the modern evolution of PHP with version 8
WeAreDevelopers LIVE – PHP Is Alive and Kicking and More
03:55 MIN
Exploring the benefits of Clojure and ClojureScript
Using backend languages for frontends: Why ClojureScript is an awesome idea!
02:27 MIN
Final thoughts on learning from alien programming languages
Java with a Clojure mindset
03:37 MIN
Why Lisp's 'code is data' philosophy is powerful
Java with a Clojure mindset
03:09 MIN
A live demo of a custom language REPL
Building a Compiler with C#
05:54 MIN
Answering questions on practical use cases for Clojure
Using backend languages for frontends: Why ClojureScript is an awesome idea!
06:04 MIN
Audience Q&A on functional programming concepts
A Guide To Functional Programming
07:27 MIN
A hands-on look at Clojure syntax and data types
Using backend languages for frontends: Why ClojureScript is an awesome idea!
Featured Partners
Related Videos
The Laravel Core - Demystify The Beast
Rumpel Christoph
Seven Myths, Three Reasons, One Goal
Stefan Priebsch
WeAreDevelopers LIVE – PHP Is Alive and Kicking and More
Chris Heilmann, Daniel Cranney & Paul Tregoing
Using backend languages for frontends: Why ClojureScript is an awesome idea!
Tobias Schröder
Java with a Clojure mindset
Dan Lebrero
A Guide To Functional Programming
Jemima Abu
F#, path to functional enlightenment
Onur Gumus
The year 3000, a brief history of Web Development
Lorenzo Pieri
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Code Healers LLC
Hinesville, United States of America
Remote
€40-50K
Intermediate
Senior
PHP
.NET
React
+2

CareerValue
Meppel, Netherlands
PHP
GIT
.NET
Symfony
Continuous Integration


Lajos Beheer BV
Zwolle, Netherlands
Senior
PHP
API
Laravel
Symfony
CodeIgniter





Reflow
Municipality of Guadalajara, Spain
Remote
€80-160K
API
ETL
React
+5