Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHP: The Right Way

PHP: The Right Way

Where to learn modern and best PHP web development practices.

Justin Yost

January 06, 2015
Tweet

More Decks by Justin Yost

Other Decks in Programming

Transcript

  1. PHP's Reputation Today » PHP is old » PHP is

    slow » PHP is insecure » PHP code is all written badly » etc
  2. I'm not here to argue the reputation I am here

    to help you write better PHP code and do it the right and modern way
  3. We can always do better » Blogs » Fellow Developers

    » Meetups » Conferences » Podcasts » Books » Etc
  4. PHP: The Right Way » http://www.phptherightway.com/ » Site focused around

    helping both novices and experts make smarter better decisions
  5. PHP: The Right Way » Helps beginners get started, including

    installing and setting up PHP on local machines » Helps more advanced people keep up to date with the best practices
  6. PHP: The Right Way » Learn how to use a

    Code Style Guide » Learn the best practices for common problems: ** Parsing Date/Times ** Databases ** Templating ** Password storage/security ** Errors/Exceptions ** Deployment ** etc.. » And other stuff
  7. PHP: The Right Way » I'm already an expert, and

    know all that » There a sections for tons of resources for staying up to date on the PHP community and keeping yourself an expert » You could also add your knowledge to the site
  8. Okay, okay, I'll go look at the site Do you

    have anything else for me?
  9. The League of Extraordinary Packages » http://thephpleague.com/ » Site focused

    around one thing writing awesome PHP packages to solve common problems » Everything is tested » Everything conforms to the FIG standards
  10. The League of Extraordinary Packages So what does The League

    provide? » Terminal output » OAuth Client/Servers » Dealing with geo-spatial data » Dealing with Payment Libraries » Dealing with Filesystem Libraries » etc..
  11. You mentioned the FIG? The FIG is the PHP Framework

    Interop (Interoperability) Group Think of it as a group that gets a bunch of different frameworks together to try to come to agreement on some basic standards that the frameworks will adhere to. There are currently 5 standards that have passed the PHP-FIG, another 5 in draft/review status.
  12. PHP-FIG Think of it as a way for the frameworks

    to: * make it easier to move between frameworks * solve common problems once ** autoloading ** logging * Projects don't have to conform to the standards but most should/will
  13. Any other resources » Look to frameworks as a resource

    for how to solve a problem » Learn some style of testing and follow it » Read/Listen/Follow/etc other developers