Hi there hyperdev forum.
- when I submit a form and the page view changes, what happens in between those two events?
I feel like if I can understand this end-to-end, I can move past this massive mental block I have in building web apps. I’ve spent an ungodly amount of time reading documentation from express and node and mongoDB to try to understand this, but something is totally, totally blocking my comprehension. I have come to suspect after 3 months of full time beating my head against a brick wall that I’ll really only be able to move forward when I stop failing this test:
Explain the following:
When a user enters “X” into that field and hits that button that says “Hit this button to find a match for X in our database, and to display it below without reloading the page”:
First, “X” goes to ____ which does ___ with the “X”,
and then ____ happens,
and then _____ ,
and then ______,
and then ___we search our database,
and then a match is found for “X” in database,
and then _____,
and then _____,
and then __________
and finally the view changes in the client.
Any idea of where I can go read something start to finish that covers this? In 8 months of trying to learn computer programming from scratch, the resource I’ve found most fit my style was the Bash manual, because it’s comprehensive, doesn’t have distracting links all over (I can read it in my terminal!), and doesn’t have a ton of reference to other frameworks. It’s foundational. I wish I had a textbook covering just the above question, but not like a newfangled one with all the pictures in it, or, god forbid, links to other shit strewn throughout (;
I think a hyperdev example that is similar in simplicity to the current main hyperdev example, but queries a database in the backend, like maybe a weather api or something, or even just queries another hyperdev example, to find a match for the data input, and then returns that match to the client, would be super helpful. I’ve remixed about 20 projects looking for something simple enough that does this, but I end up getting WAY in the weeds, i feel, as the projects invariable include other tools and methods I don’t understand that aren’t explained, so I end up spending a day reading about mongoose so that I can maybe understand mongoDB so that I can maybe use it; really I want to understand the protocol, the communication channel, the flow of the data, with less specifics around HOW to do it.
Just posting that since I think learners are one of your target markets for this product.
I suck at asking for help, which is probably 90% of why I am turning out to be epically shitty at computer programming 8 months into my efforts, and I really fear posting this without listing all the things I’ve tried. Suffice it to say, I’ve maxed out my own efforts, so I’m asking at the place where I spend the most time trying to learn, and because I really respect fogcreek.