News for hackers. Stuff that matters.
Re:I can only think that modern front end development has fa... by lifeisstillgood on Sunday April 04, 2021 @01:29PM (#26691286)
I am going to :+1: the UK census site - built on code developed by the gov.UK digital service, it has been apparently bulletproof at taking 20 million plus individual households through a moderately complex survey.

sometimes it can be done right.

And it uses a framework :-)

Re:I can only think that modern front end development has fa... by jonplackett on Sunday April 04, 2021 @02:30PM (#26691728)
Yeah I was pretty impressed with it too. One thing I liked, it does lots of error checking along the way to pick up accidental screw ups.

Eg. It says ‘what is your date of birth?’ And then on the next page it says. ‘You are X years old. Is that correct?’

Re:I can only think that modern front end development has fa... by jlokier on Sunday April 04, 2021 @07:37PM (#26693799)
Not quite bulletproof. I found a couple of bugs while using it.

At the end, just before submission it showed the completed sections, and you could look at each section to see a tidy summary of the answers provided. Except for the section 1, where doing that jumped to the last of the section's questions instead.

I wanted to see one of the answers I had given in the section 1 to check before committing, and due to the missing summary page, tried stepping backwards and forwards through each question. All were shown, except the question I wanted to check (and had answered) was skipped.

Inspired to try things, I added a non-existent person to the household, then removed the non-existent person.

After that, when I stepped through all questions in section 1 it included the question and answer I'd been looking for, allowing me to confirm it was correct before submission.

Re:I can only think that modern front end development has fa... by toomuchtodo on Sunday April 04, 2021 @09:38PM (#26694496)
Consider filing a bug report: https://census.gov.uk/en/web-form/
Re:I can only think that modern front end development has fa... by jlokier on Monday April 05, 2021 @10:15PM (#26707255)
Thanks. I already did so via the feedback form at the end.
Re:I can only think that modern front end development has fa... by danjac on Monday April 05, 2021 @06:19AM (#26697203)
gov.uk is such a glaring exception to government sites around the world I can only imagine there was some massive screw up where the developers were allowed to go off and build a fast, accessible and responsive site on their own without the requisite ten layers of committees, meetings and expensive external consultants. I hope there is a government inquiry to ensure this doesn't happen again and that taxpayers money is properly squandered on massive IT failures as per standard practice.
Re:I can only think that modern front end development has fa... by docmars on Monday April 05, 2021 @09:45AM (#26698862)
This gave me a good laugh, thanks for that ;)
Re:I can only think that modern front end development has fa... by JNRowe on Sunday April 04, 2021 @04:46PM (#26692687)
Yeah, I was impressed enough to fill out the feedback form at the end. It is probably the first time I've used a feedback form for compliments in my life.
Re:I can only think that modern front end development has fa... by hlandau on Monday April 05, 2021 @05:47AM (#26697043)
Indeed - I used this site the other day. My reaction at the time was "This is the nicest web application I've used in decades." Web design that good is so rare now, it really stands out.
Re:I can only think that modern front end development has fa... by devit on Sunday April 04, 2021 @01:34PM (#26691326)
Which framework?
Re:I can only think that modern front end development has fa... by WickyNilliams on Sunday April 04, 2021 @01:50PM (#26691438)
If my memory serves me right, it's Python/Django. I contracted in that department a few years ago.

Edit: Just remembered it's all open source too! Look here and search for repos beginning "eq-". Survey runner is the app I believe. When I was there the plan was to use that, though perhaps they eventually wrote a fresh app. Anyway the code should all be there https://github.com/ONSdigital?q=Eq&type=&language=&sort=

Re:I can only think that modern front end development has fa... by uncledave on Sunday April 04, 2021 @02:07PM (#26691556)
That was notably one of the best web experiences I’ve used recently. Gov.uk is exceptionally good.
Re:I can only think that modern front end development has fa... by armonraphiel on Monday April 05, 2021 @02:42PM (#26702862)
https://docs.publishing.service.gov.uk/

Looks like the core site is Rails but it seems they use a bit of everything. Preact, Go, Node, etc

Re:I can only think that modern front end development has fa... by wilsonfiifi on Sunday April 04, 2021 @04:52PM (#26692729)
Wagtail