I am getting more and more into web development, and I have already mastered html, css, and javascript and a little ajaxs, but in my research I have found many other languages (sharks, perl, sql, ruby, php, and asp) I am not sure how they work together or the purpose of them. Please help thanks.
You’re talking about creating dynamic content with server-side scripting. JavaScript, by comparison, is a client-side scripting language. You can change and customize content using server-side languages, like JavaScript, but these languages allow you to do things you can’t with JavaScript. One benefit of server-side scripting is that it allows interaction with databases (that’s where SQL comes in). As for how they work together, they don’t. PERL, PHP, ASP, etc. are all different languages used to accomplish the same task. You can just find the one you like best (I prefer PHP myself) and use it. If you want to learn others, you can.
PHP, Ruby, and Perl are competing technologies that are run on the web server hosting your documents. When, for example, a PHP page is accessed, the contents are executed and the result is sent to the browser. SQL is a database language that allows storage and retrieval of large amounts of data based on attributes. Many server languages use SQL to store this information and access it later.