
Explore building a blog application with PHP, MySQL, and JavaScript through object oriented programming. Learn how OOP enables maintainable, debug-friendly code and easier hiring, plus a quick project demo.
Watch a project demo detailing how to build a blog with PHP, MySQL, and JavaScript.
Create a reusable PHP create method with PDO prepared statements to insert data into a given table by passing a data array, building dynamic insert statements with columns and placeholders.
Define and test the update method of a PHP MySQL blog CRUD class, using a prepared update query and execute to modify the post content by post id 1.
Learn how to fetch blog posts with their category names using left joins, linking posts to categories via the foreign key posts.category_id = categories.id.
Build a PHP MySQL driven post display by implementing a post controller, joining categories, and using a CRUD class to read and fetch posts for the front end.
Display the number of comments for each post in a php mysql blog by left joining comments, using count, and grouping by post id on the index page.
Fix the back button on the edit page by linking it to admin/posts/index.php, returning users to the list of posts in the DB.
Display post cover images on the frontend by replacing placeholders with backend images, and build image paths in index.php by appending the post id to the folder name.
Implement the edit post workflow by creating an edit post page from the project template, changing the file extension to PHP, and wiring index.php to editor.php to load post data.
Learn to edit a post by passing the post ID in the URL, retrieving details with get_post in the post controller, and repopulating the edit form fields.
Edit post part 2 demonstrates loading a post's title, content, and category into an edit form, and populating the category select box from the categories table using a CRUD class.
Display a live image preview on the edit post page using php, mysql, and javascript, retrieving the post image from the post images folder by post ID.
In this course we'll be build a real world blog project using php, mysql and javascript. If you're new to web development, the way this course is structured shouldn't scare you. I built the course using object oriented php, and object oriented php is a standard way of coding in the web development industry. If you get a new job as a php developer, you'll be expected to code in object oriented php, not procedural programming.
So the way I'm coding in this course shouldn't scare you way, but instead it should excite you because it's how things are done in the industry. I know object oriented programming can be a bit hard to grasp in the beginning, but you'll enjoy it along the way because it makes your coding life easy as a developer.
This is course is for programmers that are hungry for knowledge, and looking to improve their programming skills. If you constantly seeking to become a better programmer, you've come to the right place...This course is for you. Everytime you sit Infront of a computer as developer, and learn something new, you grow. If you're obsessed with self-betterment. This course is for you. I can guarantee you that you that this course will take your programming career to the next level. It is a combination of things that I've learned over the years, and I simplify all those advanced concepts for you.