News for hackers. Stuff that matters.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by klaussilveira on Friday July 21, 2023 @09:28AM (#36813514)
I wish there was something like this, but for serial dynamic content, like blog posts, reviews, etc. People are really attached to WP, but customization and themes are a nightmare.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by kykeonaut on Friday July 21, 2023 @09:35AM (#36813577)
I think people are attached to Wordpress for the same reason we are attached to Javascript. At the time, it was one of the only ways of easily creating a blog.

The problem with Wordpress is that once you need to do something outside of the norm then all of the sudden you need deep knowledge of Wordpress's inner workings.

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by pc86 on Friday July 21, 2023 @09:56AM (#36813817)
There was never a time when WordPress was the only easy way for even a non-technical person to create a blog, they just did a great job marketing that that was the case.

I spent a very brief time as a contributor to WP internals (not core by any means but a handful of contributions) and not only do you need a lot of internal knowledge to do anything outside of point-and-click, like you said, a lot of the core folks had never worked on any other large software projects, didn't do anything outside of WordPress, and had very little desire to make sure what they were doing was sound from a software engineering / code quality standpoint. It's a pretty great example of the big ball of mud / spaghetti code cliche.

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by actionfromafar on Friday July 21, 2023 @09:59AM (#36813843)
From a social standpoint, it was though. You could ask a lot of non-expert people for help on Wordpress and get it.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by pc86 on Friday July 21, 2023 @10:00AM (#36813856)
That's exactly what I mean. They did a great job making people think that if you wanted a blog and weren't a programmer, WP was your only choice.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by codegeek on Friday July 21, 2023 @10:19AM (#36814080)
Ok I will bite. What was an alternative to WordPress especially back then that actually was as easy to use as WP AND had the ecosystem of plugins that WP has. Focus on non technical users only who have no idea how to write code.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by chiefalchemist on Friday July 21, 2023 @10:47AM (#36814434)
You're correct. Alternatives were slim. But in retrospect, perhaps that was part of the problem? WP had zero incentive for clean code, QA, industry standards, etc. The more it grew, ironically the less it cared. The embedded base of site and dev as well as the plugin and theme ecosystem maintain the momentum forward, somehow.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by _jal on Friday July 21, 2023 @11:38AM (#36815064)
The main competitor was Movable Type.

I recall there being several other also-rans, but am having trouble recalling names.

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by eropple on Friday July 21, 2023 @03:03PM (#36818041)
Movable Type was pretty great, but it also cost money. The open-source era of MT was brief and after its primary period of relevance.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by civilitty on Friday July 21, 2023 @12:29PM (#36815847)
I don't think it was even the marketing but the product placement. I remember in the 2000s if you wanted hosting that wasn't a dedicated server, the scene was dominated almost entirely by CPanel with a one click installer for Wordpress.

Once the plugin ecosystem sprung up around it, WP was off to the races.

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by stOneskull on Saturday July 22, 2023 @02:55AM (#36823977)
wp can be the choice for an e-commerce site.. woocommerce is pretty good and hard to match
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by contravariant on Friday July 21, 2023 @09:43AM (#36813646)
That sounds like static content to me, what's wrong with just HTML?
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by klaussilveira on Friday July 21, 2023 @09:48AM (#36813708)
It's not really static. It grabs data from a database, or an API, and renders using entity-specific templates, both from a single entity perspective (post.php theme) and listing (search.php, index.php).

What I mean is: having something like Primo that allows visual management of such dynamic blocks and themes would be nice, so Editors can just play around with the result of their content calls (which the CMS handles transparently, doesn't matter if a SQL query or an API call).

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by pc86 on Friday July 21, 2023 @09:59AM (#36813849)
That is static - none of it is based on user input so it can be compiled into a static HTML page every time you publish a new post or edit a page theme or anything. There's no reason the system needs to pull that 5 year old blog post from the database every time.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by johnnyworker on Friday July 21, 2023 @10:37AM (#36814321)
That depends on the desired features. E.g. if you have a tag cloud displayed in the sidebar on each page, author list, etc., any change to any post could potentially mean all pages have to be rebuilt. Or if you have different ways to display items (full, thumbnail), different ways of sorting them, and maybe even variable pagination (i.e. "show me page 7 with 15 items per page"), and it can very easily become unfeasible to statically generate all possible permutations. In the context of "systems that allow newbies to get results" this may not be as important, even there you might want to have little neat things like displaying relative dates. Dynamic doesn't have to mean user input, it just means dynamic. And then there's search, in case you want/need to handle that yourself.

A probably very naive solution to that I came up with and experimented with is keeping track of all things that go into a page, and tag the cache of it with them, so I could invalidate all cached items that refer to a thing that was just changed (where that thing can be anything, a tag, the site title, whatever), but I ended up scrapping in favor of caching everything for 1 hour no questions asked, because it was just total overkill for my use case.

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by klaussilveira on Friday July 21, 2023 @10:34AM (#36814273)
How is it not user input? Editor can opt to show whatever in his list, playing with the external source filters: most visited, or last published, or less visited.

Once the editor is done with his work, if you want to compile a bunch of HTML/CSS and push to Netlify, that's fine. But his interaction with the CMS is not static at all.

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by contravariant on Friday July 21, 2023 @10:46AM (#36814419)
Hmm, well if you consider that to be dynamic then editing html files in notepad is dynamic as well I suppose.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by mmmateo on Friday July 21, 2023 @09:43AM (#36813647)
Definitely possible in the future, although to keep the project focused I'd imagine using a plugin or fetching that content from a separate CMS tailor-made for that kind of content would be ideal.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by jordienr on Friday July 21, 2023 @11:17AM (#36814805)
That’s what I’m building :)

https://zendo.blog

Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by mmmateo on Friday July 21, 2023 @11:34AM (#36815002)
This looks perfect! Just signed up
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by dgudkov on Friday July 21, 2023 @12:04PM (#36815486)
Looks neat! Signed up.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by manuelmoreale on Friday July 21, 2023 @12:37PM (#36815993)
Not sure if this is what you’re after but give https://getkirby.com/ a try
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by Aeolun on Friday July 21, 2023 @07:14PM (#36821284)
That’s a bit more expensive than I’m open to for some random personal website.
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by lukeholder on Friday July 21, 2023 @09:02PM (#36822105)
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by gochi on Friday July 21, 2023 @12:57PM (#36816311)
Re:Show HN: Primo – a visual CMS with Svelte blocks, a code ... by Jiocus on Friday July 21, 2023 @03:07PM (#36818098)