1.

Record Nr.

UNINA9910463707403321

Autore

Schroeder Kevin

Titolo

Advanced Guide to PHP on IBM i / / Kevin Schroeder

Pubbl/distr/stampa

Boise, Idaho : , : MC Press, , 2014

©2014

ISBN

1-58347-767-5

Descrizione fisica

1 online resource (338 p.)

Disciplina

005.2762

Soggetti

PHP (Computer program language)

IBM computers

Electronic books.

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Front Cover; Title Page; Copyright; About the Author; Contents; Chapter 1: A Re-Introduction to Basic Concepts; Classes and Objects; Properties; Methods; Constants; Context; Visibility; Abstract Classes; Interface Definition; Polymorphism; Type Hinting; Namespaces; Traits; Closures; Chapter 2: Design Patterns; Singleton; Factory; Adapter; Strategy; Lazy Initialization and Lazy Loading; Observer/Visitor/Publish-Subscribe; Front Controller; Model/View/Controller; SOLID; Single Responsibility; Open-Closed; Liskov Substitution; Interface Segregation; Dependency Inversion

Introduction to Dependency InjectionChapter 3: Standard PHP Library; Spl_Autoload_Register(); Countable; ArrayAccess; Iterator; ArrayObject; Advanced Usage; Intercepting Inserts; Typing Array Values; Lazy Loading; Conclusion; Chapter 4: Debugging Basics; Tunneling; Initiating a Debug Session; Flow Control; Variables; Expressions; Breakpoints; Toolbars; Manual Control; Conclusion; Chapter 5: Security; SQL Injection; Cross-Site Scripting; Cross-Site Request Forgery; Session Fixation; Session Hijacking; Validating Input; Predictable Locations and Dangerous Files; Using Encryption; Hashing

Symmetric Key EncryptionChapter 6: Working with the Browser; HTML; CSS; CSS Layouts; Display; Float; Position; JavaScript; JavaScript Libraries (Using jQuery); Ajax; Conclusion; Chapter 7: Test-Driven



Development; PHPUnit; Test Suites; Injecting Dependencies; Working with Data Sources; Conclusion; Chapter 8: Web Service Basics; REST; Basics; Resource Definitions; Usage of HTTP Verbs; Authentication; SOAP; WSDL-Based Operations; JSON; Version Negotiation; Authentication; Session-Based Authentication; Nonsession-Based Authentication; Chapter 9: Using the Toolkit; The Basics

Taking It to the Next LevelUsing Dependency Injection with the Toolkit; Unit Testing with the Toolkit; Conclusion; Chapter 10: Performance Considerations; Cache Stuff; Preprocessing; In Normal Calculations; In Caching; Asynchronous Processing; Index; Back Cover

Sommario/riassunto

Working through many of the concepts and skills needed by intermediate and advanced PHP developers, this book is specifically designed to help good PHP developers become indispensable ones. Topics include debugging, test-driven development, web-based development, advanced object-oriented programming, and web security, and the book also takes an in-depth look at the new PHP Toolkit for IBM i provided by Zend Technologies. Upon completion of this book, readers will be able to use its principles as a basis for architecting compl