Project Review byNight byNight December 5th, 2011.

63
Project Review Project Review byNight byNight December 5th, 2011 December 5th, 2011

Transcript of Project Review byNight byNight December 5th, 2011.

Page 1: Project Review byNight byNight December 5th, 2011.

Project ReviewProject Review byNightbyNight

December 5th, 2011December 5th, 2011

Page 2: Project Review byNight byNight December 5th, 2011.

Project Review: Project Review: Agenda Agenda

Analisi:

User request

Project description

Project goals

User stories

CRC card

Scenarios

Use cases

Uses cases diagram

Sequence diagram

Page 3: Project Review byNight byNight December 5th, 2011.

Project Review:Project Review:AgendaAgenda

Design:Sequence diagram

Activity diagram

Class diagram

Project plan

Spikes

Page 4: Project Review byNight byNight December 5th, 2011.

Project ReviewProject Review

Analysis phase

Page 5: Project Review byNight byNight December 5th, 2011.

Project goalsProject goalsOnline reservation

User Registration

Completely visible site (all user)

Desktop application for notification (only pubs)

User notification via email

Max number of places reserved

Android application (only clients)

Online search

Creation of pub’s events via web

User reservation History

Pubs/Events Review

Page 6: Project Review byNight byNight December 5th, 2011.

Project no goalsProject no goals

Online payment

Application for other platform

Reservation by phone

Page 7: Project Review byNight byNight December 5th, 2011.

User stories:User stories: IntroductionIntroduction

Un Utente è un qualsiasi soggetto anonimo non registrato che accede a funzionalità limitate del sistema.

Un Cliente è un utente registrato con funzioni da cliente (prenotazioni ecc).

Un Locale è un utente registrato con funzionalità differenti da quelli del cliente.

Page 8: Project Review byNight byNight December 5th, 2011.

User stories:User stories: UtenteUtente

1) registrarsi come Cliente:

L‘ Utente accede al sistema e si registra come Cliente, inserendo i dati come nome, cognome, indirizzo, ecc.. Il sistema crea la pagina "standard" relativa al Cliente nella quale sono riportati tutti i dati pubblici precedentemente inseriti.

2) registrarsi come Locale:

L‘Utente accede al sistema e si registra come Locale, inserendo i dati come nome del locale, partita IVA, indirizzo, proprietario ecc.. Il sistema dopo aver verificato i dati inseriti dall‘Utente crea la pagina "standard" relativa al Locale nella quale sono riportati tutti i dati pubblici precedentemente inseriti. Il Locale registrato può modificare alcuni dati nella propria pagina come l'orario di apertura o chiusura.

3) ricercare locali/eventi:

L‘Utente esegue la ricerca di un Locale /evento e visualizza le informazioni.

4) visualizzare le recensioni:

L'Utente visualizza le recensioni del Locale e degli eventi

Page 9: Project Review byNight byNight December 5th, 2011.

User stories:User stories:ClienteCliente

1) prenotare:

Il Cliente ricerca un Locale /evento ed esegue la prenotazione. Il sistema notifica al Cliente e al Locale l'avvenuta prenotazione.

2) ricercare locali/eventi:

L‘ Cliente esegue la ricerca di un Locale /evento e visualizza le informazioni.

3) cancellare prenotazioni:

Il Cliente accede alle sue prenotazioni e annulla la prenotazione. Il sistema notifica al Cliente e al Locale l'avvenuta cancellazione.

4) recensire locali/eventi:

Il Cliente accede alla pagina del Locale e inserisce una recensione relativa al Locale stesso o all'evento da esso organizzato.

5) visualizzare le recensioni:

Il Cliente visualizza le recensioni del Locale e degli eventi

Page 10: Project Review byNight byNight December 5th, 2011.

User stories:User stories:LocaleLocale

1) inserire eventi:

Il Locale accede alla pagina di creazione degli eventi, e inserisce tutti i dati relativi all'evento che vuole creare. Il sistema notifica l'avvenuta creazione dell'evento.

2) cancellare eventi:

Il Locale accede alla pagina relativa all'evento e cancella l'evento. Il sistema notifica al Locale, e a tutti i Clienti prenotati all'evento, la cancellazione.

3) visualizzare le prenotazioni:

Il Locale visualizza le prenotazioni presso il Locale stesso e ad un determinato evento.

4) visualizzare le recensioni:

Il Locale visualizza le recensioni del Locale stesso e degli eventi

Page 11: Project Review byNight byNight December 5th, 2011.

CRC cardsCRC cards

UTENTE

Responsabilities Collaborations

LocaleEventoRecensioneCliente

Attributes:

CLIENTE

Responsabilities Collaborations

RegistrazioneAutenticazione

PrenotazioneRecensioneLocaleEvento

Attributes: Nome; Cognome; Indirizzo; Email; Numero di telefono; Password; Data di nascita

Page 12: Project Review byNight byNight December 5th, 2011.

CRC cardsCRC cards

LOCALE

Responsabilities Collaborations

VisualizzazioneRegistrazioneAutenticazione

EventoRecensionePrenotazione

Attributes: Nome; P. Iva; Proprietario; Indirizzo; Numero di telefono; Password; Email; Orario; Numero posti

EVENTO

Responsabilities Collaborations

Creazione eventoCancellazione eventoVisualizzazione

LocalePrenotazione

Attributes:Nome; Locale organizzatore; Data; Ora; Numero posti; Prezzo; Descrizione

Page 13: Project Review byNight byNight December 5th, 2011.

CRC cardsCRC cards

PRENOTAZIONE

Responsabilities Collaborations

Invia notificaCreazione prenotazioneCancellazione prenotazioneVisualizzazioneAttributes: Dati cliente; Data; Ora; Numero posti; Dati locale; Dati evento

RECENSIONE

Responsabilities Collaborations

Creazione recensioneCancellazione recensioneVisualizzazione recensione

Attributes: Dati cliente; Titolo; Descrizione; Dati locale; Dati evento

Page 14: Project Review byNight byNight December 5th, 2011.

ScenariosScenarios

1.Scenario Utente Registrarsi come Cliente Registrarsi come Locale Ricerca Locale Ricerca evento

2.Scenario Cliente Prenotare Locale Prenotare evento Cancellazione prenotazioni Recensione Locale Ricerca Locale Ricerca evento

3.Scenario Locale Inserimento eventi Cancellare eventi Visualizzare prenotazioni evento Visualizzare prenotazioni Locale

Page 15: Project Review byNight byNight December 5th, 2011.

Scenario Utente: Scenario Utente: Registrarsi come ClienteRegistrarsi come Cliente

Page 16: Project Review byNight byNight December 5th, 2011.

Scenario Utente: Scenario Utente: Registrarsi come LocaleRegistrarsi come Locale

Page 17: Project Review byNight byNight December 5th, 2011.

Scenario Utente: Scenario Utente: Ricerca LocaleRicerca Locale

Page 18: Project Review byNight byNight December 5th, 2011.

Scenario Utente: Scenario Utente: Ricerca EventoRicerca Evento

Page 19: Project Review byNight byNight December 5th, 2011.

Scenario Cliente: Scenario Cliente: Prenotare LocalePrenotare Locale

Page 20: Project Review byNight byNight December 5th, 2011.

Scenario Cliente: Scenario Cliente: Prenotare EventoPrenotare Evento

Page 21: Project Review byNight byNight December 5th, 2011.

Scenario Cliente: Scenario Cliente: Cancellazione PrenotazioneCancellazione Prenotazione

Page 22: Project Review byNight byNight December 5th, 2011.

Scenario Cliente: Scenario Cliente: Recensione LocaleRecensione Locale

Page 23: Project Review byNight byNight December 5th, 2011.

Scenario Cliente: Scenario Cliente: Ricerca LocaleRicerca Locale

Page 24: Project Review byNight byNight December 5th, 2011.

Scenario Cliente: Scenario Cliente: Ricerca EventoRicerca Evento

Page 25: Project Review byNight byNight December 5th, 2011.

Scenario Locale:Scenario Locale:Inserimento EventoInserimento Evento

Page 26: Project Review byNight byNight December 5th, 2011.

Scenario Locale:Scenario Locale:Cancellare EventoCancellare Evento

Page 27: Project Review byNight byNight December 5th, 2011.

Scenario Locale:Scenario Locale:Visualizzare prenotazioni EventoVisualizzare prenotazioni Evento

Page 28: Project Review byNight byNight December 5th, 2011.

Scenario Locale:Scenario Locale:Visualizzare prenotazioni LocaleVisualizzare prenotazioni Locale

Page 29: Project Review byNight byNight December 5th, 2011.

Use Case: Use Case: Prenotazione LocalePrenotazione Locale

•Precondition: The user is logged in •Postcondition: The user has made a reservation •Actors: User, Pub

1. The user searches a pub 2. The system shows the personal page of the pub 3. The user accesses to the reservation page 4. The system asks how many places has to be reserved 5. The user specify the number of person that request reservetion 6. The system asks for a confirmation 7. The user conferms 8. The system sends a mail to the user and a notification to the pub

•Exception 1. Pub not found (Point 2)

a) The system shows that there no pub with the preferences expressed by the user

2. Places less then specified a) The system alerts the user

3. User doesn't confirm (Point 7) a) The system redirect the user on the public pub page

Page 30: Project Review byNight byNight December 5th, 2011.

Use Case:Use Case:Prenotazione EventoPrenotazione Evento

•Precondition: The user is logged in •Postcondition: The user has made a reservation •Actors: User, Pub, Events

1. The user searches a pub 2. The system shows the personal page of the pub 3. The user accesses to the events pages organized by the pub 4. The user accesses to the reservation page 5. The system asks how many places has to be reserved 6. The user specify the number of person that request reservation 7. The system asks for a confirmation 8. The user conferms 9. The system sends a mail to the user and a notification to the pub

•Exception

1. Pub not found (Point 2) a) The system shows that there no pub with the preferences

expressed by the user 2. Places less then specified

a) The system alerts the user 3. User doesn't confirm (Point 8)

a) The system redirect the user on the public event page

Page 31: Project Review byNight byNight December 5th, 2011.

Use Case: Use Case: Registrazione come Cliente/LocaleRegistrazione come Cliente/Locale

•Postcondition: The user is registered •Actors: User

1. The user accesses to the registration page and inserts his data 2. The system shows this data and asks for confirmation 3. The user confirms 4. The system sends an email to him

•Exception

1. Data not correct a) The user doesn't confirm and will be redirected to

registration page to correct the data 2. User doesn't confirm

a) The system redirect the user to the registration page

Page 32: Project Review byNight byNight December 5th, 2011.

Use Case: Use Case: Cancellazione PrenotazioneCancellazione Prenotazione

•Precondition: The user has made a reservation and is authenticated •Postcondition: The reservation will be cancelled •Actors: User

1. The user access to his personal page and access on the current reservation

2. The system shows the details of the current reservation 3. The user decides to cancel the reservation 4. The system asks for confirmation 5. The user confirms 6. The system cancelles the reservation

•Exception

1. User doesn't confirm a) The system redirect him to his own personal page

Page 33: Project Review byNight byNight December 5th, 2011.

Use Case: Use Case: Aggiungi RecensioneAggiungi Recensione

•Precondition: The user is authenticated •Postcondition: The review is added to the specified pub •Actors: User

1. The user searches for a pub 2. The system shows the results of the research 3. The user selects a pub 4. The system shows the pub's personal page 5. The user accesses to the review section and specify his review of the

pub or the event organized by the selected pub 6. The system add the review

•Exception

1. Pub not found (Point 2) a) The system shows that there no pub with the preferences

expressed by the user

Page 34: Project Review byNight byNight December 5th, 2011.

Use Case: Use Case: Inserire EventoInserire Evento

•Precondition: The user is authenticated as pub •Postcondition: The event will be created •Actors: User, Events

1. The user access to his own personal page and access to the event's creation section

2. The system asks for the event's data 3. The user inserts the data 4. The system asks for confirmation 5. The user confirms 6. The system add the new event

•Exception

1. User doesn't confirm a) The system redirect him to his own personal page

Page 35: Project Review byNight byNight December 5th, 2011.

Use Case: Use Case: Cancellare EventoCancellare Evento

•Precondition: The user is authenticated as pub •Postcondition: The event will be created •Actors: User, Events

1. The user access to his own personal page and to the events created 2. The system shows all the events created 3. The user selects an event to be cancelled 4. The system asks for confirmation 5. The user confirms 6. The system cancels the event and send a notification to all the users that

made reservation for that event

•Exception

1. User doesn't confirm a) The system redirect him to his own personal page

Page 36: Project Review byNight byNight December 5th, 2011.

Use Cases DiagramUse Cases Diagram

Page 37: Project Review byNight byNight December 5th, 2011.

Sequence diagramSequence diagram

1.Registrazione Cliente

2.Registrazione Locale

3.Ricerca Locale ed Evento

4.Creazione Evento

5.Prenotazione

Page 38: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:Registrazione ClienteRegistrazione Cliente

Page 39: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:Registrazione LocaleRegistrazione Locale

Page 40: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:Ricerca Locale ed EventoRicerca Locale ed Evento

Page 41: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:Creazione EventoCreazione Evento

Page 42: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:PrenotazionePrenotazione

Page 43: Project Review byNight byNight December 5th, 2011.

Project ReviewProject Review

Design phase

Page 44: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:Registrazione ClienteRegistrazione Cliente

Page 45: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:Registrazione LocaleRegistrazione Locale

Page 46: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:Ricerca Locale ed EventoRicerca Locale ed Evento

Page 47: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:Creazione EventoCreazione Evento

Page 48: Project Review byNight byNight December 5th, 2011.

Sequence diagram:Sequence diagram:PrenotazionePrenotazione

Page 49: Project Review byNight byNight December 5th, 2011.

Activity diagram:Activity diagram:Prenotazione EventoPrenotazione Evento

cliente sistema

Page 50: Project Review byNight byNight December 5th, 2011.

Class diagramClass diagram

Page 51: Project Review byNight byNight December 5th, 2011.

Project ReviewProject Review

Project Plan

Page 52: Project Review byNight byNight December 5th, 2011.

Project Plan (I)Project Plan (I)

Page 53: Project Review byNight byNight December 5th, 2011.

Project Plan (II)Project Plan (II)

Page 54: Project Review byNight byNight December 5th, 2011.

Project Plan (III)Project Plan (III)

Page 55: Project Review byNight byNight December 5th, 2011.

Project Plan (IV)Project Plan (IV)

Page 56: Project Review byNight byNight December 5th, 2011.

Project Plan (V)Project Plan (V)

Page 57: Project Review byNight byNight December 5th, 2011.

Project Plan (VI)Project Plan (VI)

Page 58: Project Review byNight byNight December 5th, 2011.

Project Plan (VII)Project Plan (VII)

Page 59: Project Review byNight byNight December 5th, 2011.

Project Plan (VIII)Project Plan (VIII)

Page 60: Project Review byNight byNight December 5th, 2011.

Project ReviewProject Review

Spikes

Page 61: Project Review byNight byNight December 5th, 2011.

SpikesSpikes

JavaEE: Session bean, EJB

oogle

•JavaEE: JMS, WS

•OpenID

•Android

• acebook

• witter

Page 62: Project Review byNight byNight December 5th, 2011.

Spikes:Spikes: oogleoogle

Page 63: Project Review byNight byNight December 5th, 2011.

Thank you for your Thank you for your attention !attention !

Questions?Questions?