Start off your web development journey the right way with this beginner-friendly introduction to PHP programming.
PHP Crash Course takes you from beginner to professional PHP programming, through hundreds of in-depth examples and hands-on exercises. You ll explore best practices for developing fast, secure, and easy-to-maintain websites, while establishing a broad foundation of programming knowledge and experience. You ll also learn how to create consistent, modern-looking web pages with easily customizable templates by combining dynamic PHP scripts, static HTML code, and Bootstrap styling; how to write scripts that can communicate with MySQL to enable data-rich web apps; and how to implement best-practice website security. As you follow along, you ll learn real-life patterns and modern programming techniques for creating, extending, and modifying web applications, all using the powerful PHP language.
Inhaltsverzeichnis
Acknowledgments < BR> Introduction< BR> < BR> PART I: LANGUAGE FUNDAMENTALS< BR> Chapter 1: PHP Program Basics< BR> Chapter 2: Data Types< BR> Chapter 3: Strings and String Functions< BR> Chapter 4: Making Choices with Conditionals< BR> Chapter 5: Creating Reusable Code with Functions< BR> < BR> PART II: WORKING WITH DATA< BR> Chapter 6: Repeating Actions with Loops< BR> Chapter 7: Simple Arrays< BR> Chapter 8: Sophisticated Arrays< BR> Chapter 9: Working with Files and Directories< BR> < BR> PART III: PROGRAMMING WEB APPLICATIONS< BR> Chapter 10: Client-Server Communication and Web Development Basics< BR> Chapter 11: Creating and Processing Web Forms < BR> Chapter 12: Validating Form Data< BR> Chapter 13: Organizing a Web Application< BR> < BR> PART IV: STORING USER DATA WITH BROWSER SESSIONS< BR> Chapter 14: Working with Sessions< BR> Chapter 15: Implementing a Shopping Cart < BR> Chapter 16: Authentication and Authorization< BR> < BR> PART V: OBJECT-ORIENTED PHP< BR> Chapter 17: Introduction to Object-Oriented Programming< BR> Chapter 18: Declaring Classes and Creating Objects< BR> Chapter 19: Inheritance< BR> Chapter 20: Managing Classes and Namespaces with Composer< BR> Chapter 21: Efficient Template Design with Twig< BR> Chapter 22: Structuring an Object-Oriented Web Application< BR> Chapter 23: Error Handling with Exceptions< BR> Chapter 24: Logging Events, Messages, and Transactions< BR> Chapter 25: Static Methods, Properties, and Enumerations < BR> Chapter 26: Abstract Methods, Interfaces, and Traits< BR> < BR> PART VI: DATABASE-DRIVEN APPLICATION DEVELOPMENT< BR> Chapter 27: Introduction to Databases< BR> Chapter 28: Database Programming with the PDO Library < BR> Chapter 29: Programming CRUD Operations< BR> Chapter 30: ORM Libraries and Database Security< BR> Chapter 31: Working with Dates and Times < BR> < BR> Appendix A: Installing PHP< BR> Appendix B: Database Setup < BR> Appendix C: Replit Configuration