Difference between revisions of "Internet Technologies and Techniques"

From Notebook
Jump to: navigation, search
Line 56: Line 56:
 
Databases  
 
Databases  
  
using databases to manage the webstore
+
using databases to manage the webstore. We will be using LAMP stack for managing this. LAMP = linux, apache, mySQL, php
 +
 
 +
$ mysql -u php-server -p , means that we will me authenticating user php with a password. '
 +
my sql commands are always in all caps and are followed by semicolons at the end. for eg. SHOW DATABASE;

Revision as of 07:55, 28 November 2017

Learning Diary

Day 1

http://www.devjavasoft.org/FirstEdition/programmingFundamentals.pdf

Application layer

Top level of stack

(Application layer protocols, protocol = established agreed way of sharing info)

HTTP, FTP, RTSP, IMAP/POP...

using telnet in terminal to connect to sputnik.media.aalto.fi

Commands in terminal -

telnet sputnik.media.aalto.fi 80

GET http://sputnik.media.aalto.fi/ HTTP/1.0


port 80, default port for HTTP connections. IMAP/POP, port 143

DNS = domain name server, basically a server that knows what name links to what ip address of the server.

For eg. to access sputnik.media.aalto.fi, TLD = top level DNS which redirects to local .fi DNS which would send to aalto DNS so on...

Look up - ICANN,

Transport layer

TCP Transmission control protocol Checks for connections, if everything is ok, errors etc., it guarantees that the information that is requested, will be received in whole without drops etc. retransmits lost packages.

UDP user datagram protocol = gets the data as fast as possible, but no guarantees for drops or right order etc., no error correction.

IP

Internet layer, handles routing of connections , independent of hardware. Traceroute in terminal/network utility shows the routes through multiple servers.


ssh in terminal is the way to connect to a remote computer.

ls lists files on the computer.

nano, text editor for terminal.

Day 3

using PHP to make a random counter

Day 4

Using PHP to implement web store basics.

Day 5

Databases

using databases to manage the webstore. We will be using LAMP stack for managing this. LAMP = linux, apache, mySQL, php

$ mysql -u php-server -p , means that we will me authenticating user php with a password. ' my sql commands are always in all caps and are followed by semicolons at the end. for eg. SHOW DATABASE;