We may earn an affiliate commission when you visit our partners.
Course image
Charles Russell Severance

In this course, we'll look at the object oriented patterns available in PHP. You'll learn how to connect to a MySQL using the Portable Data Objects (PDO) library and issue SQL commands in the the PHP language. We'll also look at how PHP uses cookies and manages session data. You'll learn how PHP avoids double posting data, how flash messages are implemented, and how to use a session to log in users in web applications. We'll then build the first 'complete' application that has multiple screens to Create, Read, Update and Delete (CRUD) our data. This brings all the previous concepts together and will form the basis for all later web applications. It is assumed that learners have already taken the Building Web Applications course in this specialization.

Enroll now

Here's a deal for you

Save money when you learn with a deal that may be relevant to this course.
All coupon codes, vouchers, and discounts are applied automatically unless otherwise noted.

What's inside

Syllabus

PHP Objects
We look at the object oriented patterns available in PHP.
Connecting PHP and MySQL
We look at how we connect to a MySQL using the Portable Data Objects (PDO) library and issue SQL commands in the the PHP language.
Read more

Traffic lights

Read about what's good
what should give you pause
and possible dealbreakers
Explores PHP object-oriented patterns, which is standard in the industry
Teaches how to connect PHP with MySQL using the Portable Data Objects (PDO) library, which is a widely accepted method
Examines how PHP manages session data and cookies, which is a fundamental concept in web development
Develops PHP skills for avoiding double posting data, implementing flash messages, and using sessions for user authentication, which are essential for web applications
Builds a 'complete' application with multiple screens for CRUD operations, which provides a solid foundation for future web applications
Assumes learners have taken a previous course, which may limit accessibility for some

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Reviews summary

Building php database applications with crud

According to learners, this course offers a solid foundation for building database applications in PHP. Students particularly appreciate the focus on connecting PHP to MySQL using PDO and the practical experience gained by implementing basic CRUD operations. Many find the instructor's teaching approach clear and easy to follow. However, some reviews indicate that the assignments can be challenging and the pace quick, making a strong background from the prerequisite course essential. The material covers sessions and cookies effectively, providing valuable skills for functional web development. Overall, it's considered a worthwhile course for practical application, but learners should be prepared for potential difficulty if they lack the necessary prerequisites.
Covers practical web development topics.
"The session and cookie management parts were really useful."
"Learned how to handle user sessions properly."
"Good coverage of practical topics like flash messages and login."
Instructor's explanations are highly praised.
"The instructor makes complex topics easy to understand."
"His explanations are always clear and to the point."
"I find the instructor very engaging and knowledgeable."
"Excellent instructor, keeps you interested."
Effective teaching on database connection.
"Learning how to use PDO securely was exactly what I needed."
"The lessons on database interaction with PDO were very clear."
"I can now connect my PHP apps to MySQL databases."
"PDO section is well-explained and practical."
Hands-on experience building a complete app.
"Building the complete CRUD application was the most valuable part for me."
"I finally understood how all the pieces fit together by building the CRUD app."
"It takes you step-by-step to create a multi-screen application."
"The CRUD project is challenging but really helps solidify understanding."
Need strong background from prior course.
"Do NOT skip the prerequisite course, you will be lost."
"If you haven't taken the first course, this one is tough."
"Make sure you are comfortable with basic PHP before starting."
"Assumes you already know the basics from the web applications course."
Course pace and assignments can be difficult.
"The assignments felt like a big leap from the lectures sometimes."
"I struggled a bit with some of the homework problems."
"The course moves quickly, be prepared to put in extra time."
"Some assignments require more external research than expected."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Building Database Applications in PHP with these activities:
Practice using PDO to connect to databases
Gain a solid understanding of how to use PHP's PDO library to connect to and interact with databases.
Browse courses on PDO
Show steps
  • Read the PHP PDO documentation
  • Create a simple PHP script that connects to a MySQL database using PDO
  • Execute a few SQL queries using the PDO connection
Review PHP OOP Concepts
Helps strengthen understanding of PHP object-oriented programming concepts before starting the course.
Show steps
  • Read the PHP OOP documentation on the official PHP website.
  • Review examples of PHP OOP code.
  • Practice writing simple PHP OOP programs.
Solve PHP OOP practice problems
Reinforce your understanding of PHP's object-oriented programming features by solving practice problems.
Show steps
  • Find a set of PHP OOP practice problems online
  • Solve as many problems as you can, referring to the PHP OOP documentation when needed
Ten other activities
Expand to see all activities and additional details
Show all 13 activities
Follow a tutorial on PHP cookies and sessions
Deepen your understanding of how to use PHP cookies and sessions to manage user data and provide a better user experience.
Browse courses on PHP
Show steps
  • Find a comprehensive tutorial on PHP cookies and sessions
  • Follow the tutorial step-by-step, creating your own examples as you go
Read PHP: The Complete Reference by Steven Holzner
Gain a comprehensive foundation in PHP programming, including OOP and MySQL integration, by reviewing this essential reference book.
Show steps
  • Obtain a copy of the book
  • Read through the chapters covering OOP, MySQL, and PHP syntax
  • Make notes and highlight important concepts
  • Complete any exercises or code examples provided in the book
Follow Tutorials on PHP Object-Oriented Programming
Enhance your understanding of OOP concepts by following guided tutorials and practicing examples.
Show steps
  • Identify reputable online platforms for PHP tutorials
  • Select tutorials that cover OOP principles, such as classes, objects, and inheritance
  • Follow the instructions and complete the exercises provided in the tutorials
  • Ask questions and seek assistance in online forums or discussion boards
Join a study group for PHP web development
Enhance your learning experience by collaborating with other students, sharing knowledge, and working together on PHP web development projects.
Browse courses on PHP
Show steps
  • Find or create a study group focused on PHP web development
  • Attend regular study sessions, participate in discussions, and contribute to group projects
Solve PHP Coding Challenges on LeetCode
Enhance your problem-solving skills and reinforce PHP concepts by attempting coding challenges on LeetCode.
Show steps
  • Register for a LeetCode account
  • Select a difficulty level and start solving problems
  • Review solutions and learn from others' approaches
  • Track your progress and identify areas for improvement
Join a PHP Study Group
Connect with other learners and engage in discussions, code reviews, and collaborative problem-solving.
Show steps
  • Identify online or local study groups focused on PHP
  • Attend regular meetings and participate in discussions
  • Share your knowledge and assist others in understanding concepts
  • Organize code review sessions and provide feedback on others' projects
Build a Simple CRUD Application with PHP and MySQL
Solidify your understanding of CRUD operations by building a functional PHP application that connects to a MySQL database.
Show steps
  • Create a new PHP project and set up a directory structure
  • Establish a database connection using PDO
  • Create a simple CRUD interface using HTML and PHP
  • Write PHP functions to handle CRUD operations
  • Test the application and debug any errors
Build a simple CRUD application using PHP
Apply your knowledge of PHP and MySQL to create a functional CRUD application, solidifying your understanding of data manipulation and web development.
Browse courses on PHP
Show steps
  • Plan the structure of your CRUD application, including the database schema and the user interface
  • Write the PHP code to connect to the database and perform CRUD operations
  • Create the HTML and CSS for the user interface
  • Test your application thoroughly to ensure it functions correctly
Write a blog post about a PHP web development technique
Solidify your understanding of a particular PHP web development technique by explaining it to others in a blog post.
Browse courses on PHP
Show steps
  • Choose a PHP web development technique that you want to write about
  • Research the topic thoroughly to ensure you have a deep understanding
  • Write a blog post that clearly explains the technique, including code examples and visuals
Create a Personal Blog Using PHP and MySQL
Apply your skills by building a full-stack web application that combines PHP, MySQL, and HTML/CSS.
Show steps
  • Design the structure and layout of your blog
  • Create a database to store blog posts and users
  • Write PHP code to handle user registration, authentication, and post management
  • Style the blog using HTML and CSS
  • Test the application thoroughly and deploy it online

Career center

Learners who complete Building Database Applications in PHP will develop knowledge and skills that may be useful to these careers:
Web Application Developer
Web Application Developers design, build and maintain web applications. Web applications need to connect to and interact with databases, send and receive data, and manage cookies and sessions. This course offers frameworks for connecting to databases, managing sessions, and handling common web application processes. As a result, it offers a clear pathway to success for those looking to advance in or enter this career.
Full-Stack Developer
Full Stack Developers build, design, and maintain both the frontend and backend of web applications. The frontend interacts directly with the user, while the backend interacts mostly with databases. This course offers the opportunity to learn how to connect to databases, send and receive data, and manage cookies and sessions. As a result, this course is a strong fit for those looking to enter or advance in this career.
Backend Developer
Backend Developers build and maintain the server-side of web applications. The backend is responsible for handling user input, storing data, and processing requests. This course offers the opportunity to learn how to connect to databases, write complex queries, and implement security. As a result, it is useful for those looking to enter or advance in this career.
Data Analyst
Data Analysts use databases to clean, analyze, and build reports from data. This course provides the opportunity to learn to connect to databases, issue complex queries, and write PHP scripts to clean and process data. While data analysts do not typically write web applications, they often integrate their work with them, making this course useful for the career.
DevOps Engineer
DevOps Engineers bridge the gap between development and operations teams. They often work on building and deploying web applications, which involve the use of databases. This course offers the opportunity to learn how to connect to databases, write complex queries, and implement security. As a result, it is useful for those looking to enter or advance in this career.
Database Administrator
Database Administrators maintain, secure, and manage databases. This course offers the opportunity to learn how to connect to databases using PHP, write complex queries, and implement security. While Database administrators typically do not write web applications, they often integrate with them, making this course useful for the career.
Web Developer
Web Developers design and build websites and web applications. This course offers the opportunity to learn how to connect to databases, write complex queries, and manage sessions. As a result, it will be useful for those who wish to enter or advance in web development.
Data Scientist
Data Scientists analyze and interpret data to extract valuable insights. They often use databases, for which they need frameworks to connect to, issue queries, and clean data. This course offers the opportunity to learn how to do this in PHP. As a result, this course is useful for those looking to enter or advance in this career.
Software Engineer
Software Engineers apply engineering principles to the design, development, and maintenance of software applications. Many software engineers work on web applications, which involve the use of databases. This course offers an opportunity to learn to connect to databases, issue complex queries, and manage sessions - skills which, though not unique to Software Engineers, will still be useful to those looking to enter or advance in this career.
Information Security Analyst
Information Security Analysts protect computer systems and networks from unauthorized access, ensuring the confidentiality, integrity, and availability of data. This course offers an introduction to database security. While database security is not the only aspect of information security, many information security analysts specialize in it, making this course a potential fit for those looking to enter this career.
Systems Analyst
Systems Analysts design and implement systems and processes to improve efficiency and productivity. This course offers the opportunity to learn how to connect to databases and write complex queries. Systems Analysts do not typically build web applications or manage sessions, but those who do will find the class useful.
Cloud Engineer
Cloud Engineers design, build, and maintain cloud computing systems. This course offers the opportunity to learn how to connect to databases in the cloud. While this course does not specifically cover cloud computing, it provides a foundational skillset that will be useful for those looking to enter or advance in this career.
UX Designer
UX Designers focus on the design and user experience for online platforms. While UX Designers do not typically write code, they often collaborate with Web Application Developers and other programmers, making it useful to have a fundamental understanding of web application frameworks and concepts. This course offers the opportunity to learn about how to connect to and interact with databases, which will be useful for designers looking to collaborate with engineers.
User Experience Researcher
User Experience Researchers study how users interact with products and services, and then use that information to improve their user experience. While User Experience Researchers do not typically write code, they often collaborate with Web Application Developers and other programmers, making it useful to have a fundamental understanding of web application frameworks and concepts. This course offers the opportunity to learn about how to connect to and interact with databases, which will be useful for researchers looking to collaborate with engineers.
Product Manager
Product Managers oversee the development and launch of new products. While Product Managers do not typically write code, they often collaborate with Web Application Developers and other programmers. This course offers the opportunity to learn about how to connect to and interact with databases, which will be useful for Product Managers looking to collaborate with engineers on data-driven features.

Reading list

We've selected ten books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Building Database Applications in PHP.
Provides a comprehensive overview of object-oriented programming in PHP, covering topics such as classes, objects, inheritance, and design patterns. It is an excellent resource for learning the fundamentals of object-oriented programming and how to apply them in PHP development.
Provides a collection of practical recipes for working with MySQL, covering topics such as database design, query optimization, and data management. It valuable resource for learning how to use MySQL effectively in PHP applications.
Provides a comprehensive overview of unit testing in PHP using PHPUnit, covering topics such as test case design, test doubles, and mocking. It valuable resource for learning how to write effective unit tests for PHP applications.
Provides a collection of practical recipes for working with PHP, covering topics such as string manipulation, data structures, and file handling. It valuable resource for learning how to perform common tasks in PHP.
Provides a comprehensive overview of PHP, covering topics such as the PHP language basics, object-oriented programming, and web development. It valuable resource for learning the fundamentals of PHP and how to use it to develop web applications.
Provides a comprehensive reference for the PHP language, covering topics such as the PHP language basics, object-oriented programming, web development, and database management. It valuable resource for learning the PHP language and how to use it to develop web applications.
Provides a concise reference for the PHP language, covering topics such as the PHP language basics, object-oriented programming, web development, and database management. It valuable resource for learning the PHP language and how to use it to develop web applications.
Provides a gentle introduction to the PHP language, covering topics such as the PHP language basics and web development. It valuable resource for learning the fundamentals of PHP and how to use it to develop web applications.
Provides a gentle introduction to the PHP language, covering topics such as the PHP language basics and web development. It valuable resource for learning the fundamentals of PHP and how to use it to develop web applications.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser