A Live Admin Panel Without Writing JavaScript: Curling IO's admin area is a single Lustre server component running on the BEAM. One WebSocket connection, one long-lived Erlang process per session. Every interaction goes over that WebSocket and comes back as a DOM patch. The page never reloads, and there's no client-side JavaScript framework. The entire admin UI is written in Gleam, compiled to Erlang, and runs server-side. https://lnkd.in/eGwQ4aGx
Curling IO Admin Panel: Erlang-based Live UI
More Relevant Posts
-
🚀 JavaScript Challenge #1 What will be the output? console.log(1 + "2" + 3); Think before you answer 👇 Most people get this wrong. 👉 JS converts numbers to strings when needed: 1 + "2" → "12" "12" + 3 → "123" ✅ Output: "123" 💡 Lesson: Type coercion can silently change your logic. Did you get it right? 😄 Follow for more daily Challenges
To view or add a comment, sign in
-
TypeScript 6.0 is out and doubling down on being JavaScript with syntax for types. The release adds built-in Temporal types, better generic inference, and prepares for Go compiler rewrite. Read more: https://lnkd.in/eY6PU-WW #devnews #typescript
To view or add a comment, sign in
-
-
Effect Without Effect-TS: Algebraic Thinking in Plain TypeScript In recent years, the JavaScript ecosystem has seen a surge of frameworks and libraries designed to simplify error handling and improve type safety. However, many developers continue to struggle with complex try/catch blocks nested within their functions, especially when working w Sharing a bit more context in the post. https://lnkd.in/gP2wVREB
To view or add a comment, sign in
-
Effect Without Effect-TS: Algebraic Thinking in Plain TypeScript In recent years, the JavaScript ecosystem has seen a surge of frameworks and libraries designed to simplify error handling and improve type safety. However, many developers continue to struggle with complex try/catch blocks nested within their functions, especially when working w Sharing a bit more context in the post. https://lnkd.in/gP2wVREB
To view or add a comment, sign in
-
𝗦𝗮𝗺𝗽𝗹𝗲 𝗼𝗳 𝗙𝘂𝗻𝗰𝗍𝗶𝗼𝗻 You write a function once, you use it many times. In JavaScript, a function is a block of code that performs a specific task. You have several types of functions, including: - Function Declaration - Function Expression - Arrow Function - Anonymous Function - Named Function - Callback Function - IIFE - Recursive Function - Higher-Order Function - Constructor Function - Generator Function - Async Function - Method Source: https://lnkd.in/gRkjbBt8
To view or add a comment, sign in
-
𝗧𝗲𝗺𝗽𝗹𝗮𝗧𝗲 𝗟𝗶𝗧𝗲𝗿𝗮𝗹𝘀 𝗜𝗻 𝗝𝗮𝗙𝗮𝘀𝗰𝗿𝗶𝗽𝘁 When you start building strings in JavaScript, you often use the + operator. This works, but it gets messy and hard to read as your code grows. You have variables like name and age. You want to build a message with these variables. The old way is to use the + operator: let name = "Alice" let age =
To view or add a comment, sign in
-
Can you spot the bug in this JavaScript challenge? We define an object with a greet method and call it directly. So far so good. Then we pass that same method to setTimeout. Same method – different result! What happened? Check out the video and share your best answer in the comments.
To view or add a comment, sign in
-
𝗧𝗵𝗲 𝗕𝗮𝘀𝗶𝗰𝘀 𝗼𝗳 𝗝𝗮 v𝗮𝗦𝗰𝗿𝗶𝗽𝘁: 𝗦𝘆𝗻𝗰𝗵𝗿𝗼𝗻𝗼𝘂𝘀 𝗩𝘀 𝗔𝘀𝘆𝗻𝗰𝗵𝗿𝗼𝗻𝗼𝘂𝘀 You write code in JavaScript. But do you know how it runs? - Synchronous code runs line by line, one after another. - Asynchronous code does not wait. Here is an example of Synchronous code: console.log("Start"); function slowTask() { for (let i = 0; i <
To view or add a comment, sign in
-
TypeScript was created to improve JavaScript by adding static types. And if you've been wanting to learn it, start here with this TS handbook. You'll learn about type annotations, type inference, the union and any types, objects, function params, type aliases, interfaces, and lots more. https://lnkd.in/eEwVi_ZE
To view or add a comment, sign in
-
-
Do You Really Understand the JavaScript Event Loop? 🤔 Most developers use async code daily… but few truly understand what happens behind the scenes.
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
Gleam and Lustre is such a dream to work with!