Week 6
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 1
Ken Mickles edited this page
Oct 24, 2015ยท 3 revisions
Picking up where we left off
- Start with this code
This week
All the important stuff we haven't covered yet. Notably, security best practices and third-party libraries.
Debugging
PHP Security
- SQL injection recap
-
Cross-site scripting (XSS)
htmlspecialchars($string, ENT_QUOTES, 'UTF-8')
- Don't store credentials in version control
- Why it's a bad idea
- Twelve-factor app
- SetEnv
- dotenv
- Create config.php
- How to safely store passwords
- Create simple login page
JSON
- json_encode
- Create simple AJAX form with jQuery
Using Third-Party Libraries
- Simple includes
- Composer
PHP Frameworks
- Wordpress
- MVC (Model-view-controller)
- ORM (Object-relational mapping)
- List of frameworks
- Laravel
- Slim
Requests
- How to upload multiple files at once
Similar Languages
Further Reading
- PHP Security Cheat Sheet
- Awesome PHP - "A curated list of amazingly awesome PHP libraries, resources and shiny things."
- Related Chapters in the Book: 14, 15, 21
Clone this wiki locally