Beginning PHP
Roughly 80% of all websites use PHP development now, including many Fortune 500 companies and top technology startups. Since its debut in 1995, it’s become an extremely popular choice for web developers. This Track will teach you the fundamentals of this widely-used programming language.
PHP, a server-side (or "backend") language, is commonly used by people who want to build a simple, dynamic website quickly and effortlessly. PHP development is very versatile—open-ended, and leaving a lot of freedom up to the developer.
You'll need to know PHP to be a Wordpress developer, a perennial, in-demand role. PHP development is also integral in a lot of web authentication work, online security, and form creation.
To start your PHP basics learning in this Track, you'll establish some HTML and CSS basics. Next, some foundational principles in PHP, like what it is and how it's used.
The next part of the Track focuses on PHP arrays and control structures, and then PHP functions. Then, you'll move along to error handling and dev environments basics.
To wrap up your Beginning PHP learning, you'll build a simple, functional website using the skills you've acquired throughout the Track. This is a great takeaway for your portfolio!
By the end of this Track, you’ll have the basic programming knowledge to build your second PHP website...since you just built your first!
-
An entry-level salary for the technologies covered in this track is about $60,000 / yr on average.
-
Some companies that use these technologies regularly include: Google, Facebook, Yahoo, YouTube, Wikipedia, Flickr, LinkedIn, WordPress, Digg, Intel, Pinterest, and Twitter
Ready to start learning?
Treehouse offers a 7 day free trial for new students. Get access to 1000s of hours of content. Learn to code, land your dream job.
Start Your Free Trial-
- 1
- 2
- 3
Introduction to HTML and CSS
Get started creating web pages with HTML and CSS, the basic building blocks of web development. HTML, or HyperText Markup Language, is a standard set of tags you will use to tell the web browser how the content of your web pages and applications are structured. Use CSS, or Cascading Style Sheets, to select HTML tags and tell the browser what your content should look like. Whether you are coding for fun or planning to start a career in web development, learning HTML and CSS is a great place to start.
-
- 1
- 2
- 3
- 4
CSS Basics
In this course, we're going to learn the basics of CSS, one of the core technologies for designing and building websites and applications. No matter what kind of website or web application you want to build, you'll have to use CSS. If you haven't written much CSS, or even if you’ve never written CSS at all, don’t worry. That's what this course is for. We’ll start with basic CSS concepts, then gradually progress to more advanced topics and lessons.
-
- 1
- 2
- 3
- 4
CSS Layout
In this course, we're going to learn techniques for better control over our CSS layouts. We’ll cover how the CSS Box Model impacts the presentation of each HTML element, learn to control the position of each element onscreen, and even begin to adjust our layouts for different screen sizes and environments.
-
- 1
- 2
- 3
- 4
PHP Basics
In this course I'll walk you through the basics of the language, ranging from basic statements to conditionals. We'll be creating a simple "Unit Converter" as well as a "Daily Exercise Program". We'll then finish up by combining those programs with HTML to create a personal webpage to demonstrate your skills.
-
- 1
- 2
- 3
- 4
HTML Basics
Learn HTML (HyperText Markup Language), the language common to every website. HTML describes the basic structure and content of a web page. If you want to build a website or web application, you'll need to know HTML.
-
- 1
- 2
- 3
PHP Arrays and Control Structures
This course builds on the foundational skills covered in the PHP Basics course. We'll explore conditionals, loops and the compound variable -- arrays. All of which help your write more powerful and intelligent programs using less code.
-
- 1
- 2
- 3
PHP Functions
PHP Functions allow you to combine several statements of code into a 'function'. These functions can then be called by their given name, and all of the code contained will run and return the results. This will drastically help you clean up code and use less repetitive code.
-
1 minInstruction
PHP: Installing a Local Dev Environment
Links to courses for installing a Local PHP Dev Environment on MAC and Windows...(continue reading)
Viewed -
34 minWorkshop
Basic Error Handling in PHP
An undeniable fact of software development is that bugs will crop up in your code and lead to undesirable outcomes. Error handling is the process of what to do when those errors occur.
Viewed -
- 2
- 3
Build a Basic PHP Website
This project will show you how to build a simple website using the PHP programming language. The web site, a media library, will let you organize and display your Books, Movies and Music. You could easily use this project to create a website that lets you organize and display any type of item: Branch Locations, Products, Services, Events, even Courses like we have here on Treehouse.
-
Track Completion
This course includes:
- Introduction to HTML and CSS 2 hours
- CSS Basics 3 hours
- CSS Layout 2 hours
- PHP Basics 2 hours
- HTML Basics 3 hours
- PHP Arrays and Control Structures 3 hours
- PHP Functions 66 min
- PHP: Installing a Local Dev Environment 1 min
- Basic Error Handling in PHP 34 min
- Build a Basic PHP Website 2 hours