PHP Traits, Threat or Treat?
Offered By: PHP UK Conference via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of PHP Traits in this 39-minute conference talk from PHP UK Conference 2013. Discover how to reduce complexity and reuse method sets across independent classes in different hierarchies. Delve into the semantics of traits, comparing PHP with Java, and understand the reasons behind slow and fast adoption rates. Learn about array short notation, root broker, multiple inheritance, and static methods in PHP. Examine method visibility, interface compliance, abstraction techniques, and the use of magic constants. Investigate the pros and cons of traits, including benchmarks and potential pitfalls. Gain insights into upgrading to PHP 5.4 and prepare for the future of PHP development.
Syllabus
Intro
PHP vs Java
PHP Version Adoption
Why is there a slow adoption
Why would you adopt
Array Short Notation
Root Broker
Multiple Inheritance
PHP Traits
Multiple PHP Statics
PHP Methods Visibility
Interfaced Compliance
Interface Set Options
Abstraction
Magic Constant
Outer Loading
The Bad
Benchmarks
Upgrade
PHP 54
Taught by
PHP UK Conference
Related Courses
A Beginner's Guide to Java ProgrammingPackt via FutureLearn A Simple Picture Storing App with Java and Android Studio
Coursera Project Network via Coursera Confluent Certified Developer for Apache Kafka (CCDAK)
A Cloud Guru JBoss EAP Administration
A Cloud Guru Advanced Data Structures in Java
University of California, San Diego via Coursera