SShortSingh.
Back to feed

Frontend Architecture Debate Resolved by Three Core Responsibilities

0
·66 views

A software developer argues that over 30 years of frontend development disputes about state ownership can be resolved by recognizing three layered responsibilities: the browser owns URL orchestration, the server owns content, and the browser again handles local UI affordances. This client-server-client pattern, the author contends, underpins every major frontend architecture from SPAs to HTMX to LiveView. Misalignment between these responsibilities is identified as the root cause of rising complexity in web application development. The author maps popular frameworks onto this model, noting that tools like HTMX lean heavily on server-side content while minimizing client-side affordances, whereas SPAs shift more weight to the client. The piece concludes that no single framework covers the full solution space, but all follow the same fundamental layering pattern.

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 ·

Python Tool Exports Agoda Hotel Reviews and Sub-Scores to a Spreadsheet

A developer has published a tutorial on pulling Agoda hotel reviews, scores and sub-scores into a CSV file using Python. The guide notes that each Agoda hotel page combines Agoda's own guest reviews with Booking.com reviews republished on the site, each with separate scores and six sub-ratings. The approach uses a paid scraping tool, built by the author, that accepts hotel links, IDs or names and returns one row per review along with hotel-level data. The sample script also summarises average ratings by traveller type and flags hotels whose details may need checking. The post additionally suggests uses such as mining complaints from low-rated reviews.

0
ProgrammingDEV Community ·

On-Device AI Hardware Faces Physical Limits: Heat, Power Droop, and Bandwidth

A PCB manufacturer warns that moving large language and vision models onto portable devices exposes physical constraints that software teams often overlook. Chips sustaining high compute loads can produce intense heat, and without adequate thermal copper, vias, or heatsinks, they throttle performance or shut down. Sudden surges in current demand can also cause voltage droop that crashes systems, a failure that code changes cannot fix. The article adds that memory bandwidth becomes a critical bottleneck on edge hardware, which is more constrained than in PCs or servers. The author argues that hardware design must be planned alongside software to make on-device AI reliable.

0
ProgrammingDEV Community ·

How Byte Pair Encoding Builds the Token Vocabulary Behind Language Models

Before a language model processes text, a tokenizer splits it into integer IDs drawn from a fixed vocabulary, and the model never directly sees letters or whole words. Byte pair encoding builds that vocabulary by starting from single characters and repeatedly merging the most frequent adjacent pair until a target size is reached. The article notes that vocabulary size is a tradeoff: larger vocabularies pack text into fewer tokens but add parameters, and because the vocabulary is learned from data, languages like Urdu end up costing far more tokens than English. The method originated as a 1994 data compression technique and was adapted for neural machine translation in 2016 by Sennrich, Haddow, and Birch to handle rare words. The authors implemented the algorithm from scratch on the paper's example dictionary to demonstrate how frequent words become single tokens while rarer ones split into pieces.

0
ProgrammingDEV Community ·

Darwin-180B-RSI-R3 Ranks Second on SuperCLUE Math and Science Reasoning Test

VIDRAFT, a South Korean AI startup, released Darwin-180B-RSI-R3, a 180-billion-parameter Mixture-of-Experts model built on Alibaba's Qwen3.8-Flash-Next. Independent evaluation by SuperCLUE on November 5, 2026 placed it second overall and first among open-weight models in math and science reasoning, with a score of 73.68. The model was produced by retraining only the attention, linear-attention, and shared expert layers while keeping the feed-forward expert blocks that store factual knowledge intact. Its weights are available under a Qwen community license permitting commercial use, and a 4-bit quantized edge variant can run on a 32 GB RAM laptop without a GPU. The reported gain over its base model in math and science reasoning was 15.8 points.