davert Profile picture
2 Dec, 7 tweets, 5 min read
The fundamental problem of #web #development:

Turning trees into tables and back

(Thread 1/6)
It may seem simple as you may have some data in tables (hello, MySQL) and you want them on a web page (hi, <table>). But you start joining data from other tables and you end up displaying a tree in a table. How? You never know how to do it until you try to use that. UX!

(2/6)
But if you have tree-data, tree-database (hello, Mongo), and tree components on website, you still need tables to present the data of similar structure. It's all 2D and are brains are trained to get information presented as combination of 2 axes. Hello, tables!

(3/6)
But tree components in UI are the problem by themselves. How to make data reactive, how to edit and move branches, how to display long lists, how to search & filter in trees! Not so many pre-built components solve these issues. And they may work pretty bad for YOUR data.

(4/6)
What if you make CSV export for clients. You know, no one would edit your JSON files manually. But everyone can edit data in Excel!

Putting tree data into CSV doesn't make nice! Trees in CSV are just awful! Data duplication, internal values, etc. Nah!
For most of my time as #webdeveloper, I convert trees to tables, group data, and display it. Each time I do something differently. So I never get bored!

🤠

(6/6)
It looks like when tweeting on a general #webdev topic I need to tag as many web frameworks as possible because this thread applies to all of them!

#laravel #symfony #rails #django #react #vue #emberjs #svelte #Angular #nuxtjs #Nextjs

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with davert

davert Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @davert

2 Dec
Я долго терпел, но вот вам тред про виды багов:

🐞

Наебаги: баги, которые ты ищешь весь день, а оказывается, что их на самом деле нет - просто кто-то не отключил впн, не в ту вкладку посмотрел, не тот проект открыл, был пьяным всё сломалось, помогите, кря.
Заебаги: они постоянно приходят тебе в уведомлениях от sentry, но тебя они уже настолько заебажили, что ты даже не обращаешь на них внимания. А ЗРЯ!
Нагибаги: ложат стейджинг, продакшн, все тесты, а также все твои планы и личную жизнь. Не позволяй нагибагам заходить слишком глубоко!
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(