
I compare code editors for writing fast, clean code, recommending Sublime Text as my favorite, Notepad++ as a free option with hyperlinks, and a paid editor with live preview features.
Install xampp for Windows, Mac, or Linux, start Apache and MySQL, then create a Twitter folder in the local server directory and access it via localhost/twitter.
Create a Twitter clone directory structure in xampp htdocs, organizing assets, core, includes, and database folders for JavaScript, CSS, images, PHP classes, and the connection file.
In this lecture you will learn how easily you can connect to your MySQL databases using PDO
Master PHP classes, including protected variables, constructors, and extends from a parent class, with includes and sessions to share variables across a twitter-like social network built from scratch.
In this site, we will create our index page where we will include login and sign up HTML forms
Create a mysql users table with an auto increment user_id primary key. Include columns for username, password (encrypted, 22 chars), screen_name, profile_image, profile_cover, following, followers, and a 140-character bio.
Create a PHP and MySQL user display method to show profile information or home content, and implement session-based login and logout for a Twitter clone.
Learn to implement the register method in a PHP and MySQL Twitter clone, handling sign up by inserting email, screen name, and profile image.
Learn to implement an update method in a PHP MySQL app, updating user records by building dynamic column lists, placeholders, and an update query guided by the user id.
Create a multi-step signup flow for a twitter-like clone using PHP and MySQL, validate usernames, display errors, and save valid users to the database.
Create a dynamic user profile page for a PHP and MySQL twitter clone by retrieving user data from the database, handling sessions, and displaying username, profile image, bio, and website.
Explore rewriting a user profile url and building a login verification method in php, using apache rewrite rules to redirect to the profile page based on session checks.
Build a profile edit page in the Twitter clone to update user accounts. Implement a form to edit bio, website, country, and profile image, with submission and validations on input.
Learn to upload images in a PHP MySQL app, handling file input, form submission, and validation, then store the image and update the user profile.
Create an account settings page in PHP and MySQL that lets users update their email and username with validation and error handling.
Create a password change page with a form that verifies the current password, validates and encrypts the new password, and redirects to the user profile upon success.
Create a PHP and MySQL method to post tweets, handling form submission, validating status within 140 characters, processing image uploads, and inserting the post with user id and timestamp.
Display tweets on the home page by querying the database with PHP and MySQL, fetching results with fetch_all, looping through tweet and user data, and displaying images when available.
Create a trends table to store hashtags, with an auto increment primary key and a unique hash tag column limited to 140 characters, and apply a unique index.
Develop a PHP MySQL function to search mentions and hashtags, query the users table to retrieve usernames, and display up to five results for a Twitter-like clone.
Learn to implement a hashtag insertion method for a Twitter clone using PHP and MySQL, handling multiple hashtags, binding variables, and search functionality.
Learn to make tweets clickable by converting hashtags and mentions into links with regex-powered replacements, and implement this link-wrapping in a PHP and MySQL Twitter clone.
Create a database table to support a like feature for a twitter-style clone using PHP and MySQL, with an integer primary key and a user_id field to track likes.
Learn to implement a like feature with jquery by attaching a click event to a like button, retrieving tweet and user ids from data attributes, and updating the count.
Create a public function to handle like and unlike, check if the user already liked the tweet, and display the like button with the current count.
Create a retweet popup in a php mysql twitter clone by wiring a click event to show a comment/conversion box, and fetching user data to populate the popup.
Create a jQuery function to send a retweet ajax request. Handle click events on the button, read the comment input, post data to the server, and update the retweet count.
Learn how to implement a retweet method in a PHP, MySQL Twitter clone. Create a public function, bind parameters, update tweet counts, and notify the author.
Display retweets on the home page by querying tweets linked to user IDs, using PHP and MySQL, and conditionally rendering each tweet with related user data.
Develop a method to display a tweet popup by handling click events, using data attributes and id selectors to show and hide tweet details, likes, comments, and profile images.
Create a new comments table with an auto-increment primary key, a 140-character comment field, and timestamp columns, and link comments to a user id for reading and posting.
Learn to build a jquery based image popup for a Twitter style feed, handling click events, image display, and stop bubbling to show popups linked to tweet IDs.
Learn how to implement a delete method in a PHP and MySQL Twitter clone, including building parameterized queries, binding variables, and integrating with the main index and user data.
Build a delete comment feature for a Twitter clone, linking the delete button to remove comments by id and update the tweet display using PHP and MySQL.
Master the twitter-like signup and post flow by implementing a popup form, handling form data with FormData, preventing default submission, uploading images, and displaying success or error feedback.
Display tweets and their likes count on the home page, counting likes for each tweet to show an accurate social feed.
Implement a time ago function that converts a time stamp into seconds, minutes, hours, or months for display, using the current time to determine elapsed intervals.
Build a profile page that displays a user's tweets by executing a join query in PHP and MySQL, fetch results, and render tweets with time and likes.
Display a user's tweets on the profile edit page in a PHP, MySQL Twitter clone, including tweet images and actions like delete, edit, and follow links.
Create a new follow table for a Twitter clone in PHP and MySQL with an auto-increment primary key, integer follower and followed columns, and a date time field.
Develop follow button display logic in a PHP MySQL social clone, using a check follow method to render follow or login prompts based on user and profile IDs.
Implement a follow and unfollow button using jQuery and Ajax in a PHP MySQL Twitter clone, with click events, class toggling, and live follower count updates.
Implement a follow method in a PHP/MySQL Twitter clone, creating a follow record with follower and receiver IDs, updating follow and follower counts, and handling follow and unfollow actions.
Develop a following and followers page for a PHP/MySQL Twitter clone, displaying user profiles and follower lists on the full page.
Implement follow and unfollow functionality in a PHP and MySQL Twitter clone by wiring the follow button to profile IDs, updating the follow table, and reflecting follower counts on profiles.
Build a who to follow feature in a php mysql twitter clone by querying users not yet followed, ordering randomly, and displaying profile image, screen name, and a follow button.
Display following users' tweets by querying the tweets table with follower relationships, order by tweet id descending, and render on the home page; add scripts to files.
Create a new PHP class for messages, extend the user class, include the message class file, and enable messaging functionality on the site.
Create a PHP and MySQL method to display recent messages by joining messages with users, binding user id, and rendering each message with profile image and username via AJAX.
Implement a click-driven flow to fetch a user's id, retrieve chat messages, and render a conversation list with left and right message alignment, timestamps, and delete options.
Learn to build a chat that receives messages, displays user images, and auto-scrolls to the latest messages every five seconds using AJAX.
Build a functional search box in the messages popup by wiring event handlers, capturing the search input, and displaying results to users within the popup.
Learn to delete chat messages by wiring the trash icon to a confirmation box and a delete function that uses the message ID.
Create a PHP method to display trending hashtags on the home page by using an inner join on posts and hashtags tables, counting hashtags, and ordering by popularity.
Display trending tweets by querying the tweets table, left joining the users table, and rendering posts with user information and hashtag search.
Create a new notification table in php and mysql, with an autoincrement id primary key, a notification field, and a type column to drive display, update, and clear notifications.
Implement a polling function that fetches notification counts every 10 seconds and updates the on-page notification badge in a PHP, MySQL Twitter clone.
Update the messages count by setting status to 1 for a user's messages in the PHP-MySQL messages table. Display updated messages on the home page and adjust visibility and notifications.
Create a PHP MySQL notification method that uses left joins with users and notifications to fetch and display user-specific notifications on the notification page.
Learn to render notifications by type using loops and conditional blocks, displaying follow, question, discussion, mentions, and likes with user details, timestamps, and images.
Create a method to send notifications in a Twitter-like clone built with PHP and MySQL, detailing how to insert notification records, manage sender and recipient IDs, types, and timestamps.
Build and display notifications and message counts in a Twitter-style clone using php and mysql, including updating user profile titles, handling links, and managing account data.
Learn to prevent direct access to PHP files by checking the current file, validating user login, and redirecting unauthorized requests to safe pages, strengthening site security.
How to Build With PHP/Create Social Networking Website like Facebook , Twitter?
Wanted to build your own Social Networking Website? And don’t know where to start from? Don’t worry, this Course will show you step by step how to create your own Twitter Clone using PHP, MySQL, JQuery
As you may already know Twitter is one of the most popular and best Social Networking Website. So why not learn to make your own Twitter Social Networking website?
It doesn't matter if your a beginner or an experienced programmer, just you have to know the basics of PHP, MySQL, HTML ,CSS and JQuery.
This course will greatly and highly beneficial to you. And by the end of this course you will capable of creating your own Social Networking website, not only this you will also be more than competent with skills PHP, PDO, OOP, MySQL and jQuery.
You can highlight the site you create in this course, If anyone who see’s this project in your portfolio might want to hire you because from this course you will gain skills which help you to understand the main concept used to build social networks. So get the ULTIMATE guide to create the High-end social networking website Twitter clone.
Support
By taking this course will get my full support. I’m always loved to help my students (could be you). I’ve answered all that question that students asked so far. I’m always in ninja mood, if there’s been question it’ll be answered within an hour or few. By all this mean is if you have any error. I'll be happy to check codes, errors.
This Course Covers The Following Features:
• Login & Sign-up Systems
• Users Profiles
• Users Timeline
• Users Tweets
• Users Retweets
• Users Comments
• News Feeds
• Hashtags & Mention Users
• Top Trending Posts
• Posts & Images Popups
• Messages and Chat System
• Follow and Unfollow System
• Notification System
•And Much More.
Please look at all the lectures to see more things that are covered.
Some of my students reviews:
Some Firstly the course was well presented the templates made were easier for say newbies to development the instructor Aizaz not only is he very adapt but very patient and always there to help give out advice and more importantly listens\
*******************************************************************************************************
One of the most in-depth and instructive teachers i have had the pleasure of doing a course with. Helped when ever asked a question without fail and went way beyond normal assistance with me. Aizaz overall was superb in teaching this course and taught me wonderful new tricks. 10/10 Class Quality!
*******************************************************************************************************
Excellent course and teacher! Recommend to anyone who wants to learn PHP and also create a real project. The teacher is willing to answer questions if something was not completely understood in the video explanations. I highly recommend :)
*******************************************************************************************************
Mentor will explain each and everything neatly that anyone can understand easily.At first starting this course I didn't know much about php and html but I am learning many extra things which will help in future from mentor.Thank you
***************************End of Reviews ***********************