Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Basi di dati ~ informatica triennale > Social network 2010/2011
Pages (11): « 1 2 3 4 [5] 6 7 8 9 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
number15
.grande:maestro.

User info:
Registered: Nov 2005
Posts: 652 (0.09 al dì)
Location:
Corso:
Anno:
Time Online: 121 Days, 13:57:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

In serata ti rispondo per bene.
Comunque leggendo veloce direi che nell'er devi creare solo un 'rombo' tra utente e gioco.

Poi in relazionale si creerà utente_gioco.
L'attributo tipo va solo in gioco, non te lo porti dietro.

__________________
Portale segnalazioni marchi-negozi di abbigliamento
http://www.ovojo.com

21-03-2011 16:50
Click Here to See the Profile for number15 Click here to Send number15 a Private Message Find more posts by number15 Add number15 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Snakethesniper
.consigliere.

User info:
Registered: Sep 2009
Posts: 111 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 7:02:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by number15
In serata ti rispondo per bene.
Comunque leggendo veloce direi che nell'er devi creare solo un 'rombo' tra utente e gioco.

Poi in relazionale si creerà utente_gioco.
L'attributo tipo va solo in gioco, non te lo porti dietro.

si, parlavo proprio del "rombo". L'attributo tipo serve per indicare se è posseduto/provato oppure desiderato, quindi penso debba rientrare nell'entità Gioco_Utente

21-03-2011 17:01
Click Here to See the Profile for Snakethesniper Click here to Send Snakethesniper a Private Message Find more posts by Snakethesniper Add Snakethesniper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
number15
.grande:maestro.

User info:
Registered: Nov 2005
Posts: 652 (0.09 al dì)
Location:
Corso:
Anno:
Time Online: 121 Days, 13:57:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ah ops, pensavo tipo di gioco. ;)

Allora direi tutto giusto

__________________
Portale segnalazioni marchi-negozi di abbigliamento
http://www.ovojo.com

21-03-2011 17:05
Click Here to See the Profile for number15 Click here to Send number15 a Private Message Find more posts by number15 Add number15 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Snakethesniper
.consigliere.

User info:
Registered: Sep 2009
Posts: 111 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 7:02:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Un'altra cosa, che sto andando in confusione, riguarda sempre i tipi di gioco. Io nello schema avevo fatto appunto Gioco e sotto le sottoclassi Videogioco, gioco di carte, gioco da tavolo. Ho deciso di tenere sia superclasse che sottoclasse, di conseguenza ho creato le associazioni 1:1 tra la superclasse e le sottoclassi. Ora il mio dubbio è, so che in questo caso bisogna per forza farle 1:1, ma è corretto in questo caso? Nel senso, per esempio, Videogioco non dovrebbe avere cardinalità 1,n con gioco?

21-03-2011 17:26
Click Here to See the Profile for Snakethesniper Click here to Send Snakethesniper a Private Message Find more posts by Snakethesniper Add Snakethesniper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
number15
.grande:maestro.

User info:
Registered: Nov 2005
Posts: 652 (0.09 al dì)
Location:
Corso:
Anno:
Time Online: 121 Days, 13:57:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

La cardinalità è 0,1 (un gioco può essere 1 videogioco O un gioco di carte O un gioco da tavolo).

Facciamo che id_gioco = 1 sia nba 2k11.

Ad nba2k11 corrisponderà 1 e una sola tupla in videogioco e l'id_gioco = 1 in videogioco corrisponderà esclusivamente ad nba2k11.

Quindi ricapitolando avrai:
gioco (0,1) videogioco
videogioco (1,1) gioco

__________________
Portale segnalazioni marchi-negozi di abbigliamento
http://www.ovojo.com

21-03-2011 17:36
Click Here to See the Profile for number15 Click here to Send number15 a Private Message Find more posts by number15 Add number15 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Snakethesniper
.consigliere.

User info:
Registered: Sep 2009
Posts: 111 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 7:02:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by number15
La cardinalità è 0,1 (un gioco può essere 1 videogioco O un gioco di carte O un gioco da tavolo).

Facciamo che id_gioco = 1 sia nba 2k11.

Ad nba2k11 corrisponderà 1 e una sola tupla in videogioco e l'id_gioco = 1 in videogioco corrisponderà esclusivamente ad nba2k11.

Quindi ricapitolando avrai:
gioco (0,1) videogioco
videogioco (1,1) gioco

Edit: non riesco a capire bene una cosa, perchè 1,1? nel senso, ad una tipologia non possono far parte più giochi? In questo caso quindi non ci dovrebbe essere N ?

Last edited by Snakethesniper on 21-03-2011 at 17:52

21-03-2011 17:44
Click Here to See the Profile for Snakethesniper Click here to Send Snakethesniper a Private Message Find more posts by Snakethesniper Add Snakethesniper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
blue_tech
.fedelissimo.

User info:
Registered: Feb 2011
Posts: 47 (0.01 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 9:09:06: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Talking

Originally posted by number15
Dai un'occhiata qua, dovrebbe aiutarti.
http://blog.fl3x.de/2005/10/26/mate...views-in-mysql/


grazie mi sembra già un ottimo passo in avanti... proverò, vediamo cosa salta fuori :)

21-03-2011 18:21
Click Here to See the Profile for blue_tech Click here to Send blue_tech a Private Message Find more posts by blue_tech Add blue_tech to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
gab217
.arcimaestro.

User info:
Registered: Feb 2008
Posts: 347 (0.05 al dì)
Location: prov Varese
Corso: Informatica
Anno: 3
Time Online: 8 Days, 15:33:40 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao a tutti volevo chiedervi voi cosa intendete e come trovate il valore numerico il valore numerico proporzionale alla similarità tra utenti?

22-03-2011 15:26
Click Here to See the Profile for gab217 Click here to Send gab217 a Private Message Find more posts by gab217 Add gab217 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Snakethesniper
.consigliere.

User info:
Registered: Sep 2009
Posts: 111 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 7:02:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by gab217
Ciao a tutti volevo chiedervi voi cosa intendete e come trovate il valore numerico il valore numerico proporzionale alla similarità tra utenti?

Se non erro sul testo parlava di numero dei giochi posseduti/provati che si hanno in comune, ma potrei sbagliarmi, al momento non ho il testo sotto mano.

Avrei invece una domanda sulla questione amicizie, io ho fatto un'associazione ricorsiva in Utente visto che appunto l'amicizia è tra due entità di tipo utente, dite che è corretto?

22-03-2011 16:21
Click Here to See the Profile for Snakethesniper Click here to Send Snakethesniper a Private Message Find more posts by Snakethesniper Add Snakethesniper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
gab217
.arcimaestro.

User info:
Registered: Feb 2008
Posts: 347 (0.05 al dì)
Location: prov Varese
Corso: Informatica
Anno: 3
Time Online: 8 Days, 15:33:40 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

allora nessun numero?
Per quanto riguarda l'amicizia ankio ho ragionato nel tuo stesso modo quindi mi sembra corretto.
Come hai gestito invece dove chiedeva di realizzare tramite viste il profilo comprensivo di amici e di giochi posseduti/votati?

22-03-2011 16:59
Click Here to See the Profile for gab217 Click here to Send gab217 a Private Message Find more posts by gab217 Add gab217 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Snakethesniper
.consigliere.

User info:
Registered: Sep 2009
Posts: 111 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 7:02:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by gab217
allora nessun numero?
Per quanto riguarda l'amicizia ankio ho ragionato nel tuo stesso modo quindi mi sembra corretto.
Come hai gestito invece dove chiedeva di realizzare tramite viste il profilo comprensivo di amici e di giochi posseduti/votati?

io sto finendo ora di fare lo schema logico quindi non ho ancora affrontato il problema xD

22-03-2011 17:08
Click Here to See the Profile for Snakethesniper Click here to Send Snakethesniper a Private Message Find more posts by Snakethesniper Add Snakethesniper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Snakethesniper
.consigliere.

User info:
Registered: Sep 2009
Posts: 111 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 7:02:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcuno che ha già fatto e consegnato il progetto mi saprebbe dire se il tipo ENUM è accettato anche se non è uno standard?

Last edited by Snakethesniper on 23-03-2011 at 15:11

23-03-2011 14:57
Click Here to See the Profile for Snakethesniper Click here to Send Snakethesniper a Private Message Find more posts by Snakethesniper Add Snakethesniper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao a tutti!
Domandona: la/le tabelle usate ad hoc per le materialized views sono da includere nello schema ER???

23-03-2011 16:31
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Snakethesniper
.consigliere.

User info:
Registered: Sep 2009
Posts: 111 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 7:02:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Visto che le slide del prof riguardo la connessione al database e il passaggio dei parametri la trovo incompleta e poco chiara, qualcuno sa consigliarmi dove trovare queste informazioni? Magari relative a postgresql

23-03-2011 18:18
Click Here to See the Profile for Snakethesniper Click here to Send Snakethesniper a Private Message Find more posts by Snakethesniper Add Snakethesniper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Snakethesniper
.consigliere.

User info:
Registered: Sep 2009
Posts: 111 (0.02 al dì)
Location: Milano
Corso: Informatica
Anno: 2
Time Online: 7:02:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcuno mi sa dire (se usa apache e php) che versione usa di questi?
Continuo ad avere l'errore:

Fatal error: Call to undefined function pg_connect()

nonostante abbia decommentato l'estensione che punta a pgsql.dll e seguito TUTTO quello che c'era da seguire...
sono su windows 7

edit: risolto, a quanto pare era un problema della dll nell'ultima versione

Last edited by Snakethesniper on 24-03-2011 at 20:33

24-03-2011 18:20
Click Here to See the Profile for Snakethesniper Click here to Send Snakethesniper a Private Message Find more posts by Snakethesniper Add Snakethesniper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 00:05.    Post New Thread    Post A Reply
Pages (11): « 1 2 3 4 [5] 6 7 8 9 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.080 seconds (66.83% PHP - 33.17% MySQL) con 23 query.