Weekly Materials - Week 4
Chapter 3: Manipulating Strings
- Construct text strings
- Work with single strings
- Work with multiple strings and parse strings
- Compare strings
- Use regular expressions
Assignments and Due Dates: View
CS2623 Coding Standards - requirements for all class assignments
PHP Programming with MySQL //Second Edition by Don Gosselin, et al
Chapter 3 - Manipulating Strings
Appendix C - Formatting Strings
Text Resources
Errata Sheet
Best Practices
(Also see materials under supplemental materials below)
- Lesson 1: Introduction to REGEX (19:53 min - but worth it!):
- Lesson 2: Matching (13:33 - shows how to implement in PHP, at about 10 minute mark switches to JavaScript so you can probably stop at that point) :
- Lesson 3: Validating Email Addresses: (10:57 min)
- PHP with MySQL Essential Training by Kevin Skoglund
- 5. Exploring Data Types
- Strings (if you need a review)
- String Functions
- 5. Exploring Data Types
- PHP with MySQL Beyond the Basics by Kevin Skoglund
- 2. Intermediate PHP Techniques
- Building dates and times/Epoch/Unix
Text does not cover dates/times but this would be a logical extension, however mktime() and date() are on p. 616 - Formatting dates and times: strings and SQL
SQL will not actually be used at this point, but it is a good example of formatting strings.
- Building dates and times/Epoch/Unix
- 2. Intermediate PHP Techniques
- String Functions: Professor modified PowerPoint
- REGEX: Resources, tutorials, and examples for your use.
- REGEX CheatSheet (Use if and as needed. It does not meet the 3"x5" note card requirement for testing. So, no, it may not be taken into the test with you.)
- Sprintf() and printf(): Examples from PHP.net
- Chapter 3: PowerPoint from Text View (.ppt) | Print (.pdf)
- PHP.net - arguably. the definitive resource for all that is PHP.
Perhaps the easiest way to use it is to enter search criteria in the text box located in the upper right header area.
Same software as previously indicated with the following addition:
RegExr (REGEX Validator)
- Online tool to learn, build and test Regular Expressions (Click on the tutorial link in the upper right to learn how to use the validator)
http://regexr.com/
Chapter 3: Review Questions (.rtf file)
Test 1: Review Sheet
SSP04: String Functions (Complete, upload to Apollo1, then submit URL in the LMS)
Weekly Quiz: Chapter 3 (Located in the LMS)