Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed PHP Standards and Best Practices!
You have completed PHP Standards and Best Practices!
Preview
A quick history on PHP, some of the major changes, and what is being done by the community to fix the legacy of old tutorials, and outdated learning resources.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
PHP for years has been the language that
programmers interested in web
0:00
development would learn first.
0:03
As programmers get better at programming
in their language of choice,
0:05
they grow more confident and release code.
0:08
Unfortunately, PHP being a language with
lots of beginners in it,
0:10
a lot of this code used to be messy,
insecure, and
0:14
often not the most efficient way of doing
things.
0:16
Developers would then move on to other
languages and
0:19
leave their old code floating around on
blogs, meaning other beginners would
0:21
find that code try using it, and the
circle would continue.
0:24
These days PHP is a much healthier
environment with great quality
0:29
code around.
0:32
This is in part thanks to projects like
the PHP Framework Inter Operability Group,
0:33
which helps write standards for PHP
projects to conform to.
0:37
Another popular resource is PHP The Right
Way, which acts as a living document for
0:40
up-to-date information about which
extensions, packages, frameworks and
0:44
the like, can be used to achieve certain
things.
0:48
Following advice on here can save you a
lot of headaches when you're uploading
0:51
applications with PHP.
0:54
Unfortunately, despite the advances in the
community,
0:56
a lot of the old code is still floating
around.
0:59
This course will teach you how to
distribute your code in a quality way, and
1:02
teach you how to look out for good code
too, so you know the difference.
1:06
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up