Vai al contenuto principale
Oggetto:

PROGRAMMAZIONE WEB (LAUREA MAGISTRALE)

Oggetto:

Anno accademico 2010/2011

Codice dell'attività didattica
LET0176 (12 CFU)- LET0608 (6 CFU)
Docente
Annamaria Goy (Titolare del corso)
Corso di studi
[f005-c510] Laurea magistrale in Produzione e organizzazione della comunicazione e della conoscenza
Anno
1° anno 2° anno
Periodo didattico
Primo semestre - seconda parte Secondo semestre - prima parte
Tipologia
Per tutti gli ambiti
Crediti/Valenza
12
SSD dell'attività didattica
INF/01 - informatica
Oggetto:

Sommario insegnamento

Oggetto:

Obiettivi formativi

Obiettivo del corso è fornire allo studente le competenze necessarie per comprendere il funzionamento delle applicazioni web basate su diverse tecnologie. In particolare, per raggiungere tale obiettivo, lo studente imparerà a costruire semplici siti web dinamici, integrando tecnologie client-side, server-side, ibride e utilizzando tecniche di mash-up.

The goal of the course is to provide the student with the knowledge enabling her/him to understand how web applications, based on different technologies, work. In particular, in order to achieve this goal, the student will learn how to build simple dynamic web sites, based on the integration of client-side, server-side, or hybrid technologies, and exploiting mash-up techniques.

Oggetto:

Programma

Breve introduzione al web (architetture client-server, HTTP, URL, HTML), alla programmazione sul web (linguaggi di programmazione e di scripting) e alle pagine web dinamiche (tecnologie client-side e server-side).

Introduzione alla programmazione: tipi di dati; variabili, assegnamenti, espressioni; funzioni, parametri, valori di ritorno; costrutti condizionali; liste e cicli.

Introduzione a PHP; Web Server e interprete; utilizzo di HTTP response; gestione di HTTP request (form on-line e link); interazione con un database (costruire un DB con MySQL Server, leggere dati da un DB, inserire, cancellare, aggiornare dati in un DB); scrittura e lettura di cookies; gestione della sessione utente.

Introduzione alla programmazione client-side: Javascript, DOM, gestione di eventi.

Interazione asincrona tra client e server: tecnologie AJAX.

Programmare sul Web 2.0: utilizzo di open API (esempi: google maps, google apps). Approfondimenti di PHP: modello object-oriented; upload di file; Content Managment Systems per il web basati su PHP.

L’esame consiste nella realizzazione di un sito dinamico in PHP, seguita da una discussione del progetto e una verifica orale delle competenze acquisite.

Ulteriori informazioni su: www.di.unito.it/~goy/dida.html.

Short introduction to the web (client-server architecture, HTTP, URL, HTML), to web programming (programming and scripting languages), and to dynamic web pages (client-side and server-side technologies).

Introduction to programming: data types; variables, assignments, expressions; functions, parameters, return values; conditionals; lists and loops.

Introduction to PHP; Web Server and interpreter; using HTTP response; handling HTTP request (form on-line and links); interaction with a database (building a DB with MySQL Server, reading data from a DB, inserting, deleting, updating data in a DB); writing and reading cookies; user session management.

Introduction to client-side programming: Javascript, DOM, event management.

Asynchronous interaction between client and server: AJAX technologies.

Programming on the Web 2.0: exploiting open API (examples: google maps, google apps). PHP in depth: the object-oriented model; file upload; Web Content Managment Systems based on PHP.

The exam consists in the development of a dynamic web site based on PHP, followed by a discussion about the project and an oral verification of the knowledge acquired.

More information at: www.di.unito.it/~goy/dida.html.

Testi consigliati e bibliografia

Oggetto:

1) Parti di:

- V. Della Mea, L. Di Gaspero, I. Scagnetto, Programmazione web lato server, Apogeo 2007

- M.E. Davis & J.A. Phillips, Programmare in PHP e MySQL, HOPS Tecniche Nuove/O'Reilly, 2008

- P. Lavin, Object-Oriented PHP: concepts, techniques, and code, No Starch Press, 2006

2) Dispense (che saranno disponibili all'inizio del corso)

Ulteriori dettagli saranno comunicati durante il corso.

1) Parts of:

- V. Della Mea, L. Di Gaspero, I. Scagnetto, Programmazione web lato server, Apogeo 2007

- M.E. Davis & J.A. Phillips, Programmare in PHP e MySQL, HOPS Tecniche Nuove/O'Reilly, 2008

- P. Lavin, Object-Oriented PHP: concepts, techniques, and code, No Starch Press, 2006

2) Class notes (available at the beginning of  the class)

More information will be provided during the class.



Oggetto:

Note

Il corso richiede la conoscenza di HTML e dei concetti di base dei database (relazionali).

NOTA 1: è anche possibile inserire nel piano carriera soltanto il modulo 1 (6 cfu).

NOTA 2: Coloro che, nell’a.a. 2008/09, avevano inserito nel loro piano carriera Programmazione Web Avanzata al secondo anno della Laurea Magistrale, potranno seguire la seconda parte del corso (modulo 2) e sostenere l’esame escludendo dal programma i seguenti argomenti: upload di file; Content Managment Systems per il web basati su PHP.

Web programming

The course requires the knowledge about HTML and about the basic concepts of (relational) databases.

NOTA 1: it is also possible to include only module 1 (6 cfu)

NOTA 2: Students who, in a.a. 2008/09, had included Programmazione Web Avanzata in their second year of the Laurea Magistrale, can attend the second part of the course (module 2) and sit the exam excluding from the program the following topics: file upload; Web Content Managment Systems based on PHP.

Oggetto:
Ultimo aggiornamento: 07/04/2014 16:38
Non cliccare qui!