22 ms·
Whitehouse.gov Chooses WordPress, Again
- julianlam 6y agoIn this age where the trend is JAM stack, it is refreshing to see that something battle-tested like WordPress was chosen. There's a reason WP has withstood the test of time. (WordPress developers being a dime a dozen also help make the case)
- nkozyra 6y agoThat reason might be familiarity. Or inertia. Or breadth of available resources to work with it, as you mentioned. Or all of the above. And that might be a good enough reason, but to imply it's the best technical option warrants some skepticism.
- deleted 6y ago[deleted]
- deleted 6y ago[deleted]
- lemonberry 6y agoI'm not asking this to be snarky, but by what metric would you decide something was the best technical option?
- nkozyra 6y agoThere's no single metric, but in particular I believe that inherent inefficiency with WordPress design will incur more cost to scale, as an example. Not to mention things little security issues. I don't have an agenda against WordPress and very often when people ask me what they should use for simple projects I say "just use WordPress." My rule of thumb is that will probably be alright for a simple, small project, but will have to grow up to something else to scale reasonably.
- aheckler 6y ago> inherent inefficiency with WordPress design will incur more cost to scale Check out Cloudflare's Automatic Platform Optimization tool from last year [0]. It uses Workers to cache static and dynamic content from WordPress on the edge. Just $5/month. IMHO, that would "scale reasonably" for many use cases. [0] https://blog.cloudflare.com/automatic-platform-optimizations-starting-with-wordpress/ https://blog.cloudflare.com/automatic-platform-optimizations...
- nkozyra 6y agoCDN literally everything is - to me - a last resort you can use when your underlying application cannot handle any direct traffic. It's an expensive compromise that you shouldn't need unless you're in Alexa top 100 territory.
- aheckler 6y agoThat's a perfectly fair attitude. I was just trying to show that it's not very expensive to scale WordPress. :)
- satya71 6y agoWhy does it have to scale? Doesn’t a CDN solve most scaling issues for a content site.
- chmod775 6y ago> but in particular I believe that inherent inefficiency with WordPress design will incur more cost to scale WordPress essentially generates static pages and is trivially set-up to run behind a CDN like Cloudflare. You can easily have WordPress sites in the Alexa top 50k that run on a $5 VPS - behind Cloudflare. > My rule of thumb is that will probably be alright for a simple, small project, Right. Simple, small projects. Like whitehouse.gov. As long as you use Wordpress for what it was designed for, it really doesn't matter what scale you have.
- deleted 6y ago[deleted]
- teh_klev 6y agoJAM stack ? The first letter I guess is Javascript?
- blhack 6y ago“JavaScript, APIs, Markup”
- fermienrico 6y agoFor a second I thought you're being sarcastic until I looked it up.
- Falkon1313 6y agoNext thing we know, the kids these days will invent some mindblowing new concept like "HappyText Makestuff Language" aka HTML that actually allows you to link to other documents!
- benatkin 6y agoIt's Jamstack and it's more than just a trend.
- perardi 6y agoAre we at the point that creating and editing a page in a JAM stack site is as easy as WordPress for non-technical users? Not a snarky or leading question, I honestly don’t know. I use Hugo for my own internal design things, because I want partials and such, but I have no idea where the ecosystem is at for the “we need a poli-sci intern to copyedit this” use case.
- mr_toad 6y agoDoes a user need to create a page entire? Used be that we had writers, editors, type setters, printers and book-binders, and I think the output was more professional. I think there’s still a case for the non-technical users just writing the words, and keeping away from the presentation and delivery.
- marc_io 6y agoThere are already solutions for this, like Stackbit and Publii.
- clintonb 6y agoMaybe, for basic use cases. I use Forestry as a CMS for my Jekyll site. I only have two templates: page and blog post.
- shiftpgdn 6y agoJAM stack (this term is trademarked by Netlify, FYI) is such an awful trend for anyone but developers. The web runs on WordPress because it's SO easy for anyone to stand up a quality, functional website. I drop in on a local WordPress event a few times a year and many of the people there are 60+ and very much non technical but have put together great sites that benefit humanity.
- onion2k 6y agoit's SO easy for anyone to stand up a quality, functional website And its also really easy for it to be left without updates or security patches, with an insecure admin account password, and with a set of plugins that open up more security problems. It might be a bit harder to get up and running with a static site generator but the fact that it's essentially unhackable (through the site itself; the host server has the same issues as any website) is a massive advantage.
- kirstenbirgit 6y agoWordPress has automatic updates, and you actually have to enter a hard to guess password when creating an account. The plugin issue is not specific to WordPress.
- onion2k 6y agoThe plugin issue is not specific to WordPress. The fact that other platforms and applications are insecure isn't relevant; we're comparing static sites to WordPress. However, to answer the point, static sites are significantly more secure than every single dynamic platform that supports a plugin architecture because plugins can be, and often are, written without security in mind. Unless you really need a dynamic website you should be deploying static assets to the enduser. Practically every business website would be better off being delivered as a static site, even if the admin still use WordPress to edit the content.
- XCSme 6y agoI agree that WordPress security is a huge issue, the biggest potential problem is that not when a random website goes down but when someone finds a mass-exploit and then gets access to millions of websites. > It might be a bit harder to get up and running with a static site generator but the fact that it's essentially unhackable You could also use WordPress to generate a static site, just add a caching level on top.
- hardwaresofton 6y agoI think if WP ever finds a way to do two things: - continuously serialize WP to static files - Make it easier to work with Wordpress as a CRM (No Code or at the very least don't force developers to touch PHP) JAM stack would near instantly cease to make any business sense (though developers would still love using it of course). A lot of the issues with Wordpress are sort of long-tail -- combinations of plugins exposing leaks in the abstractions, etc. BTW, if anyone is working on solving this, I'd love to know about it.
- ozorOzora 6y agoOr you can just roll with JAMstack as it's literally about what you're asking for.
- hardwaresofton 6y agoThe problem I'm saying exists with JAM stack is that it's great for developers but bad for non-technical people -- wordpress is the opposite, and if I could get JAM stack properties out of Wordpress, I wouldn't use JAM stack for any projects which involved having non-technical people modify the site (which is a lot of them).
- illuminea 6y agoYou could check out Strattic which gives users the best of both worlds - edit your site as usual in WordPress, and click a button to deploy a static, Jamstack version of the site. All the power of WordPress with none of the headache. https://www.strattic.com https://www.strattic.com
- marc_io 6y ago> continuously serialize WP to static files Any cache plugin for WordPress does this already, but if you mean something that does this in order to host elsewhere (like in Netlify), WP2Static is a solution.
- 6y ago
- steviedotboston 6y ago> Political affiliations aside, I think we can all breathe a bit easier today knowing they didn’t choose Drupal. Strongly disagree. Drupal is a great CMS and there's a reason the government uses it so extensively.
- corobo 6y agoWhat is the reason
- Angostura 6y agoI'm pretty sure the Obama administration used Drupal 6. Current Drupal is rather a different beast
- throwawayboise 6y agoDrupal 6 was kind of a mess technically, but it had the best ecosystem of contributed modules. Drupal 7 lost some modules, and Drupal 8+ lost a lot more.
- ksenzee 6y agoThe Obama-era whitehouse.gov was Drupal 7.
- lemonberry 6y agoI haven't used Drupal since Drupal 7, but I really liked the Fields API. Drupal felt like it had more built in that WP should have built in but didn't. I believe Drupal 8 went with a templating language as well. That's something else I wish WordPress would adopt.
- imwally 6y agoDrupal uses twig for templating now.
- nulbyte 6y agoAgreed. I love Drupal, and hate WordPress. It seems like Drupal module developers are more interested in solving trivial problems so they can focus on the bigger ones, while WordPress plugin developers are more interested in making a buck with a trivial solution.
- westoque 6y agoI hope we again see the value of using systems like Wordpress for it’s simplicity in getting a blog/website setup and easily modify content. Lately most of the modern marketing websites I see is built using gatsby and next.js. Having been talking to different content/marketing teams, they hate it so much because of the complexity it brings. Editing content? Sign in to this headless CRM app, want a form? Go sign in to another app. It might be a fun project for devs but the actual users if these systems will almost always have a hard time using it.
- jakelazaroff 6y agoIs that because WordPress is simple, though? There are similar CMSes you can use with e.g. Gatsby. They’re just a glorified build systems, after all — there’s nothing inherently complex about the content management experience. And on the flip side, it’s possible to load up WordPress with enough plugins that it becomes a nightmare to use. I think we see people choose WordPress because it’s familiar, popular, battle-tested and has a big community with a lot of plugins. It’s a good choice for a lot of people. But that doesn’t mean people picking other options are just taken in by the hype.
- manigandham 6y agoYes because Wordpress includes frontend rendering (of both the actual pages and the backend admin) by default. This means you get working HTML powered by dynamic content out of the box, and it keeps working as content changes without needing constant builds for static sites. I see the benefits of modern component-driven frontend systems but I think the better opportunity would be to integrate this cleanly into existing server-side engines rather than try to recreate the backend entirely or disassemble it down to such low-level build steps.
- mmmeff 6y agoLike next.js?
- kristopolous 6y agoWordpress also has a really rich ecosystem of mature and widely used plugins that are quite easy to install. The podcast ones for instance, they'll allow you to schedule the publishing of a new episode, then upload the episode to all the major platforms, format the images, titles and descriptions automatically for the different platforms, cross post to the social media accounts announcing the new episode, allow you to put in show notes for the blog, and embed a way to listen to the show on the site, all built in, for free, using an interface that is clean and well documented. Of course I could do that myself but come on now, that simplifies my life so much. I'm ok with my government saving money and not hiring six figure tech workers to custom roll effectively a press release website. Honestly, they could redirect it to a medium blog and save on the hosting fees as well. The real infrastructure is going to be at the departments, NASA, Smithsonian, CDC etc...
- ogre_codes 6y agoRedacted.... forgot that HN has zero sense of humor.
- zapt02 6y agoThis kind of elitist rhetoric is really not constructive. Implying somehow that WordPress developers aren't "talented" because they don't use your tech stack is incredibly ignorant.
- deleted 6y ago[deleted]
- HotVector 6y agoStatic sites aren't really a "stack", but I do agree that static generation isn't really appropriate for a website like whitehouse.gov
- Dylan16807 6y agoIt's not? Why do you say that?
- KayL 6y agoI'm surprised they dropped the IE supports. (It's failed on my testing, and the CSS syntax they used shown they never think about it.) For their 2% rules, they shouldn't drop the minors. https://github.com/uswds/uswds/issues/3877 https://github.com/uswds/uswds/issues/3877 This is a super clean and simple feature website. They could offer supports very widely, and the cost won't be high! (I'm a web developer)
- astrowilliam 6y agoIE11 will soon be a security hazard and not worth the effort to code for.
- KayL 6y agoEven IE6, that's no security problems on a well-made & trusted website. And a website doesn't support IE6 can't prevent the attacts usually (eg. XSS) > effort this simple theme can code in ONE day.
- userbinator 6y agoPlease stop spreading misinformation. https://docs.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge https://docs.microsoft.com/en-us/lifecycle/faq/internet-expl... "Internet Explorer 11 is the last major version of Internet Explorer. Internet Explorer 11 will continue receiving security updates and technical support for the lifecycle of the version of Windows on which it is installed."
- ceejayoz 6y agoThat gets you to 2025, which is "soon" under some definitions.
- throw_m239339 6y ago> Please stop spreading misinformation. IE is already a security hazard for users. IE doesn't support any of the content security policies implemented in other modern browsers, which makes its a target for every possible XSS scheme and what not. https://caniuse.com/?search=csp https://caniuse.com/?search=csp If your users use IE you are putting them at greater risk than any other browser users and the former should be actively discouraged to do so.
- e2le 6y agoI'm disappointed by their choice in site design and I'm sure it'll be infuriating to interact with for those with disabilities. It's a real wasted opportunity to use this instead of something more battle tested and fit for purpose such as the design used by the gov.uk site. https://www.gov.uk/ https://www.gov.uk/ https://www.gov.uk/guidance/government-design-principles/ https://www.gov.uk/guidance/government-design-principles/
- astrowilliam 6y agoI see no infinite scrolling on https://whitehouse.gov/ https://whitehouse.gov/ It clearly has an end point and a footer. Also, the "briefing room" has pagination. Not sure what pages you are looking at.
- e2le 6y agoIt would seem you're correct, faulty memory I suppose?
- stack_underflow 6y agoI really like that persistent link-background highlight effect when you click a link.
- pottertheotter 6y agoI'm not sure what I'm supposed to get from looking at gov.uk. For me, it was a negative experience, and I'm glad it's not used in the US.
- e2le 6y agoIt might be a negative experience for you but I believe sacrificing elegance in favour of accessibility is a fair trade to make when building something that will be used by a diverse group of people. Accessible design is good design. Everything we build should be as inclusive, legible and readable as possible. If we have to sacrifice elegance - so be it. We’re building for needs, not audiences. We’re designing for the whole country, not just the ones who are used to using the web. The people who most need our services are often the people who find them hardest to use. Let’s think about those people from the start. https://www.gov.uk/guidance/government-design-principles#this-is-for-everyone https://www.gov.uk/guidance/government-design-principles#thi... In my personal experience however, using gov.uk has being a mostly pleasant experience and don't much care for opinionated "elegant" design.
- benatkin 6y agoI predict they'll move to Jamstack soon. I've really been impressed by the things I've seen moved to Next.js in the last couple of years.
- rk06 6y agoI am not sure. A major problem with Jamstack is that article writers need to learn git and markdown, to do the job. While wordpress gives you a GUI editor, and you are good to go
- arcturus17 6y agoFWIW I’m seeing people conflating Jamstack and headless CMS (eg Contentful) a lot lately. The latter provides an infinitely better editing experience for non-tech users. But the non-free tier can start as high as $500 / mo (the amount of shit you could tack on a WP site for that money...) and as one of the top commenters has said I think that even for a best-in-class headless CMS, the non-techie UX starts crumbling as soon as you start adding typical features outside of content editing (forms, analytics, etc)
- smnthermes 6y agoNow it has an RSS/Atom feed, unlike the previous version: https://whitehouse.gov/feed https://whitehouse.gov/feed
- bdcravens 6y agoGiven that this was the most non-cooperative transitions in modern times, if not ever, is it possible they had to make certain compromises?
- EarthLaunch 6y agoThe same calculated compromises made by a vast part of the internet choosing WordPress and PHP. These technologies might not make sense if you have little experience with PHP or certain requirements, but there are good reasons many organizations use them. With a little dedication, it's possible to find out why without having a lot of experience with them.
- throwawaybutwhy 6y agoWonder if they had to contend with missing letters in keyboards, there's some historical precedent for that.
- cdubzzz 6y agoIt’s funny. Until this year that was the only anecdote I ever heard about any presidential transition. https://www.salon.com/2001/05/23/vandals/ https://www.salon.com/2001/05/23/vandals/
- dangisawhore 6y agoEveryone loves that WordPress editor.
- partiallypro 6y agoGood. Wordpress is battle tested, open source and in the right hands, secure. Twitter recently tried to dunk on the last administration's use of Wordpress at the State Dept, claiming they were hacked to show Trump had resigned, but it was just a disgruntled employee and was it never hacked.
- deleted 6y ago[deleted]
- imwally 6y agoI was curious after seeing the accessibility statement what the previous administration's had. https://www.whitehouse.gov/accessibility/ https://www.whitehouse.gov/accessibility/ https://obamawhitehouse.archives.gov/accessibility https://obamawhitehouse.archives.gov/accessibility https://georgewbush-whitehouse.archives.gov/accessibility.html https://georgewbush-whitehouse.archives.gov/accessibility.ht... https://trumpwhitehouse.archives.gov/accessibility https://trumpwhitehouse.archives.gov/accessibility With that last one not being surprising at all.
- gnicholas 6y agoI was surprised that the accessibility widget on the current website has a feature called “high contrast mode” that does not significantly increase the contrast ratio between the primary text and the background. It also significantly lowers the contrast between the secondary text and the background, sometimes as low as 2.1 (7 is the recommended minimum). Given the icon they chose, it seems like “dark mode” would be a more appropriate name.
- ehnto 6y agoAccessibility compliance widgets are such a shot to the nads for accessibility. Sites drop in an accessibility plugin and never think about accessibility again. You need a real audit, and an accessibility first mindset to build a genuinely accessible website.
- faeyanpiraat 6y agoA data point to support your claim: The main body text becomes white on dark grey with a contrast ratio of 14.22, compared to the original dark blue text on white background with a contrast ratio of 14.93.
- gnicholas 6y agoYup. And the red error text that displays on text input forms has a contrast ratio of just over 2. It seems like they just forgot that this error text needs to be a different color when the background color is dark.
- boyesm 6y agoLooking through the FAQ on the USDS website that is linked in the source, it seems a lot less bureaucratic than I would've ever anticipated. No job descriptions, no dress code. It seems more like a startup than I would've expected from a government org. https://www.usds.gov/faq https://www.usds.gov/faq
- rchaud 6y agoThey're trying to hire people for a role where the industry custom is to dress less formally. It's possible they loosened up the rules after dumping the mega-IT project contractors behind the first healthcare.gov site and going with smaller, decentralized teams for the rebuild.
- wslack 6y agoWe're trying. There's still a lot of bureaucracy around USDS (which we work with to make things happen), but the org itself aims to be an excellent working environment. Happy to answer questions.
- chiefalchemist 6y agoFor the sake of security and scale I hope they're serving pre-generated static pages. That is, WP is strictly a backend CMS, with frontend responsibility being delegated elsewhere. At that point it's not full WP per se.
- Krasnol 6y agoI got the responsibility for a wordpress page and been told that they had some issues with the page not being available several times already. After looking at the FTP, I've found out that the hoster locked down the page due to wordpress plugins which did not have been updated and turned into malware providers or something like that. The whole thing is a monster. It has almost 30 plugins for the most stupid thing (like scrolling text). So the first thing I did was updating it. Unfortunately it looked messed up afterwards. So I rolled back the backup and started updating it one by one. I was left with one plugin which I could not remove or it would break down parts of the design. So I'm again left with an possible problem for the future. The joke is: the page is mostly static. There is one single news section which has not been used for more than a year...I hate this thing...I wish I could give it to somebody to rebuild in plain HTML or something but the boss doesn't want it...
- SubiculumCode 6y agoThe site looks good...but as a matter of personal preference, I prefer high information density. I'd literally have preferred it if they straight up used HN front page style, or some similar.
- monoideism 6y agoThe one thing great about WordPress is the massive number of themes available (and plugins, if you're not a programmer). I wish very much that there were 10% as many attractive themes available for static sites. Yes, you can port them, but it's a pain. And yes, you can design them, but it takes more time and most programmers don't have the design chops to pull it off.
- pluc 6y agoThat one great thing is arguably also the one horrible thing. The entry bar for plugins and themes is, well, non-existent which results in a lot of sub-par code that makes it onto sites of unsuspecting users. Configurability, while also usually a great thing, is taken to such a level with WordPress that you're often better off designing something catered specifically to your needs instead of loading half a dozen customizable themes/plugins/libraries
- qwerty456127 6y agothe massive number of themes available (and plugins, if you're not a programmer) and ease of starting with an almost-free "unlimited" shared hosting. These are the only 2 good things about WordPress. > I wish very much that there were 10% as many attractive themes available for static sites. Yes, you can port them, but it's a pain. That's what I always did whenever I needed a website design.
- modernerd 6y agoDo you think there’s a market for high quality paid themes for static site generators like Hugo?
- kilroy123 6y agoI think there's a small market. I've gone looking for high quality hugo themes before. I was willing to pay for one.
- monoideism 6y agoI agree. There's a small market. But currently, even though there's probably a dozen or two paid Jekyll or Hugo themes, only a couple are actually attractive, well-designed theme.
- deleted 6y ago[deleted]
- unfocused 6y agoI also host a Wordpress site for some non-technical people that are part of the legal community. I chose it because they just need to publish basic info, much like most govt places, and all the non-tech people find it easy to add content. It's been up and running for 8 years using the same webhost. Easy to keep up to date, and easy to use, and it solves their business problem. Nothing wrong with WP when you just want to post simple information.
- HotVector 6y agoMy go-to for creating a static website to be managed by non-tech people is Svelte + some markdown renderer. I put all the info into Markdown files so it can be easily changed, kind of like Jekyll.
- maelito 6y agoI don't get why you get downvoted. I'm doing the same thing with a simple react app that displays markdown, it's working great. More and more non-tech people are happy to be introduced to github. It's just an 'article' dir where you upload your markdown file, then click on 3 green buttons to create a PR. They're happy to discover the integrated discussion system, issues, kanban, etc. Of course, tailor it to your audience. Some people cannot read English and will be frightened by the interface.
- icemelt8 6y agoThis comment is as funny as the parent comment.
- pembrook 6y agoYou’re getting downvoted because this would only be suitable for the most simple of blogs/sites that rarely need updating. And I’m sorry, giving non-technical people a code editor and telling them to write markdown & front matter and deal with git is just hilarious. It’s the typical “developer’s developer” solution. Fun for the dev to set up and write an article about how they built it on Dev.to, but with zero thought put towards the marketing functionality or flexible content production that any end user will need. Developers don’t understand that their role in the process of creating a marketing site is the least important one. The marketing functionality (advanced SEO, newsletter sign up, form collection, landing page generation, dynamic header banners etc) and multi-author content production is all that matters. Otherwise nobody will ever be visiting the site. Content is king. Not “developer pleasure is King.” Hence why Wordpress runs most of the internet.
- Abishek_Muthian 6y agoFew years back I heard in the Google Dev conference that they are going to partner with WP/Automattic to make it more secure among other things. What happened to it? I feel improving the security architecture of plugin integration could go a long way. Although using lesser plugins, only from trusted developers, keeping them updated, using other security plugins(Firewall, 2FA etc.) and regular backups can help keep WP instance safe to some extent; There's absolutely no excuse or explanation for random database errors with WP and that was the final nail in the coffin for me. I started building my own CMS using Go for complex websites and for simple websites static web pages using Hugo with markdown does the job.
- slouch 6y agoAt least 4 Google developers contributed to WordPress 5.6
- mikesabbagh 6y agoThe whitehouse probably needs a fast way to publish. this is why they used wordpress. They are fully cached behind Akamai CDN. So u can hit this website with any load u want. The performance of wordpress is excellent if you dont have many plugins. It is super-easy to design. you can see the results before you publish and You dont need a developer to publish. So if u have a static wordpress website, just add a CDN in front (not using a plugin like many do, but by editing your DNS)
- mtberatwork 6y ago> performance of wordpress is excellent if you dont have many plugins Even without plugins, WP performance will start to degrade due to how it handles post "meta" data. As the wp_postmeta table grows larger in size, it will generate longer running queries as it tries to query against non-indexed key + values. At a certain point, your only option is to start modifying WP core code and the DB tables for your specific needs...which at that point, the poor software architecture becomes an enormous problem. Granted most small blogs will never see these kinds of issues since they will never reach these inflection points, but they needlessly exist none the less.
- claudiulodro 6y agoThis is not really true. I help run and launch professional news organizations on WordPress, some of which have tremendous archives of 100s of thousands of posts. The post meta table can scale fine to hundreds of thousands of post objects without needing special infra or handling. The WordPress core has a caching layer for metadata, and either way it's not like "SELECT * FROM wp_postmeta WHERE meta_key = 'foo' AND post_id = 1234" is going to be a performance bottleneck regardless of the size of the meta table.
- mtberatwork 6y agoI'm not referring to single meta_key look ups but was referring to non-indexed key + value queries on large wp_postmeta tables. Eventually a developer will need to do a meta_key + meta_value look up in some query which will tank performance on large table sizes. With plugins like Advanced Custom Fields, the wp_postmeta table can drastically increase in size and a developer can quickly fire off dozens of non-indexed key + value queries in one request. Given JSON support in MySQL, Postgresql, et al, there is no need to not migrate away from such a poor schema. Source: also work in the media world and have large WP installations in my charge. WP is a resource burden.
- 0xbadcafebee 6y agoWordPress is definitely the Jenkins of the CMS world. Easy for a desktop user to set up, absolutely trash for literally every best practice, but nobody's made anything better [for free] yet. If you are trying to deploy WordPress today with DevOps best practices (version control/12 factor app/etc): set it up with Bedrock (https://roots.io/bedrock/ https://roots.io/bedrock/), manage dependencies with Composer, and use environment variables for the runtime configuration. Then use Phinx (https://phinx.org/ https://phinx.org/) to do database migrations. A custom db migration script will be needed to change database settings based on the environment you're deploying to. Containerization is pretty annoying, because apparently php-fpm will not serve non-PHP content (without creating security concerns). So you need a web server to serve all the static content that comes with Wordpress/Plugins/etc, and php-fpm to serve the PHP. This means you have to either 1) duplicate the static content between two different containers, 2) duplicate the static content into some other storage medium (S3?) and serve it using some web server, or 3) create a frankenstein's monster container of both php-fpm and a web server, and pick your poison on how to make that suck as little as possible. I have opted for #3 as operationally it's the simplest. You build one container with all the dependencies, static content, and sql migrations, and deployments therefore become just a single container with a single port (http/https) and passing in the env vars. I'll probably upload it somewhere if somebody wants it. It's a docker-compose configuration, plus the Frankentainer, and some scripts, and it all fits into a Bedrock install. I haven't hooked migrations up to it yet, but once that's done, it will actually not suck very much to maintain a WordPress install.
- XCSme 6y agoI am not sure if this is relevant, but I just remember someone announcing this site yesterday: https://wpgitupdater.dev/ https://wpgitupdater.dev/
- 0xbadcafebee 6y agoYou can do this yourself with Dependabot for free. It's pretty easy to set up and you don't host anything to use it.
- Triv888 6y ago> Whitehouse.gov Chooses WordPress, Again again? whenever they had to run an update?
- dbbk 6y agoEach new administration builds their own site.
- 0xbadcafebee 6y agoSince it mentions they're using NewRelic, I thought I'd mention a fun potential security hole for those using AWS integrations (and probably others). You have to create a custom read-only IAM role to absorb all the AWS events into NewRelic. But if you don't put in your particular NewRelic customer ID in the policy, the policy allows any customer in NewRelic to add that AWS account to their own NewRelic account and ingest its metrics. Since you don't have to include the customer ID in the role to make the integration work, it's likely there are a lot of AWS accounts out there with misconfigured IAM policies allowing any unscrupulous NewRelic customer to view their metrics.
- fmakunbound 6y agoHeh. When did CL-HTTP get phased out?
- drummer 6y agoGutenberg sucks donkey dick. Matt should remove it asap before people switch in masses to another cms. Last I checked reviews are still sucking. https://wordpress.org/plugins/gutenberg/#reviews https://wordpress.org/plugins/gutenberg/#reviews
- chx 6y agoThis is an example where the words chosen to express a valuable criticism completely undoes it because noone wants to engage with someone using such words. (Wish this was a spoken conversation because you'd hear this said in a very sad voice and not as a high and mighty I-look-down-upon-to-you. Trust me, I know how much it matters how you express yourself. It cost me nearly everything that I valued in my life.)
- mmgutz 6y agoLet's not forget this is the government. You can't simply just build stuff. There are many levels of red tape. Software has to be approved, etc. It's far easier to stay with the status quo and use what's already been approved then try to convince management there are simpler, more secure ways of building sites.
- judge2020 6y agoOn the other hand, whitehouse.gov being the target of a zero-day WP exploit isn’t going to be a huge deal since it’s just a website for putting public available, or soon-to-be publicly available stuff. The only big attack vector i can see is it being used as a sure-fire way to target senior administration officials with other exploits like a chrome or Firefox zero-day.
- XCSme 6y agoIf it was an important target, would it make more sense to choose a somewhat more secure platform OR to build a proprietary solution?
- judge2020 6y agoI think it would definitely be better to do a SSG or even wordpress with static output since you can throw it all behind authentication, which greatly reduces the attack surface.
- divbzero 6y agoI like the custom response header on https://www.whitehouse.gov/ https://www.whitehouse.gov/ — x-build-back-better: https://usds.gov/
- anoncow 6y agoIs there a good alternative to WordPress?
- paulmd 6y agothe big alternative is static content - if you are just publishing a webpage, you can use something like Jekyll to manage your content and then it is "compiled to HTML". For simple static content there really is no need for a database or anything at all, people just want the convenience of writing content dynamically and the database is a necessary evil in wordpress to make that happen. If you need to handle a certain amount of user submissions (that can't be handled by forms/etc) you use JAM stack - javascript + API behind it.
- DigitalSea 6y agoIf you are a developer, a static site generator is the way to go. However, the point that so many developers seem to completely miss when they decide not to choose WordPress is the end user. There might be plenty of alternatives, but there are none (in my opinion) that even come close to WordPress' publishing experience. The admin panel is a refined UI, the publishing experience is really easy for people to grasp, it's the most user-friendly CMS around. What so many developers get wrong is that a lot of average users are used to writing in WYSIWYG environments like Microsoft Word. And despite Markdown being easy, once again, you lose the visual publishing experience in a lot of these static options. Markdown is easy for developers, but average users will struggle (especially with complex markup like tables or even images).
- john-doe 6y agoKirby is great. "loved by developers and editors alike": https://getkirby.com/ https://getkirby.com/ It's sad that the only options given to people nowadays are either JAMstack hype nonsense or the WordPress poop monolith.
- b0ner_t0ner 6y agoOctober CMS: https://octobercms.com/ https://octobercms.com/
- hbcondo714 6y agoI remember first learning about Whitehouse.gov running WordPress back in 2018 when The Council of Economic Advisers published a paper[1] that linked to our website as a reference[2]. The paper was a single PDF file that resided in a /wp-content/uploads/2018 directory on Whitehouse.gov. There are government websites[3] that link to this PDF file that now returns a 404 because the new Whitehouse.gov only appears to have an uploads folder starting with 2021. Poking around, I found the Archived Trump White House Website[4] that still houses the PDF in the same /wp-content/uploads/2018 directory. I wish the new Whitehouse.gov website gave a more descriptive 404 indicating the change or better yet, perform a 301 redirect so the original Whitehouse.gov link[5] works. [1] https://trumpwhitehouse.archives.gov/wp-content/uploads/2018/03/The-Profitability-of-Health-Insurance-Companies.pdf https://trumpwhitehouse.archives.gov/wp-content/uploads/2018... [2] https://www.last10k.com/sec-filings/unh/0000731766-18-000005.htm https://www.last10k.com/sec-filings/unh/0000731766-18-000005... [3] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7357013/#idm140611441231408title https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7357013/#idm140... [4] https://trumpwhitehouse.archives.gov/ https://trumpwhitehouse.archives.gov/ [5] https://www.whitehouse.gov/wp-content/uploads/2018/03/The-Profitability-of-Health-Insurance-Companies.pdf https://www.whitehouse.gov/wp-content/uploads/2018/03/The-Pr...
- seebetter 6y agoCIA.gov chose Drupal and allegedly stole designs from the Black Socialists in America and another graphic illustrator
- cutler 6y agoSo much for the Biden administration's renewed focus on cyber security.
- deleted 6y ago[deleted]
- avipars 6y agoI wonder why? Can't they just use the Gov't CMS
- hdivider 6y agoWhat are the best alternatives these days to WordPress for non-technical people? I know of Squarespace and Webflow. Any others?
- dubcanada 6y agoHire someone who is technical? Most people don’t install the electrical or plumbing on their house, why are they trying to make a website?
- jackconsidine 6y agoFor a business web application, yeah. For someone trying to get a small marketing page / blog online, DIY solutions almost always make more business sense than paying hundreds or thousands of dollars (and then having to self-maintain or pay a retainer).
- wintermutestwin 6y agoFor non-technical people, Wordpress is a mess as it relies on clumsy plugins for WISIWIGish editing. From my research, it seems like there are three top CMS for non-techies: Squarespace, Wix and Weebly. I compared Wix and Squarespace primarily and went with Wix because Squarespace has no backup/restore capability. I'd consider backup to be essential for non tech users.
- seanwilson 6y ago> Squarespace has no backup/restore capability At all? Even if you contact support because you accidentally deleted a lot of stuff?
- tmnvix 6y agoMy clients love Wagtail. The 'streamfields' feature makes it really easy to offer editors plenty of flexibility without offering them the opportunity to butcher the site. The development experience means I love it too. I never did find a simple Wordpress workflow for managing staging and live sites in git. With Wagtail/Django keeping the configuration in code, a git workflow works. Edit: Apologies if you were actually asking about a solution to allow non-technical people to create a site, rather than manage it.
- ontouchstart 6y agoFor a public facing CRUD system, there are three types of users: 1. Viewers 2. Writers/Editors 3. Maintainers Technology tools are just means to an end. I am sure there are people from https://www.usds.gov https://www.usds.gov reading this. And I hope they would cherish the great opportunity of a green field to build a secure, robust public service system that are enjoyable to use for all types of users. Wish them the Best.
- gigatexal 6y agoDoes it really need to be so dynamic? Plenty of static site generators that could be used as alternatives? What features of Wordpress do they use?
- proyb 6y agoWhen I read there are over 55,000 plugins available, someone on reddit manage to find 16,000+ plugins, the rest could be outdated?
- claudiulodro 6y agoThe rest are probably on the various marketplaces and websites around the internet, not the official plugin directory.
- deleted 6y ago[deleted]
- proyb 6y agoProbably, we can only get the actual figures of less than 55,000 from sitemap: https://wordpress.org/plugins/sitemap.xml https://wordpress.org/plugins/sitemap.xml
- kichimi 6y agoLittle warning for anyone reading these comments: 100% of the criticism will be by devs with little or no experience with WordPress. It's almost an in-joke to hate on WordPress at this point.
- herve76 6y agoIs it 2010 Again?
- johnchristopher 6y ago> Dave Amirault, Pagely’s Director of Marketing, and Jeff Matson, Minister of Propaganda, have had a few moments to gather their first impressions of the site. I had to google that because for a split second I thought the US had a minister of Propaganda. It's a job title at Pagely.
- johnchristopher 6y agoThis thread is full of pro and anti wordpress/php and of anti and pro jamstack. I'd like to see the project's requirements.
- clintonb 6y agoRequirements and time to work. January 20th at noon was the absolute-ish deadline, but when did the work begin? Was it November 4, or sometime later given the lack of concession from the previous administration?
- johnchristopher 6y agoI am sure it was rushed a bit and reused things. The contrast and typo sliding menu was present on the bidenharris and or joebidden.com websites.
- wildermuthn 6y agoOnce upon a time my team built The Players’ Tribune with headless Wordpress + Nextjs + CDN , which I believe is a fairly common choice these days, on that it strikes a nice middle-ground between a refined editing experience for the end-user and a not overly-complex experience for the dev team. For a static content-heavy site, it worked fine. But the real issue at stake here is more subtle than the question of the experiences of end-users vs developers, or of ecosystems vs. complexity, or is insecure vs secure. The real issue is writing “static content-heavy site” as if static and content-heavy must go together. There is an assumption that a content-heavy site will be static. This is not true. I’m baffled that almost all content-heavy sites relegate dynamic content to “Related content” and “Recommended content” to sidebars and post-content sections. Facebook and social media, one could argue, have become successful in large part because their content is dynamic in the same way ad-tech is dynamic — presenting the content contextual to a particular user’s interest and behavior. Tik Tok does this the best. The enduring legacy of Wordpress (regardless of whether you use Wordpress or some alternative) is that the content-is-static mindset has become an unquestioned axiom. The very idea of a WYSIWYG is that content is and always will be static. Although Tik-Tok has demonstrated the power of dynamic delivery of content, the content itself still remains static. How could it not be, most people still locked into the static-content mindset might ask. But there’s no reason that individual chunks of content can’t be dynamic too. After all, we do have different sized thumbnails for previews of content on different screen sizes. So why not different versions of headlines? Or different versions of an entire article (not simply teaser vs. body). The reason is that, as always, our imaginations are limited by our tools. Our content tools embed an impoverished imagination. The content-world is waiting for a startup to give us a CMS that embeds an imagination where content is dynamic, both in delivery and in substance. Moreover, with tools like GPT3, the generation of adjusted content is now practical. While an editor could write 100 versions of an article, based on combinations of style, tone, and length, GPT3 could generate drafts that would reduce an editor’s work to ... editing. The CMS is ripe for fundamental innovation. Here’s hoping someone is working on it!
- clintonb 6y agoDynamic headlines or articles sound terrifying. Look at where the content surfacing algorithms of Facebook, Twitter, and YouTube have gotten us in terms of divisiveness. Changing the article actual content based on the desires of the reader just seems wrong. Different people end up with different analyses on the same story. This happens already naturally. I fear doing so artificially will lead to no good.
- bigyanshr 6y agoThere are a lot of other complex sites and business running Wordpress. Why is it a big deal when there's a new one??? Wordpress makes it very easy for users to manage website content for the end users. But for developers, simplicity depends upon personal preference. I like the the whole project to follow a same set coding standards irrespective of whether it's a procedural paradigm or OOP or any other. But, if you look into the wordpress core, you will several sets of standards which makes it harder to follow through whenever you try to understand the core. For simpler plugins, one might not need to dive into the core but I have had a fare share of projects and plugin development where I had to go through the core. And, it still takes me some time to understand whenever I have to do so. Maybe, I might be using Wordpress for wrong reasons and wrong project (because that particular task can be easily achieved using other technologies or even if I start coding from scratch without wordpress), but clients are always right and I have to use the technologies they prefer.
- nbzso 6y agoSeriously? The most powerful tech country in the world choses bloated system, created for 'regular folks'. What can go wrong?
- jandinter 6y agoNice overview by Matt from WordPress: https://ma.tt/2021/01/new-whitehouse-gov/ https://ma.tt/2021/01/new-whitehouse-gov/
- simison 6y agoRelated read: https://ma.tt/2021/01/new-whitehouse-gov/ https://ma.tt/2021/01/new-whitehouse-gov/