Omnimaga

General Discussion => Technology and Development => Web Programming and Design => Topic started by: Ephraim B on February 18, 2015, 09:38:11 pm

Title: Corest web programming
Post by: Ephraim B on February 18, 2015, 09:38:11 pm
I want to start creating my own website that I can see my emails, IRC chats, my calculator programs, all other notifications, and a prep for my future OS I plan on programming. Just like every programming language is compiled to Machine code, what is Web programming compiled down to?
Title: Re: Corest web programming
Post by: Juju on February 18, 2015, 10:18:32 pm
It's interpreted by the web browser, rather than compiled. HTML is not considered as a programming language, but rather as a markup language, that is, a HTML file is kind of interpreted by the browser like Word would interpret a Word document. Kind of same for Javascript, but that's indeed a programming language. The Javascript engine shipped with your browser would interpret and execute each line, line by line, or something like that.
Title: Re: Corest web programming
Post by: Sorunome on February 19, 2015, 06:15:26 am
If you plan on digging into Web-Developing you should start getting yourself familiar with HTML, even though that is, as Juju said, only a markup language. HTML is still a major part of Web-developing as it is used to display stuff.

EDIT: Here you can find a pretty nice tutorial: http://www.w3schools.com/html/
Title: Re: Corest web programming
Post by: Eeems on February 19, 2015, 01:35:23 pm
Just like every programming language is compiled to Machine code, what is Web programming compiled down to?
Not every programming language is compiled to machine code. Most popular programming languages are interpreted (http://en.wikipedia.org/wiki/Interpreted_language).
Kind of same for Javascript, but that's indeed a programming language. The Javascript engine shipped with your browser would interpret and execute each line, line by line, or something like that.
Most JavaScript engines make use of bytecode (http://en.wikipedia.org/wiki/Bytecode) to increase speed. Bytecode is almost like machine code, but it is still not run directly by the computer, instead it's more of just short-hand for interpreted code.


Aside from all that, the three languages (Programming, Markup, etc) you will want to familiarize yourself with are JavaScript, HTML and CSS. This is only for the in browser stuff. If you want to start looking into programming server side stuff (database etc) then there are a number of options. Most people start with php+mysql. I myself would recommend looking at node.js (http://nodejs.org/documentation/) though.

A great resource for learning web programming is w3schools (http://www.w3schools.com/) as Sorunome mentioned. If you want to look more in depth at HTML+CSS+JavaScript though, I'd recommend Mozilla's Developer Network (https://developer.mozilla.org/).