4 ms·
Haha, tell me about it. When I was first learning PHP as a teenager I also had similar problems. I did not know about SQL JOINs for at least a couple of years;
by martinald 2y ago
Haha, tell me about it.
When I was first learning PHP as a teenager I also had similar problems. I did not know about SQL JOINs for at least a couple of years; which meant database querying was... overcomplicated to say the least.
The other epiphany I had was when I started to realise HTTP was just a request string getting parsed. Given I had used FTP and web servers like Apache previously for HTML and files, I was convinced the directory structure in the URL was the directory structure on disk. It took me a long time to get my head around the fact that you could just grab the request URL from the HTTP headers and not have to have hundreds of physical folders to make URLs like /category/subcategory/page (I'd managed to approximate this with making folder structures that looked like this with index.php files in).
- amadeuspagel 2y ago> The other epiphany I had was when I started to realise HTTP was just a request string getting parsed. I've never thought of it like this, but I didn't understand for a long time that a webserver was just a function that run with the request as an argument.