I'm Not An Engineer
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 1/17/2025 in #questions
HTMX worth it? or bad?
Pretty basic websites, what I was looking into the most is hydration (I think) so the pages are pre rendered and stored on CDNs, if someone requests
/services/gaming/
it will return a pre rendered page in HTML. But when someone then clicks on /services/coaching
then it doesn't re render the whole page but only swaps specific elements.4 replies
TTCTheo's Typesafe Cult
•Created by Christos on 1/10/2025 in #questions
Storing Payment Status of Customer on the frontend
Mabe using https://dexie.org/ to sync the backend with the frontend and then have some sort of caching?
10 replies
TTCTheo's Typesafe Cult
•Created by Christos on 1/10/2025 in #questions
Storing Payment Status of Customer on the frontend
If you do this, you take a responsibility that you don't want to have unless you have good lawyers lined up, and enough cash to be able to refund money for any damages you would have created.
Best way is to let the Browser (native functionality) to store this data, like autofill etc aka you don't touch this data at all, you only retrieve or ask for "autofill" and the user just tells firefox or chrome to autofill it.
10 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
I chose CF Pages, I think I might use workers because if I create a table with filters then it's better to have a worker to handle it and not send the whole thing at once.
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
My opinion is that no production website unless it's a doc or project website should be hosted on GH pages.
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
I want to do it on CF but idk about the KC store.
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
Are the CF KC databases just caches or persistent stores?
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
I don't use React or have learned it. Wanted to use Astro or something like that.
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
I mean it's just a git push command or not?
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
Do I pay for the 1MB when a CF worker is invoked?
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
But why a database? I mean the whole data assuming I test like 200 keyboards... will be like 1MB at most...
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
That's why I was thinking about serverless workers on CF
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
I can deploy my own VPS without using docker, bare metal.
I could put all the data into a json file and that would be it, but that wouldn't be fun at all... to give all my hard work in a json file for everyone to access...
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
Cloudflare has also Pages and it's also world wide CDN with no limits or bandwidth restrictions.
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
But how does it look in terms of accessibility? Im actually from the EU and there is also Asia, Africa USA and I would like to have servers there too.
24 replies
TTCTheo's Typesafe Cult
•Created by I'm Not An Engineer on 12/28/2024 in #questions
Are Serverless functions the right thing for me?
Do i need to use next.js?
24 replies