Lomho Dev
Learn web development from scratch. Skill:
- Laravel
- PHP-MySQL
- HTML-CSS
- JavaScript
- Bootstrap
- React Native
18/11/2025
๐น Simple Architecture Diagram for Web Application ๐น
This image shows a clear overview of how users access a web system from their browser or mobile app and how the entire backend works behind the scenes.
โจ Whatโs happening in the diagram?
๐ฅ Users
People access the system through a web browser or a mobile app.
๐ DNS (Domain Name System)
When users visit app.demo.com, DNS translates the domain into the serverโs IP address 172.16.254.254 so their device knows where to connect.
๐ฅ Web Tier
This is where the main application runs:
Server handles requests
Web App (JavaScript) processes logic
Cache (Redis) speeds up responses
๐ฆ Data Tier
The Database stores all the important data such as users, posts, transactions, etc.
๐ก Communication
The browser/app sends requests via HTTP, the web server processes them, fetches data, uses cache for performance, and returns results in HTML/JSON.
This simple 3-tier architecture (Client โ Web Tier โ Data Tier) is the foundation of most modern web & mobile applications today.
Source:
https://www.youtube.com/watch?v=adOkTjIIDnk
Upload 16 files about 1GB in just miliseconds ๐ฅต
Language: Go with Gin framework
Database: posgress
12/11/2025
๐ก Your code doesnโt need to be perfect to be valuable.
Ugly code that works > beautiful code that doesnโt exist.
Iโve seen beginners spend 3 days perfecting one button animation...
Meanwhile, they havenโt shipped anything in 2 months.
Hereโs what employers actually care about ๐
โ
Can you build features that work?
โ
Can you ship them on time?
โ
Can you debug when things break?
They donโt care if your code is elegant.
They care if it solves the problem.
๐ Build it ugly. Ship it today. Make it pretty later.
Done is better than perfect.
Your messy portfolio with 10 shipped projects
beats someoneโs โperfectโ portfolio with 0 projects.
๐ Stop optimizing. Start shipping.
11/11/2025
๐ฅ แแปแแแแแถแแถแ
แ Laravel Octane + FrankenPHP vs Default Artisan Serve
แแแแแแแแแแแปแแแถแแแแแพแแถแแแถแแแแแแแแแพ wrk แแพแแแแธแแแแแแแแแแแแฟแแแแแแทแแแแแทแแถแแแแถแ Laravel Octane (FrankenPHP) แแทแ Laravel default (artisan serve) แแ
แแแแปแ Local แแแถแแแธแแแแแแแแแปแ (MacBook Pro, M1)๐
๐ แแแแแแโฆ
๐น Port 8080 (Octane + FrankenPHP)
Requests/sec โ 2,066
Latency โ 573ms
Transfer/sec โ 502KB/s
๐น Port 8001 (artisan serve)
Requests/sec โ 9.47
Latency โ 1.02s
Socket errors: 3,514
โก แแแปแ:
FrankenPHP แแฝแแแแแแพแแแแแแแแถแแแแแแถแ 200x แแพแ Laravel default server!
แแถแแแแแพ Octane แแถแแฝแ FrankenPHP แแทแแแแแนแแแแแแแพแฒแแ response time แแฟแแแแปแแแแแแแ แแแขแถแ
แแแฝแแแถแ throughput แแแแแแแแแแถแแ concurrent requests แแแ 1200 connections ๐ฎ
๐ง แแแ
แแแแธแแแแแทแแแแถแ:
แแแแแทแแแพแขแแแแ
แแแขแแทแแแแ API แฒแแแแถแแแแแแแแถแแแแแแ แแถแแแแแแแแแพ Laravel Octane + FrankenPHP แแบแแถแแแแแพแแแแขแแแแปแแแแแแถแแ production-level performance ๐
Responsive menu with HTML-CSS
Watch on youtube: https://youtu.be/-a3SAgmUEwk
In this video, youโll learn how to:
โ
Create a stylish navigation bar layout
โ
Use Flexbox for responsive alignment
โ
Media screen for resonsive
โ
Implement a mobile-friendly menu with a toggle icon
๐ฏ Perfect for:
Beginners learning web design, students working on front-end projects, or anyone looking to create a sleek, professional navbar for their website or portfolio.
๐ Source Code: https://gitlab.com/.../responsive-navbar-from-top.html...
๐ ๏ธ Tools Used:
HTML5
CSS3 (with Flexbox & Media Queries)
JavaScript (DOM manipulation)
๐ Like this tutorial? Donโt forget to LIKE, SUBSCRIBE, and hit the ๐ bell icon for more web development tips and tutorials!
26/07/2025
๐ป Responsive Navbar Design with HTML, CSS & JavaScript ๐ป
Welcome to this step-by-step tutorial where we build a clean and responsive navigation bar using HTML, CSS, and vanilla JavaScript!
Watch on youtube: https://youtu.be/-a3SAgmUEwk
In this video, youโll learn how to:
โ
Create a stylish navigation bar layout
โ
Use Flexbox for responsive alignment
โ
Media screen for resonsive
โ
Implement a mobile-friendly menu with a toggle icon
๐ฏ Perfect for:
Beginners learning web design, students working on front-end projects, or anyone looking to create a sleek, professional navbar for their website or portfolio.
๐ Source Code: https://gitlab.com/learning6503230/html-css/-/blob/main/responsive-navbar-from-top.html?ref_type=heads
๐ ๏ธ Tools Used:
HTML5
CSS3 (with Flexbox & Media Queries)
JavaScript (DOM manipulation)
๐ Like this tutorial? Donโt forget to LIKE, SUBSCRIBE, and hit the ๐ bell icon for more web development tips and tutorials!
18/07/2025
How much JavaScript do you need to know to use Node.js?
Read more: https://nodejs.org/en/learn/getting-started/how-much-javascript-do-you-need-to-know-to-use-nodejs -is-recommended-to-learn-before-diving-deep-with-nodejs
01/07/2025
Which one is ๐ ๐
30/06/2025
Here are 10 example promptsโeach crafted to show how keywords steer the AIโs focus. The bolded words are the critical instructions that make your prompt precise and effective.
-Role & Task:
โYou are an expert in medieval history. Summarize the key events leading to the Hundred Yearsโ War in bullet points.โ
-Tone & Format:
โTranslate the following paragraph into formal English, preserving all technical terms.โ
-Quantity & Topic:
โList five creative blog post titles for a blog about sustainable living.โ
-Comparison & Structure:
โCompare Python and JavaScript in terms of performance, usability, and community support, providing a table.โ
-Constraints & Details:
โGenerate a weekly meal plan for a vegetarian diet under 2000 calories, including breakfast, lunch, and dinner.โ
-Purpose & Audience:
โDraft a professional email to a potential client requesting a project meeting, and include a polite closing.โ
-Complexity Level:
โExplain the concept of blockchain to a middle school student, using a simple analogy.โ
-Step-by-Step & Tools:
โCreate a step-by-step guide for deploying a Laravel 11 application to DigitalOcean, including all necessary commands.โ
-Customer Focus & Tone:
โWrite a customer support response apologizing for a delayed shipment, offering a discount code, and maintaining a friendly tone.โ
-Analysis & Recommendations:
โAnalyze the following dataset and provide a summary of trends, visualization recommendations, and potential next steps.โ
Why these keywords matter:
You areโฆ / Act asโฆ sets the role and expertise level.
Summarize / List / Compare / Explain / Generate / Draft / Create / Write / Analyze define the action you want.
Bullet points / Table / Step-by-step guide specify the format.
Five / Weekly / Under 2000 calories impose quantitative constraints.
Friendly tone / Formal English / Simple analogy control the style and audience level.
By combining these elementsโrole, task, format, constraints, and toneโyou guide the model to deliver exactly what you need.
18/06/2025
JavaScript Cheat sheet
12/04/2025
แแผแแขแแแแฝแแแแแปแแแทแแธแแฝแแแแธ แแแแแถแแแ แแ แแแแแแแผแแแปแแฒแแแแถแแขแแแบ
11/04/2025
๐ แแแแแถแแแแแแแ
แถแแแแแแ แแแแแแแถแแแทแ
แแ
MVC แแแแปแแแถแแขแแทแแแแแแแแแถแ
แแทแแแถแขแแแแแแแพ Laravel, Django แฌ Rails โ แแแแถแ Model-View-Controller (MVC) แแบแแถแแแแฟแแ
แแแแแแแแปแแแถแแแแแแพแแขแถแแแแแแธแแแแทแแแแแแถแแแ
แแถแแแแแแแแแแแข แแทแแแถแแแแแฝแแแแแถแแ
๐ MVC แแถแขแแแธ?
๐ Model (แแแผแแแ) โ แแแแแแแแแแแทแแแแแแ แแทแแแผแแทแแขแถแแธแแแแแ (แแผแ
แแถ query แแ
DB)
๐ View (แแทแแแแแถแ) โ แขแแแธแแแแขแแแแแแแพแแพแแแพแ (HTML/CSS/JS)
๐ Controller โ แแถแแแแถแแแแถแแแแแแถแแแแแถแ Model แแทแ Viewแ แแถแแแแแผแแแทแแแแแแแแธแขแแแแแแแพแแแแถแแ แแแแพแแถแแแถแแฝแ model แแฝแ
แแแแ แถแแแแแแแถแแแ
แแถแแ Viewแ
๐ก แ แแแปแขแแแธแแฝแแแแ MVC?
๐ แแแแ
แแแผแแแถแแแแข แแถแแแแแถแแ
๐ แแถแแแแแฝแแแแแพแแถแแแถแแแแปแ (แขแแแแแ
แแถ, frontend, backend)แ
๐ แแแแถแแแแถแแแแแแแถแแแแถแแแถแแแถแแฝแ frameworks แแถแ
แแแพแ แแผแ
แแถ Laravel, Vue, API, แแทแ Reactแ
๐ก แแถแแแแแแนแแขแแแธ MVC แแนแแแฝแแฒแแแขแแแแแแแถแแแถแขแแแแขแแทแแแแแแแแแถแแแแแแแแถแแแแแแแ
แแแแฝแแ แแพแแถแแขแแแธแแพแแกแพแแแแแขแแแแ
แผแแแแแพแแแแถแแ (login) แแ
แแแแปแแแแแแแแแแแฝแ แแแแแแแพแแแแถแแ MVC?
๐แแผแแ
แผแแแฝแแ
แแแแพแแแ
แแถแแแแแแ! ๐
English: ----------------------------------------
๐ Topic of the Day: Understanding the MVC Architecture in Web Development
Whether you're using Laravel, Django, or Rails โ the Model-View-Controller (MVC) pattern is the foundation of clean and scalable web applications.
๐ What is MVC?
Model โ Handles the data and business logic (e.g., database queries).
View โ What the user sees (HTML/CSS/JS).
Controller โ Connects the Model and View. It processes user input, updates the model, and loads the right view.
๐ก Why Learn MVC?
Keeps your code organized and easy to maintain.
Makes it easier to work as a team (designers, frontend, backend).
Essential for working with modern frameworks like Laravel, React (in MVC style), and Vue with Laravel APIs.
๐ Mastering this pattern will take your development to the next level.
๐ง Question for you: Can you explain what happens when a user submits a login form in an MVC app?
Drop your thoughts in the comments below! ๐
#แแ
แแ
แแแแทแแแแถแแแแแถแ
#แแแLaravel
#แขแแทแแแแแแแแแแทแแธ
#แแแแแแแแพแแแแแแถแ
#แแแแแแทแแธแแแแแ
#แแแแแแแแแแแแแแแแแผแ
Click here to claim your Sponsored Listing.
Contact the business
Telephone
Website
Address
National Road 3
Phnom Penh
12000