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 > [Progetto] "Blog" Thread Rating: 1 votes, 4.00 average.
Pages (33): « First ... « 3 4 5 6 [7] 8 9 10 11 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ti chiarisco le idee:
Secondo "1" gli articoli sono SEMPRE associati a una o più sezioni
Secondo "2" in generale i contenuti POSSONO essere associati a una o più sezioni
Se leggi prima "2" e poi "1" puoi capire che i contenuti in generale possono o meno essere associati a una o a più sezioni, ma se il contenuti è in particolare un contenuto di tipo "articolo" allora tale contenuto DEVE essere associato almeno a una sezione.
Più chiaro?

19-02-2007 12:01
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ornati
.primate.

User info:
Registered: Apr 2005
Posts: 78 (0.01 al dì)
Location:
Corso: Informatica
Anno: 3
Time Online: 21:49:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by zonker
Ti chiarisco le idee:
Secondo "1" gli articoli sono SEMPRE associati a una o più sezioni
Secondo "2" in generale i contenuti POSSONO essere associati a una o più sezioni
Se leggi prima "2" e poi "1" puoi capire che i contenuti in generale possono o meno essere associati a una o a più sezioni, ma se il contenuti è in particolare un contenuto di tipo "articolo" allora tale contenuto DEVE essere associato almeno a una sezione.
Più chiaro?


Questo ha senso, ma se è così le specifiche sono state scritte male. La parte "ogni contenuto può essere associato ad una o più sezioni" doveva essere esplicitata (come lo è quella per gli argomenti).

19-02-2007 12:26
Click Here to See the Profile for ornati Find more posts by ornati Add ornati to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Simeon
:D

User info:
Registered: Aug 2004
Posts: 984 (0.13 al dì)
Location: Milano
Corso: Informatica
Anno: IT IS OVER!
Time Online: 14 Days, 19:29:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ornati
Questo ha senso, ma se è così le specifiche sono state scritte male. La parte "ogni contenuto può essere associato ad una o più sezioni" doveva essere esplicitata (come lo è quella per gli argomenti).


In effetti anche io ho lo stesso dubbio e la cosa e' ambigua.

Volevo interpretarmela come se avessero sbagliato a scrivere, cioe' "una sezione e' una raccolta tematica di ARGOMENTI" (e non di contenuti).

Bah.

19-02-2007 13:01
Click Here to See the Profile for Simeon Click here to Send Simeon a Private Message Find more posts by Simeon Add Simeon to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma è esplicitata e non ambigua. Al limite si può dire che sono state messe le informazioni in ordine inverso.
E' come se io scrivessi:
1) i gatti hanno almeno una coda.
2) le code sono una appendice delgi animali.

Uomini e gatti sono animali, ma la cardinalità minima delle sottoclassi uomini e gatti nella relazione con code è differente.
Per i gatti è 1 e per gli uomini è 0.

19-02-2007 13:14
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Simeon
:D

User info:
Registered: Aug 2004
Posts: 984 (0.13 al dì)
Location: Milano
Corso: Informatica
Anno: IT IS OVER!
Time Online: 14 Days, 19:29:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Parliamo un po' di sequenze.

EDIT : niente, mi sono risposto da solo leggendo la documentazione, non riesco a cancellare il post per cui limitatevi ad ignorarlo.

Last edited by Simeon on 20-02-2007 at 00:04

19-02-2007 23:24
Click Here to See the Profile for Simeon Click here to Send Simeon a Private Message Find more posts by Simeon Add Simeon to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma voi come pensate di risolvere il fatto delle news riferite da altre news? cosa cercate per vedere se una news ha dei riferimenti? vi basate in base a cosa? al titolo?

21-02-2007 15:14
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Relazione molti a molti tra la tabella contenuti e la tabella contenuti (se stessa).

21-02-2007 15:16
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

puoi essere + chiaro, ci avevo pensato pure io a fare una relazione circolare (anche se non so implementarla nel db)

la mia idea era; se vedo la parola milan del titolo della news, mi metto a cercare le altre news che nel titolo hanno milan

voi la implementate in maniera differente, per esempio vi mettete a cercare nel testo della news o altro?

Last edited by Gehur on 21-02-2007 at 15:29

21-02-2007 15:19
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ok, ho capito il tuo dubbio.
La struttura in grado di offrire questa navigazione è semplicemente:
CONTENUTI(IDCONTENUTO, a,b,c,d,e,f,...)
NEWS2NEWS(IDCONTENUTO1,IDCONTENUTO2)
poi puoi con un trigger verificare che in questa tabella ci siano solo contenuti di tipo NEWS.
Il popolamento di questa tabella è ad opera dell'utente, non c'è una logica per cui le news si mettano in relazione tra di loro automaticamente.

21-02-2007 15:32
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

infatti, devo scrivere il codice adeguato

per quanto riguarda un utente bannato, si banna proprio l'utente oppure gli si banna il profilo, è una scelta implementativa?

ps: rileggendo, ad opera dell'utente indendi dire che nella tua implementazione gli utenti che scrivo una news decido subito anche le news correlate? io pensavo di farlo fare a una funzione

Last edited by Gehur on 21-02-2007 at 15:45

21-02-2007 15:40
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Un utente può essere disattivato, niente di più semplice di un atttributo boolano: attivo/disattivo.
Si, nella mia implementazione gli utenti con diritti su una news possono linkarne delle altre, niente di automatico è richiesto nelle specifiche.

21-02-2007 15:46
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

questa frase:

"i trigger sono usati anche per mantenere coerente l'informazione relativa alle statisctiche di accesso e inserimento di contenuti" ???

non ho capito bene sta storia dei trigger per l'inserimento dei contenuti, cosa vuol dire?


Last edited by Gehur on 21-02-2007 at 16:05

21-02-2007 15:54
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Quando dico che nelle specifiche non c'è scritto che l'applicazione deve creare automaticamente il collegamento tra le news intendo che non c'è scritto che l'applicazione debba farlo ma solo che le news possono essere legate tra di loro, quindi niente automatismo ma utenti che le legano a proprio piacimento (il che non significa che sia sbagliato se lo fa l'applicazione da sola, solo che non è richiesto che lo faccia).
Il pezzo che hai riportato tu si riferisce al fatto che tramite trigger quando inserisci un contenuto vai ad aggiornare le statistiche relative al numero di contenuti per tipo presenti nella base dati.
Per quanto riguarda invece le statistiche di accesso non puoi usare un trigger in quanto non esistono trigged ON SELECT, ma se guardi nei messaggi precedenti troverai una mia soluzione in merito.

21-02-2007 16:01
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gehur
.grande:maestro.

User info:
Registered: Apr 2006
Posts: 519 (0.07 al dì)
Location: Milano
Corso: Informatica
Anno:
Time Online: 3 Days, 0:41:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ok grazie per ora

21-02-2007 16:06
Click Here to See the Profile for Gehur Click here to Send Gehur a Private Message Find more posts by Gehur Add Gehur to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

e di che...

21-02-2007 16:12
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 11:02.    Post New Thread    Post A Reply
Pages (33): « First ... « 3 4 5 6 [7] 8 9 10 11 » ... 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.229 seconds (35.83% PHP - 64.17% MySQL) con 23 query.