Replies: 4 comments 3 replies
-
|
Hi @ralyodio Thanks for the question and discussion! These are some thorough thoughts. Let me explain where Perry fits in and where it does not. Straight upfront: If your web implementation targets traditional DOM, SEO, and things like that, then Perry will at most compile the server returning the HTML/JS bundle (which is independent of Perry itself). Our landing page (perryts.com) does that. It's a Perry compiled server, but the page itself is just plain JavaScript + HTML + CSS. And honestly: Perry is not made to "build" the DOM, that's part of the design. But, here is where Perry fits in perfectly:
So what "in other words" is essentially correct, but the long-term idea here is to replace "nodejs" entirely in the stack. (not JavaScript for the browser, but nodejs on the server). Also worth mentioning: Perry has a fairly mature WASM/WebAssembly platform adoption. For example, this here is Perry compiled: https://bloomengine.dev/jump/ So, depending on "what" you need/want to do in the web browser, Perry can compile natively there as well. It's just not a good fit for "traditional websites/webapps", and that's by design. Feel free to contact me directly (@realamlug on X/Twitter or proggeramlug on Telegram) if you want to talk more specifically and in detail. :) |
Beta Was this translation helpful? Give feedback.
-
|
yeah i've been using next.js for ssr mostly. i guess i still need to keep doing that for the web/pwa app huh? |
Beta Was this translation helpful? Give feedback.
-
|
that's ok how can i help? |
Beta Was this translation helpful? Give feedback.
-
|
do you have singla or discord? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Runtime model:
Browser/PWA Mobile app Desktop app CLI Worker nodes Third-party clients | v https://api.example.com | v apps/api: Hono | v packages/core + packages/db | v Postgres/Supabase, Redis, queues, object storage, payments, etc.The key idea is:
apps/apito PerryTS later if compatibility and server support are mature enough.So my question is:
Is this the right mental model for PerryTS today?
In other words:
Or is PerryTS already intended to replace more of this stack, including
apps/webor the central API layer?Beta Was this translation helpful? Give feedback.
All reactions