fTxUser
fTxUser
Explore posts from servers
KPCKevin Powell - Community
Created by fTxUser on 8/8/2024 in #back-end
CMS that only interacts with a exisiting Database?
So most Headless CMS come or connect to a database on the backend and the Headless CMS than creates API endpoints that you can than access from your Frontend to get the content into your site. Since Pocketbase, Supabase, Firebase offer such great integrated backend solutions with Auth, DB, API endpoints - I am now wondering if there is a Headless CMS that only acts as a frontend for updating such a BaaS system. Since Pocketbase offers an API for my site to get content, I only really need the CMS to do CRUD operation on tables via the API that Pocketbase offers and it doesn't need to create a API for the frontend, since Pocketbase/Supabase already offer that. At the same time I don't want to have to build a custom CRUD Frontend for my BaaS Backend. Maybe I have a knot in my brain, but it doesn't seem like any headless CMS is really doing this or am I just not understanding something here?
4 replies
KPCKevin Powell - Community
Created by fTxUser on 7/31/2024 in #front-end
Best practice to style standard HTML elements with TailwindCSS?
I am exploring Tailwind atm while learning Astro. TailwindCSS is removing all spacings, sizings and formatting of HTML elements by default, so you can use your own system. What is the best practice to style repeating elements like <p> or <h1> elements when using Tailwind? should I use @apply in my stylesheet? p { @apply p-2; } just use standard css? p { padding: 1rem; } or is there a better way to handle this? Thanks!
1 replies
KPCKevin Powell - Community
Created by fTxUser on 7/26/2023 in #os-and-tools
Using AI to process, classify and filter text?
First off: I am a noob, only work with HTML and CSS, but have a little bit of understanding of how programming and the web works. So I am interestig on how one would process html / text nowadays to classifiy it by certain standards. Let's say for example I would want to filter a number out of a block of text, but if there are multiple numbers, I want to prefer the number that has a certain word in it's radius and so on. I know that this can be done with regex (regular expressions), but wonder how hard it is to build such a classification service using ML/AI services available today. Anybody have some poiners on where to start looking / learning or can maybe sketch out the process roughly?
7 replies