- This is an intermediate course so you need to be comfortable writing PHP scripts. Most examples involve only a few lines of code, but I expect you to know the basic syntax of PHP, such as working with loops and conditional statements. You also need to be familiar with PHP classes and objects. Virtually every feature in the standard PHP library is object oriented. Some features are abstract classes so you'll need to know what an abstract class is and how to extend it.
If you haven't worked with classes and objects before, don't let that put you off. It's actually very easy. Jon Peck's course, Object Oriented Programming with PHP, here in the lynda.com on-line training library covers all you need to know. If you're ready to start, all you need is a testing server running PHP 5.3 or later. Some features that I'll be covering require PHP 5.4 or 5.5 but I'll point those out at the relevant time.
There aren't many of them so PHP 5.3 is a good base line. You don't require any external libraries. The standard PHP library is, well it's standard, it's a core part of PHP. Of course, you'll also need a text editor or IDE to write the code. I'll be using PHPStorm but any editor will do. Choose whichever you feel most comfortable using. Ideally though, it should have PHP code hinting or auto-completion.
SPR class names are verbose, so code hints will save you a lot of typing and help avoid errors.
Author
Released
10/22/2014- Using SPL iterators
- Inspecting directories
- Working with text files
- Exporting and extracting data
- Filtering data
- Converting between arrays and iterators
- Combining and merging iterators
- Creating a repeat sequence with InfiniteIterator
- Working with data structures
Skill Level Intermediate
Duration
Views
Related Courses
-
Advanced PHP: Debugging Techniques
with Jon Peck1h 29m Intermediate -
PHP: Exporting Data to Files
with David Powers3h 42m Intermediate
-
Introduction
-
Welcome59s
-
-
1. Introducing the Standard PHP Library (SPL)
-
Introducing SPL iterators1m 59s
-
Using SPL iterators2m 6s
-
2. Exploring Files and Directories
-
3. Filtering Values
-
4. Array Iterators
-
Filtering values from JSON4m 45s
-
5. Combining and Merging Iterators
-
6. Other Iterators
-
7. SPL Data Structures
-
Using SplStack and SplQueue6m 25s
-
Understanding heaps2m 55s
-
Conclusion
-
Goodbye1m 37s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: What you should know before watching this course