2015
Tuts+
Matthew Setter
0:24
English
In PHP, we're all familiar with the foreach, for, do-while, and while looping constructs, which help us quickly and easily iterate over data structures in our applications.
But did you know that they're just the tip of the iceberg, and that you can use these constructs in a much more powerful way?
In this course, Envato Tuts+ instructor Matthew Setter will 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. Along the way, you'll build a simple static site generator which reads markdown from a filesystem directory listing and creates hydrated value objects which model the data they contain.
1.Introduction
1.1 Introduction
2.Getting Started
2.1 Getting Started
2.2 The Sample Application
2.3 What Is the SPL?
3.Building the Application
3.1 The Core Classes
3.2 Retrieving All Episode Data
3.3 Retrieving Past and Upcoming Episodes
3.4 Tying It All Together
4.Conclusion
4.1 BuildStaticSiteGenSPLIterators-09
code.tutsplus.com/courses/build-a-static-site-generator-using-spl-iterators
Download File Size:275.93 MB