Posts marked with “functional php”

Education Station: Calling All Callables

by · August 18, 2020

0
 

By Chris Tankersley When facing a challenging problem, you want a flexible codebase that adapts quickly. Object-oriented programming facilitates it by giving you the power through inheritance, encapsulating code in reusable objects, and generally making them work for your application as you see fit. However, we can find flexibility in other programming approaches. Languages such […]

 

Education Station: Calling all Callables

by · June 4, 2020

0
 

When facing a challenging problem, you want a flexible codebase that adapts quickly. Object-oriented programming facilitates it by giving you the power through inheritance, encapsulating code in reusable objects, and generally making them work for your application as you see fit. However, we can find flexibility in other programming approaches.

 

Advanced Design & Development

by ·

0
 

PHP adds syntax and slowly adapts to enable new programming techniques. Whether you are comfortable with imperative, object-oriented, or functional programming, the language does make it possible, and new syntax like arrow functions simplify the syntax. This issue looks into asynchronous PHP, new Browser APIs, building REST APIs, callables and closures in PHP, Code Igniter 4, and more!

 

Serverless PHP, Array Functions, and Data Structures with Chris Tankersley

by · June 17, 2019

0
 

Eric, John, and Oscar are back post-php[tek] to discuss the June 2019 issue.

 

Map, Filter, and Reduce in PHP

by · June 5, 2019

0
 

Even though MapReduce was created for parallelization, which PHP does not natively support, the syntax is supported. In this article, I outline how to use map, filter, and reduce with PHP collections and the benefits you can gain over traditional for loops.

 

Artisanal: Using Data Collections

by · January 4, 2018

0
 

Every application you work on will have some way to deal with a data set and take the form of arrays. You may have a class which represents a data set with specific attributes and helper methods. Laravel is no different and takes the entire idea of a data set to the next level by using Collections.

 

Second Edition! Functional Programming in PHP

by · October 26, 2016

0
 

This second edition will show you how to leverage recently added language features by understanding functional programming principles. With over twice as much content as its predecessor, this second edition expands upon its predecessor with updated code examples and coverage of advances in PHP 7 and Hack.

 

October 2016 – Pillars of Development

by · October 3, 2016

0
 

Another issue is ready for download! Get your copy of the October 2016 issue of php[architect] magazine. This issue has articles on the history of women in computing, juggling arrays the functional way, advice for building your next API, and how to add features to a legacy application using the Strangler Pattern. Our columnists have […]

 

July 2016 – Harnessing Magic

by · July 1, 2016

2
 

The July 2016 issue of php[architect] magazine is ready to download! Some things just work like magic This month we look at regular expressions, cryptography, PHP references, and function programming to help you demystify how they work and add them to your arsenal of solutions. Also in this issue, we look at using the Mailchimp […]

 

June 2016 – Decoupled by Design

by · June 1, 2016

0
 

The June 2016 issue of php[architect] magazine is now available! Less tightly coupled code is easier to debug and re-use. This month we look at techniques to decouple different aspects of your code: including using asynchronous & distributed workers, transducers, middleware, and secure web services. Also in this issue, we have a library to use […]