TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

TypeScript-First Framework Aims to End Serverless Cloud Lock-In

1 点作者 yasserf5 个月前
Hey HN,<p>I just pushed out serverless&#x2F;Cloudflare support for Vramework.dev! The goal is to let you write business logic once and deploy it anywhere—AWS, Azure, on-prem—without having to rewrite huge chunks of your codebase when you switch infrastructure.<p>What is vramework?<p>It isn&#x27;t another server, but rather a normalization layer ontop of the many serverless and server frameworks available today.<p>What’s new?<p>Serverless support now includes HTTP, WebSockets, and scheduled tasks (cron jobs). You can still run Vramework on regular servers (Express, uws, Fastify, ws) as simple middleware.<p>Why?<p>Avoid Lock-In: Early hosting decisions can be painful (and expensive) to change later. Specially when serverless. Cost Control: Switch to a cheaper platform if, for example, egress fees on AWS get out of hand. Enterprise On-Prem: Easily move on-prem for customers with compliance or policy constraints. TypeScript-First: Built around TS from the start, so it feels natural for modern JavaScript teams. Developer Experience: By analyzing code in a compile step, Vramework can generate OpenAPI docs, typed fetch clients, and typed WebSocket clients automatically. Better development experience: Run&#x2F;Test your functions locally via express&#x2F;uws for quicker interation<p>I’m now working on a smarter dependency injection system that figures out which services each function needs—further reducing cost and complexity. This will slow down feature releases while I improve documentation and explain why this model matters.<p>I’m also looking for a new job or an interesting project&#x2F;team to collaborate with, so if you have any ideas or opportunities, feel free to reach out!<p>Check it out and let me know what you think — feedback and questions welcome.<p>Thanks, and happy holidays!

暂无评论

暂无评论