SShortSingh.
Back to feed

Developer Proposes YAML-Based Architecture to Stop AI Regenerating Boilerplate Code

0
·1 views

A developer building a small business platform has proposed an alternative architecture where AI generates YAML definitions instead of writing full application code from scratch. The approach separates business logic descriptions from implementation details, letting a deterministic compiler handle solved problems like authentication, database setup, and connectivity. The YAML definitions cover entities, relationships, automations, permissions, and UI screens, while the compiler targets frameworks such as ASP.NET and Vue. The author distinguishes this from existing tools like Lowdefy, arguing his method compiles definitions into fully standalone applications rather than relying on an interpreted runtime. The goal is to produce complete, self-hostable apps with frontend, backend, database migrations, REST APIs, and MCP support without redundant AI-generated boilerplate.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Visual Regression Testing Uses Screenshot Diffing to Catch Silent Layout Breaks

Visual regression testing compares screenshots of a webpage taken before and after an update to detect layout changes that produce no errors or logs. Unlike traditional error monitoring, this method catches issues caused by CSS conflicts, font overrides, or class name clashes that can break a site's appearance without triggering any alerts. A naive pixel-by-pixel comparison proves unreliable due to rendering jitter and dynamic content, so a two-layer tolerance system is used instead — filtering minor per-pixel brightness differences and only flagging changes when more than 8% of the frame is affected. This threshold is deliberately high enough to ignore localized dynamic content like rotating banners while still catching large structural layout breaks. The approach was refined further following a real production incident, underscoring that robust visual testing requires careful calibration rather than simple pixel matching.

0
ProgrammingDEV Community ·

Developer Builds Browser-Based Random Chat App With Real-Time Language Translation

A solo developer has built Veilr, a random video, voice, and text chat platform designed to overcome language barriers between strangers matched online. The app translates text messages into a recipient's language before delivery and generates live translated captions during voice and video calls using speech-to-text service Soniox. Veilr runs in browsers across 16 interface languages and on Android, with Gemini handling text translation and a WebSocket-plus-Redis architecture keeping messages and signalling in sync across servers. Users retain control over captions — the listener activates them — and the app discloses when microphone audio is being streamed to a third-party provider as a result. The project was built without microservices or queue brokers, using Node, React, and Capacitor, and launched after the closure of Omegle in 2023, which inspired its core concept.

0
ProgrammingDEV Community ·

Developer Builds Green PHP Framework From Personal Experiment to Production Use

A developer named Yasser El-Gammal created Green, a PHP framework that began as a personal experiment to better understand how frameworks work under the hood. Starting with basic routing and database access, the project gradually expanded to include middleware, authentication, sessions, caching, testing, and other features. The framework has seen 22 releases since April 2026, averaging roughly one release per week, with ongoing refactoring focused on simplicity and maintainability rather than just adding features. A significant turning point came when Green was deployed in a real production environment, which prompted the developer to revisit and simplify several design decisions. Green remains a work in progress, and its source code and documentation are publicly available on GitHub.

0
ProgrammingDEV Community ·

Thai AI Models Outperform Foreign Rivals on Local Language and Legal Tasks

A September 2026 analysis by developer Nokka examines where Thai-built AI models hold a genuine edge over global counterparts and where they fall short. Thai models trained on local data perform better at reading handwritten Thai documents, citing specific legal statutes, recognising regional dialects such as Isan speech, and interpreting cultural idioms. However, they lag behind leading foreign models in complex multi-step reasoning, advanced code generation, and broad general knowledge, largely because Thai models currently range from 7 billion to 72 billion parameters while top global models reach into the hundreds of trillions. The author attributes this structural gap to the prohibitive cost of training large-scale models, which requires tens of thousands of GPUs beyond the reach of most Thai teams. The practical recommendation is a hybrid approach — using Thai models for language- and culture-specific tasks while relying on foreign models where maximum reasoning capability is required.