*side note*
Please bear with me. This is my first post on the forums. I've been lurking for about a week trying to make sure I don't make an ass out of myself right off the bat. I think this is the best place to post this, but if it isn't I apologize. I wanted to ensure that my first few posts were inconsequential so that I didn't break a faux pas like giving advice before your 100th post or something. So this is my first attempt.
*end side note*
Learning SQL is a fun and enlightening experience, whereby each and everyone has at some point said "What the Fuck?!?" if I'm not mistaken. However, this excellent product is pretty much the one and only way to do anything reasonably useful on the web--not going into detail as this thread is not for that debate, so we'll just say--to the vast majority. So SQL has a long and elaborate history.
So when a young kid gets addicted to his computer and decides to become a coder, he picks up html, css, and javascript, which leads him to php, and inevitably to SQL (your experiece may differ). Everyone here surely knows SQL's purpose. In order to store information and change a web-page per-user, you need to be able to modify some files. Since no other program allows this sort of action, you need SQL. In fact it's so commonplace that a number of applications that don't even need the internet use it.
But other languages do allow file-modification. There are hundreds of branches of languages that allow it. Heck, years ago I used to use javascript and gnome to do that. In fact, php even has a way to parse text files.
To be fully explanatory, I'll give a personal anecdote. I installed XAMPP on a server in order to run phpbb (yes, I know, very simple stuff). Well, the system crashed and we moved it to another rig, and another and another and so on. This meant that each time I got to enter fun import and export queries in mysql because the data can't just be "copy-pasted" even though the operating system I was working on (windows in this case) had already created functionality for that. Eventually I came upon a situation where I had to do a transfer, but all that was left of the rig was the hard drive. So I hooked up the hard drive to a spare computer as a slave and pulled up my files. Darn it if I hadn't been using the XAMPP "shell" the whole time and now all of a sudden couldn't access SQL prompts because drive letter etc. had changed.
Then I remembered sorting through the files in the mysql directory of xampp and finding the text of my databases. To me, this meant that the "mysql" was only a parser to create "databases" from badly formatted text files. So I decided to copy the mysql directory over and overwrite the one on the new machine. Sure enough, the databases copied and read perfectly. As far as I can tell, this means that all this "open a shell and type in your query" crap is utterly useless. All I have to do is edit the files themselves in order to change my database. Why the elaborate UI? Why make this whole process more complex than it is? Why SQL?
Please bear with me. This is my first post on the forums. I've been lurking for about a week trying to make sure I don't make an ass out of myself right off the bat. I think this is the best place to post this, but if it isn't I apologize. I wanted to ensure that my first few posts were inconsequential so that I didn't break a faux pas like giving advice before your 100th post or something. So this is my first attempt.
*end side note*
Learning SQL is a fun and enlightening experience, whereby each and everyone has at some point said "What the Fuck?!?" if I'm not mistaken. However, this excellent product is pretty much the one and only way to do anything reasonably useful on the web--not going into detail as this thread is not for that debate, so we'll just say--to the vast majority. So SQL has a long and elaborate history.
So when a young kid gets addicted to his computer and decides to become a coder, he picks up html, css, and javascript, which leads him to php, and inevitably to SQL (your experiece may differ). Everyone here surely knows SQL's purpose. In order to store information and change a web-page per-user, you need to be able to modify some files. Since no other program allows this sort of action, you need SQL. In fact it's so commonplace that a number of applications that don't even need the internet use it.
But other languages do allow file-modification. There are hundreds of branches of languages that allow it. Heck, years ago I used to use javascript and gnome to do that. In fact, php even has a way to parse text files.
To be fully explanatory, I'll give a personal anecdote. I installed XAMPP on a server in order to run phpbb (yes, I know, very simple stuff). Well, the system crashed and we moved it to another rig, and another and another and so on. This meant that each time I got to enter fun import and export queries in mysql because the data can't just be "copy-pasted" even though the operating system I was working on (windows in this case) had already created functionality for that. Eventually I came upon a situation where I had to do a transfer, but all that was left of the rig was the hard drive. So I hooked up the hard drive to a spare computer as a slave and pulled up my files. Darn it if I hadn't been using the XAMPP "shell" the whole time and now all of a sudden couldn't access SQL prompts because drive letter etc. had changed.
Then I remembered sorting through the files in the mysql directory of xampp and finding the text of my databases. To me, this meant that the "mysql" was only a parser to create "databases" from badly formatted text files. So I decided to copy the mysql directory over and overwrite the one on the new machine. Sure enough, the databases copied and read perfectly. As far as I can tell, this means that all this "open a shell and type in your query" crap is utterly useless. All I have to do is edit the files themselves in order to change my database. Why the elaborate UI? Why make this whole process more complex than it is? Why SQL?