I like semicolons/brackets. I already know C# and Java. Whats the best web language for me? All i know is basic HTML/CSS and my website looks crap. So what do you think I should learn? Ive seen a few languages, but I dont know enough about them to make a dicision. Im thinking JavaScript *NOT because it has "java" in its name* but because it looks like the same syntax as desktop languages. IE semicolons/brackets.
If you really want to, my website is a couple java games made by me. (Yes, all java devs dont only do Bukkit (although I have 3 plugins I posted (that I no longer support))).
Rollback Post to RevisionRollBack
Warning: Do not accidentally minecraft.
Don't say I didn't warn you.
Well, you can't just choose Javascript. There are different types of web languages, and they operate on different layers and fulfill different roles. If you really want to be knowledgeable in web development, you'll learn at least one language at each layer.
Javascript is a client-side programming language, which means that it runs inside the user's browser rather than on a server somewhere. This limits the stuff you can do with it.
Say you want to create a secure sign on. You can't really do that with Javascript since, even though you can send requests to a server, the user can both view and change your Javascript. If you want to add a bit of interactivity to a page, say making a section collapse or expand when you click on it, then Javascript is what you want. If you want to generate a page based upon the contents of a database, then Javascript isn't an optimal choice.
There are many server-side programming languages, which do allow you to perform secure operations and more easily generate page content based upon a database. PHP and ASP.Net (which can use C#) are the two most popular, though you can also run with other languages like Java or Ruby or Perl depending on what server you're running.
You'll also need to know both HTML and CSS if you want to create web pages since they form the structure and look of a web page. Client-side languages let you alter the structure of a web document. Server-side languages let you build web documents. In both cases, you need to know how to create a web document yourself, and this means knowing HTML and CSS.
The structure of the relationship between client and server (and where these different languages fit in) looks like this:
-A client sends a request to a server
-The server looks at the request and runs a script based upon that request
-That script, written in a server-side language, generates a response (a web page, a file, an email, etc)
-The server sends the response to the client
-The client receives and displays the response based upon its markup (HTML, XML, xHTML)
-Client-side languages can then change the structure of a displayed web page
Well, it's pretty simple. HTML(Hyper Text Markup Language) is of course a Markup Language (if you haven't known), and you pretty much use it to create the things you see, yes? CSS(Cascading Style Sheets) pretty much goes with HTML to make it look better. PHP(Used to be Programmers Home Page, now PHP: Hypertext Preprocessor.) and ASP(Active Server Pages) can be used with SQL(Structured Query Language) to store things in a database.
In Example for PHP/ASP and SQL:
a user creates an account
the users account is stored in the database and can be grabbed from the database.
If you're going to do JavaScript you should use the jQuery library.
If you really want to, my website is a couple java games made by me. (Yes, all java devs dont only do Bukkit (although I have 3 plugins I posted (that I no longer support))).
Don't say I didn't warn you.
Javascript is a client-side programming language, which means that it runs inside the user's browser rather than on a server somewhere. This limits the stuff you can do with it.
Say you want to create a secure sign on. You can't really do that with Javascript since, even though you can send requests to a server, the user can both view and change your Javascript. If you want to add a bit of interactivity to a page, say making a section collapse or expand when you click on it, then Javascript is what you want. If you want to generate a page based upon the contents of a database, then Javascript isn't an optimal choice.
There are many server-side programming languages, which do allow you to perform secure operations and more easily generate page content based upon a database. PHP and ASP.Net (which can use C#) are the two most popular, though you can also run with other languages like Java or Ruby or Perl depending on what server you're running.
You'll also need to know both HTML and CSS if you want to create web pages since they form the structure and look of a web page. Client-side languages let you alter the structure of a web document. Server-side languages let you build web documents. In both cases, you need to know how to create a web document yourself, and this means knowing HTML and CSS.
The structure of the relationship between client and server (and where these different languages fit in) looks like this:
-A client sends a request to a server
-The server looks at the request and runs a script based upon that request
-That script, written in a server-side language, generates a response (a web page, a file, an email, etc)
-The server sends the response to the client
-The client receives and displays the response based upon its markup (HTML, XML, xHTML)
-Client-side languages can then change the structure of a displayed web page
In Example for PHP/ASP and SQL:
a user creates an account
the users account is stored in the database and can be grabbed from the database.
If you're going to do JavaScript you should use the jQuery library.
PHP used to stand for Programmer's Home Page (in very early versions).
Right now it stands for PHP: Hypertext Preprocessor.
Whoops, it seems I finally got things mixed up with my acronyms. :tongue.gif: