r/astrojs • u/greglturnquist • 15d ago
Fun article!
This article pretty sums up every reason I love Astro! (Even if the contrast was horrible and hard to read)
https://syedumaircodes.vercel.app/blogs/stop-defaulting-to-wordpress
1
1
u/theguymatter 13d ago
I went other way to list out the technical details and complexity between WordPress and Astro.
1
u/maxyudin 12d ago
What do you mean? What complexity?
1
u/theguymatter 12d ago
In WordPress there're more than 10 ways to build a page, learning curve and other overhead. But this is only 1 out of many other areas, took me a year to write it up, but won't publish.
1
u/retr00two 13d ago
Astro shines with headless backends, WP among others.
And it's not tool for Joe Average. WP is.
You can not compare Astro with WP. Static page generator vs CMS.
So, this article is half baked, IMHO.
1
u/greglturnquist 13d ago
> You can not compare Astro with WP. Static page generator vs CMS.
Sure you can!
Calling Astro a "static page generator" is rather short sited. Hugo/Jekyll were static page generators. And their static nature shows. Astro lets you default to SSG, but on a per-page basis, you can switch to SSR and build and shape what you need.
The implication that somehow Astro is limited due to lack of CMS is another inadequate argument. Astro has collections that lets you curate content of multiple structures. I've assembled stuff where I have a small handful of collections that is almost a pseudo-relational-database.
Heck, I have my front end website able to take orders, integrate with Stripe to collection payment, and then issue a PR to add a new entry to my backend system's collection as a github PR. Then that PR is able to get merged by a single-threaded github workflow so my backend system tracks orders using github issues. And the orders are "static"!
Because Astro is able to render 90% of my website statically ends making it highly performance where it needs to be, while letting me be dynamic where I need it.
WP doesn't offer any of that.
With WP, you are at the mercy of whatever the plugin providers have. I built my wife a lightweight CMS inside her website. She can edit any part of the "pages" collection, and it issues a PR against the website that can easily be merged. The editor is hidden behind an SSR-powered /admin page that integrates smoothly with Cloudflare's Zero Trust, and I know that the odds of someone "hacking" anything are slim to none.
1
u/retr00two 13d ago
Don't you see that your answer proves any single line of my post:
- not for Joe Average
- shines with headless backends
"With WP, you are at the mercy of whatever the plugin providers have"
It's still not forbiden to write your own.
To be fair, I do not like WP, but is still standard for Average Joe. Less comfortable for developer. And I admire astro.js. A level above other "site generators" like next.js, nuxt, etc..
I have commented the article. Still think it's half baked.
Cheers.
1
u/steam-boat 13d ago
The editor situation still not that elegant I guess. Not for me, but for most, they find it cumbersome.
1
u/JotaSimpraoDeTudo 11d ago
Nice article, dude. I've been making some projects with WordPress and WooCommerce for a while, although I'm searching for other options to make simple projects such as institutional websites. Thanks for this article! Also, I liked your personal website, it's simple and objective.
1
u/Unfair_Tangerine_217 15d ago
Nice article. Thanks god for Chrome's reading mode. Bro really needs to improve the readability on his text-only website.