Lomho Dev

Lomho Dev Learn web development from scratch. Skill:
- Laravel
- PHP-MySQL
- HTML-CSS
- JavaScript
- Bootstrap
- React Native

🔹 Simple Architecture Diagram for Web Application 🔹This image shows a clear overview of how users access a web system fr...
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

14/11/2025

Upload 16 files about 1GB in just miliseconds 🥵
Language: Go with Gin framework
Database: posgress

💡 Your code doesn’t need to be perfect to be valuable.Ugly code that works > beautiful code that doesn’t exist.I’ve seen...
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.

🔥 ខុសគ្នាដាច់ Laravel Octane + FrankenPHP vs Default Artisan Serve ថ្ងៃនេះខ្ញុំបានធ្វើការសាកល្បងប្រើ wrk ដើម្បីប្រៀបធៀបល...
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 🚀

26/07/2025

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!

🔻 Responsive Navbar Design with HTML, CSS & JavaScript 🔻Welcome to this step-by-step tutorial where we build a clean and...
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!

Which one is 🆒 😂
01/07/2025

Which one is 🆒 😂

Here are 10 example prompts—each crafted to show how keywords steer the AI’s focus. The bolded words are the critical in...
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.

JavaScript Cheat sheet
18/06/2025

JavaScript Cheat sheet

សូមអោយជួបតែសុខសិសីសួស្ដី រៀនឆាប់ចេះ សរសេរកូដកុំឲ្យមានអេរឺ
12/04/2025

សូមអោយជួបតែសុខសិសីសួស្ដី រៀនឆាប់ចេះ សរសេរកូដកុំឲ្យមានអេរឺ

🚀 ប្រធានបទប្រចាំថ្ងៃ៖ បំណែងភារកិច្ច MVC ក្នុងការអភិវឌ្ឍវេបសាយមិនថាអ្នកប្រើ Laravel, Django ឬ Rails — លំនាំ Model-View-Co...
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
#អភិវឌ្ឍកម្មវិធី
#រៀនបង្កើតវេបសាយ
#កម្មវិធីខ្មែរ
#បង្រៀនគ្រប់គ្រងកូដ









Address

National Road 3
Phnom Penh
12000

Telephone

+85585356767

Alerts

Be the first to know and let us send you an email when Lomho Dev posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Lomho Dev:

Shortcuts

Share

Category