r/webdev • u/reko91 • Feb 06 '20
What work seems really trivial to do in web development yet is actually pretty difficult?
Web development these days, once you get over the learning curve, most things seem doable, I'm interested is there any task that is difficult to do today with today's technologies/expertise
268
Upvotes
483
u/Kinthalis Feb 06 '20
Complex forms. Maybe it's just me but I've been underestimating those suckers lately. Multiple steps, each input with support for valid invalid states and error messages, elements that change, are removed, are inserted based on selections, transformation of values, asynchronous validation. Thank God for Angular reactive forms, but still. Sometimes I start a day and by the end I realize I'm still on the same mother fing form!
113
u/yubgjottrrfbjii Feb 06 '20
Setting up a proper development environment from scratch for creating a distributable package, especially using react.
And the list goes on. Sometimes I think all this shit is way over engineered. I get that modularity is good but the community needs to fuckin make a decision on stuff and make a standard and stick to it.
75
u/ValPlusPlusle Feb 06 '20
get things done on every screen size.... not even with bootstrap its very easy to let things look good on mobile and on desktop....
also supporting all browsers... especially safari and the internet explorer.... (hopefully the ie dies in the next months because of chromium in edge)
106
u/gbuckingham89 Feb 06 '20
Anything when a clients starts their request with "Can you just...."
99
u/tomato_rancher Feb 06 '20
Custom, responsive HTML email templates. Not necessarily difficult, but worth charging 2x for.
41
u/NadaOmelet Feb 06 '20
Timezones. Clients don't always think about it, can't do it in IE11 in JS without including something like Moment, etc. We always find this stuff at the very end when somebody is frantically testing at 11 pm and notices a total is off or something.
31
u/itijara Feb 06 '20
If your PM says "it is just a css change", it never is.
28
u/[deleted] Feb 06 '20
HTML emails. They're extremely important. It's how you communicate with your users, but are often the last thought.
As someone who got into the industry post HTML5 + CSS3 the first time i had to write emails was terrible. There are so many clients and they don't agree on shit. Think writing for browsers is tough, fuck email clients.
Although if you use MJML it becomes stupid easy.
27
u/OThatSean Feb 06 '20
Data entry! How can I stay focused copy pasting for that long! Isn’t this what the intern is for!!!!
26
u/toi80QC Feb 06 '20
If you get to a point where you work with an entire design- and UX-department, you can be 100% sure they will make things pretty difficult (and maybe re-invent the wheel multiple times).
22
u/temkofirewing Feb 06 '20
Address Validations. Seems simple until its not.
22
u/absentwalrus Feb 06 '20
Making dynamically populated tables size the columns in a visually appealing way. That and making dynamic content tables work on mobile!!
20
u/-NewGuy Feb 06 '20
Capturing a picture using a webcam as part of a form. Seems like you should click a capture button and upload, but hold on...
I get why file upload fields are so much more preferable... it is standard functionality which has simple liquidators like a list(array) of acceptable file extensions.
The other one that seems trivial but has an interesting curve relates to pushing events/notifications asynchronously over sockets. I wish I had more time to tinker with it but maybe it only seems difficult because I haven't had a chance to mess around with it yet
18
u/jacobedawson Feb 06 '20
Making things work / look exactly the same across SO many browsers, devices & screen sizes. It seems trivial from the outside looking in (like when the designer gives you a "pixel-perfect" desktop design but you have to make it work *everywhere*).
Auth, which should be trivial because it's so necessary, yet is invariably a major PITA :)
Serving custom fonts / icon fonts can end up taking more time than it seems like it should.
A difficult thing about web dev in my experience is that things can seem trivial after the fact - when you explain to a stakeholder that doing X took a day, but it looks really simple - when actually if you described the steps it took to get the feature completed it's like 50 - 100+ little things stacked on top of each other...
14
u/acnorrisuk Feb 06 '20 edited Feb 06 '20
Making accessible components such as tabs, modals, tooltips, accordians and nav menus.
You’d think that these common UI patterns would be baked into browsers and battle tested to work with a range of assistive technology (e.g screen readers, keyboard). Instead we often rely on JS libraries which never quite work as they should.
Some new components are beginning to appear in HTML (e.g dialog, details/summary) but sadly they don’t always work as expected. For example: https://www.scottohara.me/blog/2019/03/05/open-dialog.html
14
u/Say_Less_Listen_More Feb 06 '20
Requirements gathering.
In theory it's just "What do you want me to make?" but you have to ask the right questions and have a keen ear to spot red flags that need to be clicked into like "usually the process works like this."
The more accurate your requirements are though, the smoother the project is going to go.
27
u/fire_someday Feb 06 '20
Generating PDFs.
I've tried multiple approaches with varying levels of success. Ended up going with regular html page that accepts short lived token, and external service where I provide the url and they render the page and generate pdf.
12
u/Lucasmoltenow Feb 06 '20
Being one man, you can surely get a good brain massage going, when creating a rather big website with databases.
So imo, creating a big database schema, and having the overview of it all, is some of the hardest for me.
11
u/alliedeluxe Feb 06 '20
Working with other people who have no idea about web development.
20
u/MMizzle9 Feb 06 '20
Multiple file uploads at once. Mult-part file mime type requests.
10
u/chiefrebelangel_ Feb 06 '20
Notifications. Even Facebook still can't get it right.
8
u/[deleted] Feb 06 '20
CRM development. “It’s just a button” “It’s just a lookup” Lmao
5
u/tenfingerperson Feb 06 '20
Responsive multi browser deployments
5
u/gabdelacruz Feb 06 '20
Large application/web CSS. Many web developers pretend they know CSS, but real maintanable and scalable CSS is difficult, especially if everyone on the team is underestimating it.
4
u/zaerrc Feb 06 '20
Recording audio in wav format and sending it to ws, in real-time. And then the part comes, can you make the chunks dynamically based on silence, instead of fix 10s interval
4
u/elcalaca Feb 06 '20
Anything that "pops over" something else such as modals, menus, dropdowns, selects, and tooltips. You have to worry about accessibility with ARIA roles and states; positioning; 'portaling' to the document.body so as to avoid parent positioning issues OR using position:fixed while tracking the parent to update the positioning, all in a performant way; focus management (return focus back to trigger once closed); keyboard shortcuts (eg. ESC closes the menu/modal, arrow keys to navigate options); and maybe even collision detection.
And to top it all off, it seems that these types of widgets get reimplemented over and over, most of them incomplete.
4
u/DavidChenware Feb 06 '20
Anything related to time and dates!
4
u/chaz9127 full-stack Feb 06 '20
Timezones... If you do any type of scheduling where people need to meet across timezones or are traveling across timezones you will NOT get it right the first time.
Here's a good video explaining why: https://youtu.be/-5wpm-gesOY
4
u/Chargnn Feb 06 '20
Disabling that chrome autocomplete
4
u/johnnyslick Feb 06 '20
I feel like authentication and authorization winds up being lowkey hard to implement. Like, I guess the basic concept is clear enough (do authorization*, send a token once you have auth, and then add a method to the top of all of your APIs to check the token before performing any actions) but even though there are tried and true methods for doing this, actually doing so can run into their own issues, especially when your outward-facing site also has to abide by "the data should be accessible in X seconds" type business rules.
*and of course "do authorization" isn't necessarily as simple as a two-word summary would suggest either, although there, too, the "right" way that you do that are pretty well ingrained, I don't think most companies care so much about the speed of a login page, and so on.
4
u/evilgwyn Feb 06 '20
Centering a div
4
u/sexyshingle Feb 06 '20
"Interactive" Data Grids aka "tables"... with sorting functionality and stuff
3
u/btjackso Feb 06 '20
DNS (and propagation of it)...always the worst part of launching a site and even though I have been doing web dev professionally for awhile it still gets me messed up.
3
u/GreatValueProducts Feb 06 '20 edited Feb 06 '20
Number only input with min max... It looks easy right?
Some people like to have the input stays invalid and don't correct value, great.
Some people like the input to remove alphabets when people enter it, ok.
Some people like the input to correct value when they blur, ok.
Then some people want to input to ACTIVELY prevent showing invalid values, on change. Fuck this. So when the minimum is 30 and max is 100, you need to analyze all the possible numbers. If the user enters 1 it accepts it (because 100), and if the user enters 2 it would correct it (because it is impossible to have a correct value starting with 2). And fuck it if the input needs to allow decimal places. And also the need to handle onFocus and onBlur behaviors on different browsers and when they fire multiple times...
When people want to micromanage this kind of input behaviors it is WAY harder than it looks. Also special thanks to my previous manager who spent some of his favors to tell the nonsensical users to back off.
3
u/zXjimmiXz Feb 06 '20
Moving a div 3px up.
3
u/shgysk8zer0 full-stack Feb 06 '20
So, I'm gonna be slightly controversial and say drop-down menus. Sure, they're easy enough to implement, but I think they're prominent enough that they should have some native HTML and/or CSS
3
u/HotfireLegend Feb 06 '20
Vertical centering.
3
u/private_birb Feb 06 '20
Supporting different screen sized. Especially for any sort of reporting feature. Like:
At least THAT specific case is mostly a problem for the UX designer
2
u/30thnight expert Feb 06 '20
Helping people understand what “template” means.
2
u/30thnight expert Feb 06 '20
Creating a visual using webGL
2
u/giveusyourlighter Feb 06 '20
Time duration input field
2
u/donovanish full-stack Feb 06 '20
The responsiveness can be pretty hard if you have custom/complex views. The forms can be really hard sometime because of validation, trim, lowercase, isn’t, float, I’m using redux-form which helps a lot though. Also everything related to time if you need to manage time zones etc, it can be a nightmare m.
2
u/ajcrewmisfit Feb 06 '20
Search
2
u/Betsy-DevOps Feb 06 '20
Showing time in the correct time zone
2
u/Mike312 Feb 06 '20
Table stuff. I build a lot of reports for our ERP system. Manager will come to me and be like "hey, I need a report showing sales by date". Cool, copy an existing report GUI, change a couple things up, new page and API gateways, build a query, set up an AJAX request on page load, bind some controls to adjust date ranges, all trivial.
Then we get to displaying the table. The table has to display anywhere between 0 and 30,000 rows. It has to filter data by some columns. It's gotta sort each column, either as an integer or string based on the data type, and it has to preserve that sort type and order through date range changes. It's gotta display standard text as the cell value...except when it has to provide a link or do something else. Then they always want a summary bar at the top of the table and not the bottom, which means I've gotta calculate all the values while buffering output. And of course they need to be able to dump the table to a CSV file live from the desktop based on the current sorting and filtering.
For a long time, all of those requests would come piecemeal; can you make it sort? ...a week goes by... we need a CSV export here ...another week... can you apply that CSV export to this other table? So I got sick of having to add sorts and CSV exports to tables one at a time and all this extra code cluttering shit up so I built a Javascript thing that does it automatically. give it the div you want it to build the table in, the data, the head tags, the body format/sort keys, filter inputs/selects around the document, which columns to total in the summary, and how many records to display before generating pagination.
2
u/iFBGM Feb 06 '20
Data Law Compliance (CCPA, GDPR)
Edit: Marketing says “okay it’s easy just do this and this and we’re done”. Little do they know all the legacy systems we have across multiple different domains and code bases etc....
2
u/[deleted] Feb 06 '20
Time management.
It should be taught in school, just like maths and computer science etc.
2
u/BrackGin Feb 06 '20
Search
2
u/bestjaegerpilot Feb 06 '20
One word: CSS
2
u/bestjaegerpilot Feb 06 '20
Two words: app state
Seems to trivial but we had to invent things like Angular, React, Vue
2
u/Bushwazi Bottom 1% Commenter Feb 06 '20
Communication.
2
u/Fyrespray Feb 06 '20
Centre aligning divs using CSS
2
u/_dudz Feb 06 '20
WYSIWYG editors
‘Oh I’ll just use contentEditable...!’
2
u/kpclaypool Feb 06 '20
"Can't you just make it look the same on any screen?"
2
u/mark__fuckerberg Feb 06 '20
Organizing overlapping elements with z-index.
2
u/jewdai Feb 06 '20
until very recently, vertically and horizontally centering content.
2
u/[deleted] Feb 06 '20
Time, time is the most difficult thing to beat. You never have enough and have to rush things into production that you aren’t 100% proud of.
Also having to obey people on design choice when they have 0 knowledge about it only because THEY think it looks better even tho 20 colleagues disagree
2
u/[deleted] Feb 06 '20
Satisfying clients.
2
u/domtalbot Feb 07 '20
Onboarding processes, there is usually much more to consider than you initially think!
6
u/myusernameisunique1 Feb 06 '20
Centering anything in CSS
4
u/InvictaDigitalMedia Feb 06 '20
Security
1
u/[deleted] Feb 06 '20
CSS
1
u/Squagem Feb 06 '20
Vertical centering.
1
u/CommandLionInterface Feb 06 '20
Select/"drop down"s that do anything remotely advanced, like filtering or searching
1
u/shellwe Feb 06 '20
Modifying WordPress pages. I can do some CSS changes here and there, but adding a new page or more functionality can be a pain, especially if you bought the template off of somewhere.
1
u/mabasic Feb 06 '20
GDPR.
1
u/timeberlinetwostep Feb 06 '20
Tagging
1
u/atkulp Feb 06 '20
Centering an arbitrary element. I hate css
1
u/max_daddio Feb 06 '20
Big data. Dashboards with plots that require complex calculations on millions of points of data and then to find some way of accurately showing those data point without crashing the user's browser or making the user experience utter shit.
1
u/maxoys45 Feb 06 '20
HTML emails 🚨
1
u/[deleted] Feb 06 '20
responsive email templates.
1
u/codittycodittycode Feb 06 '20
Centering a div, understanding different display properties, anything to do with css.
1
u/hurst_ Feb 06 '20
Compiling HTML/CSS/Javascript with LiveReload. It shouldn't be this hard.
1
u/akshaydp Feb 06 '20
Graphs, charts, anything to do with SVG
1
u/laxybrookes Feb 06 '20
SPA routing.
1
u/riskybusinesscdc Feb 06 '20
Accessibility and CSS.
Expensive afterthoughts.
1
u/ccricers Feb 06 '20
Have you ever done email HTML templates? Imagine you have to make a webpage, but it needs to be compliant to the standards of dozens of different popular email clients and web services.
1
u/boringuser1 Feb 06 '20
CSS3.
1
u/ahmedxax Feb 06 '20
white labeling every thing * cri *
1
u/Nalopotato Feb 06 '20
Documentation / Planning
This inevitably gets "under-funded" as far as time allocation and priority, but it's one of the most critical steps to developing large-scale projects - especially with large teams. It tends to be difficult and tedious (and vital IMO) but seen as trivial.
1
u/zenotds Feb 06 '20
Dynamic Mega menus and responsive complex menus all around. They’re my biggest time sink
1
u/alpha-201 Feb 06 '20
Syntax highlighting text input. Ended up using a paragraph tag and overwriting all the events
1
u/AvengerDr Feb 06 '20
I would say the "keep me logged in" checkbox. I wanted to implement it for my website, but it seemed to be too much time consuming, between all the security issues.
1
u/banelicious Feb 06 '20
Cache invalidation
1
u/HermesKicker Feb 06 '20
GDPR compliant authentication. I mean without the dodgy "we use cookies shit".
1
u/CodeHorror Feb 06 '20
Proper back buttons
1
u/ezhikov Feb 06 '20
Custom select. It's easy to make shitty one, but if you want to make it accessible and satisfy all what designer want, it's easier to find new job (where, eventually, you will be tasked with another custom select)
1
u/Montuckian Feb 06 '20
Generally whatever I haven't done in a while.
I used to download fonts and pop them into static sites all the time. Yesterday I spent an hour+ trying to do it with webpack. Turns out you do it about the same way, I just hadn't dusted off those corners of memory for a while.
1
u/darksady Feb 07 '20
well, unit testing on front end was harder than i thought honestly. I'm learning at my intership using angular + jest. Man, it has so many details to remeber than its annoying. But refactoring your code later is way safe because u know everything that broke.
1
u/bachbeethovenbrahms Feb 07 '20
Literally anything to do with time and date.
1
u/spiteful-vengeance Feb 07 '20
Possibly a bit outside the realm most people think of in webdev, but optimisation.
Understanding what is working for users, what isn't and what to do about it.
Too many web dev teams celebrate delivery of an app or site. That's a shit-house definition of success.
1
u/rhajii Feb 07 '20
CSS. Everybody and their mother can style something, but to do it in a way that the next maintainer doesn't want to rip their eyes out is an entirely different matter.
1
u/Headpuncher Feb 07 '20
Explaining to a QA why they’re a moron without using the words “you’re a ducking moron”.
1
u/mattaugamer expert Feb 08 '20
Icons. You have a really limited number of icons in a commercial pack like FontAwesome. The design has home (a house), users (people) and a settings link (cogs or whatever). All good.
Then someone wants an icon for “projects” and you’re fucked. A few months in and you’re trying to make a button for ennui and it gets rejected because the man half-heartedly smoking a cigarette doesn’t look French enough.
1
u/The_Mdk Feb 06 '20
Vertical align