r/programming • u/[deleted] • Jan 08 '18
The UK government's open source code from their Gov.UK website, hailed as one of the best public services portals ever
https://github.com/alphagov142
u/CaptainAdjective Jan 08 '18 edited Jan 08 '18
A reminder that GOV.UK has accessibility requirements beyond most web applications' worst nightmares, because people are completely locked in to using it. There are other social networks, there are other online retailers, but there is no alternate government. It's there to serve everybody. No matter how bad their eyesight is, no matter how old their browser is.
Here's their accessibility blog. This document about content design guidelines is also hugely instructive.
It's a really insanely good result and it should be used as the model for other projects.
19
u/useablelobster2 Jan 08 '18
It would be nice if all the gov.uk services used it, but that would require some level of inter-department communication (ha)
18
Jan 08 '18
I'm partly dissapoined that .gov.uk wasn't a massive Plone undertaking that I somehow imagined it was, and the other part of me is impressed just how much stuff they released on GitHub.
Having worked for government in my country I know how stupid it felt that we treated the stuff that was financed by taxpayers as "our" property and everything was airtight when it comes to copyright (not to mention all the money wasted on proprietary solutions and licenses).
It also takes courage. Government IT products are often nothing to brag about, and all involved are rather exposed with such a move.
So, double kudos I guess.
4
u/mikehaggard Jan 08 '18
Cool that's it using Java and DropWizard extensively, and with that Jersey (JAX-RS) :)
1
u/mycrazydream Jan 08 '18
Sure, different parts could use different code, but the website back end is built with ruby.
2
u/Ark_Tane Jan 08 '18
Heard a talk by Anna Shipman at QCon London a few years back, on DevOps practices at Gov.uk. https://www.infoq.com/presentations/gov-uk-devops It was clear from the talk that it was a pretty well managed project. Edit: Talk is watchable from that link, not just slides/notes.
-19
u/kip9000 Jan 08 '18
Now that you have the source code to the site. How easy is it for malicious actors to spoof the gov.uk and steal info?
31
u/LaurieCheers Jan 08 '18
Every website you visit gets downloaded to your computer. Making your site look like .gov.uk was already trivial.
24
u/twiggy99999 Jan 08 '18
"hailed as one of the best public services portals ever"
Do you have a write-up or someone else's review of the code of the reasons why this claim is true?