Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

1.1 Introduction

Welcome to Build a Static Site Generator Using SPL Iterators. In this lesson, I'll introduce you to SPL iterators and let you know what you can expect from the course. During this course, you'll learn how to create iterator classes which allow you to iterate over your data in a more powerful, more flexible, and more elegant way than you've done before. If that sounds exciting, get ready, and let’s go!

1.1 Introduction

Hi, I'm Mathew Setter for tuts+. In PHP, we're all familiar with the foreach, for, do while, and while looping constructs. Constructs which help us quickly, and easily iterate over data structures in our applications. But did you know they're just the tip of the iceberg? And that you can use these constructs much, much more powerfully. In this course, I'm going to introduce you to SPL iterators. And teach you how to create iterator classes. Which allow you to use the looping constructs to iterate over your data in a more powerful, more flexible, and more elegant way than you've done before. If all that excites you, get ready, and let's go.

Back to the top