"Twitter Clone" Full-Stack Web Development project tutorial on LAMP (Linux, Apache, SQL, PHP)
TechLead TechLead
1.47M subscribers
303,339 views
0

 Published On Nov 28, 2019

Please like the video. Ex-Google TechLead builds a full-stack web application for a Twitter prototype in less than 140 lines of code. Check out http://curiositystream.com/techlead for unlimited access to the world’s top documentaries and non­fiction series, and enter promo code ‘techlead’ for a free 30-day membership.

In this coding video, we create a "Twitter clone" using the classic LAMP web stack. The demo and source code are here: http://techleadpro.com/tweetdemo/

LAMP (Linux, Apache, MySql, PHP) has traditionally been a popular full-stack web-dev technique that powers many websites. It's one of my favorite development techniques for quickly setting up a website. I've purposely kept this tutorial as simple as possible to show you how you can also set up your own complete website as simply as possible. From here, you can refactor code, bring in additional developer frameworks and libraries, scale out, and so forth, but this is a nice start to show you the foundations of web development. BTW, I also recommend upgrading to the latest PHP7 if you continue working on this stack for the latest features.

Note, that there are other popular techniques as well. Some people may prefer using Docker containers instead of the monolithic server here for better scalability (though it's a more complex setup), or we could have used Amazon AWS, Google Cloud, or DigitalOcean for hosting instead of IBMCloud, and others might use entirely managed backends like Firebase or AWS Lambda. Python with Flask/Django or NodeJS or Go could have been used instead of PHP/Apache as the web backend framework, and PostgreSQL or MongoDB could be swapped in for MySql as the database. You could have also added a caching layer here using something like Memcached or Redis. Given more time, we could have used a CDN as well for faster image loads, added a load-balancer, or used database replication for scalability. (If you're interested in systems design, I talk a lot about it in my program at http://techinterviewpro.com/.)

Let me know if you have any questions and I'll be happy to answer them in the comments below.

Join me in DeFi Pro and make passive income with crypto. http://defipro.dev/
Join ex-Google/ex-Facebook engineers for my coding interview training: https://techinterviewpro.com/
💻 100+ Videos of programming interview problems explained: https://coderpro.com/
📷 Learn how to build a $1,000,000+ business on YouTube: http://youtubebackstage.com/
💻 Sign up for my FREE daily coding interview practice: http://dailyinterviewpro.com/

🛒 All my computer/camera gear: https://www.amazon.com/shop/techlead/...
⌨️ My favorite keyboards: http://iqunix.store/techlead

🎉 Party up:
  / techleadhd  
  / techleadhd  

Disclosure: Some links are affiliate links to products. I may receive a small commission for purchases made through these links.
#techlead

show more

Share/Embed