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 ... « 17 18 19 20 [21] 22 23 24 25 » ... 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

Devi presentare sia lo schema concettuale che lo schema concettuale ristrutturato, non solo il secondo

06-04-2007 16:18
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

Originally posted by zonker
Devi presentare sia lo schema concettuale che lo schema concettuale ristrutturato, non solo il secondo


Ecco, altra cosa che se non la leggevo qua non avrei mai immaginato.

Grazie mille.

E sul manuale utente cosa mi sapete dire? "Manuale utente, comprendente le istruzioni d’uso e le note tecniche relative all’installazione
dell’applicazione e alla dotazione software necessaria per il corretto funzionamento"

Dovro' mica dirgli come installare apache, php e postgresql ?

Last edited by Simeon on 06-04-2007 at 16:44

06-04-2007 16:42
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

qualcuno che ha usato le sesioni in php mi puo dire come ha effettuato il logout?

07-04-2007 09:56
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
elcuchu
.amico.

User info:
Registered: Apr 2007
Posts: 33 (0.00 al dì)
Location: Milano
Corso:
Anno:
Time Online: 5:41:55 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao a tutti ho bisogno del vostro aiuto, devo visualizzare solo gli articoli fatti da un certo user, non riesco a scivere una select adatta. Premesso ho una tabella articoli e una tabella user collegate tra loro da una tabella chiamata autore_articolo che contiene la chiave primaria di utente e la chiave primaria di articolo.


grazie mille a tutti

07-04-2007 10:54
Click Here to See the Profile for elcuchu Click here to Send elcuchu a Private Message Find more posts by elcuchu Add elcuchu 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

Per il manuale installazione io alle voci IIS e Postgres ho messo un generico "riferirsi alla knowledge Microsoft www.microsoft.com e Postgres www.postgres.org) ovviamente poi ho scritto come configurare il server web (percorsi e autorizzazioni) e il database del blog.
per la select ammesso che tu abbia tabelle
contenuti(idcontenuto, ...,....,...)
utenti(idutente,...,...,...)
autore_articolo(idcontenuto, idutente)
per estrarre i contenuti di un solo utente non devi fare altro che
SELECT a.* FROM CONTENUTI a INNER JOIN AUTORE_ARTICOLO b ON a.idcontenuto = b.idcontenuto WHERE b.idutente = 15;
ammesso che tu voglia estrarre i contenuti di cui l'utente con idutente 15 sia l'autore.

07-04-2007 11:15
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

Grazie ancora per l'aiuto zonker.

Tiro fuori spero l'ultimo dubbio (stavolta davvero), e spero di farmi capire perche non so come scriverlo.

Nel passaggio dallo schema ER generico a quello ristrutturato c'e' qualcosa che non mi torna.

Io accorpo le due sottoentità "UTENTE GENERICO" e "UTENTE AMMINISTRATORE" in un'unica entita' "UTENTE", introducendo un campo per distinguerli. Fin qui tutto ok.

Non mi e' chiaro pero' come gestire la traduzione delle sottoentita' "ARTICOLO", "NEWS" e "FOTO" nell'entita' generica "CONTENUTO". Il mio cruccio sta nel fatto che accorpando le tre sottoentita' in un'entita' generica io NON abbia bisogno di mettere un campo per distinguerli, perche' l'entita' generica CONTENUTO e' in relazione con l'entita' TIPOLOGIA.

Ma se l'entità CONTENUTO e' in relazione con l'entita' TIPOLOGIA, nello schema non ristrutturato dovrei fare tre relazioni separate ARTICOLO-TIPOLOGIA, FOTO-TIPOLOGIA e NEWS-TIPOLOGIA. Mi sembra una cosa ridondante... cioe', non sarebbe sbagliata, perche' l'entita' tipologia serve per memorizzare le statistiche relative ad essa, pero' non mi torna.

Avere tutti gli articoli con il campo "tiplogia" uguale ad "articolo" ad esempio... boh e' strano. Insomma, non so come rappresentare sta cosa nello schema non ristrutturato (in quello ristrutturato e' tutto ok, contenuto in relazione con tipologia e bon).

07-04-2007 12:28
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 se l'entità CONTENUTO e' in relazione con l'entita' TIPOLOGIA, nello schema non ristrutturato dovrei fare tre relazioni separate ARTICOLO-TIPOLOGIA, FOTO-TIPOLOGIA e NEWS-TIPOLOGIA."
Perchè? Se tutte le specializzazioni hanno questa relazione e tutte con la stessa cardinalità minima e massima allora la relazione la fai con l'entità contenuto di cui articolo, foto e news sono le specializzazioni ed in quanto tale la ereditano.

07-04-2007 17:23
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

Post inutile ed ingombrante.

Last edited by Simeon on 07-04-2007 at 21:47

07-04-2007 20:05
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
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

Tu intendi mettere l'entita' generica CONTENUTO in relazione con TIPOLOGIA... direttamente nello schema non ristrutturato? In effetti mi ero dimenticato, per qualche ragione pensavo che nelle gerarchie potessero avere relazioni solo le sottoentita'.

Conferma se ho capito giusto, per favore :)

Last edited by Simeon on 07-04-2007 at 21:48

07-04-2007 21:27
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
bledar
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 256 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 6 Days, 3:07:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Se tutte le specializzazioni hanno questa relazione e tutte con la stessa cardinalità minima e massima allora la relazione la fai con l'entità contenuto di cui articolo, foto e news sono le specializzazioni ed in quanto tale la ereditano.


si si si hapi capito giusto secondo me

08-04-2007 00:02
Click Here to See the Profile for bledar Click here to Send bledar a Private Message Find more posts by bledar Add bledar 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

Confermo Simeon.
A quale post ti riferisci come inutile e ingombrante???

08-04-2007 11:35
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

Originally posted by zonker
Confermo Simeon.
A quale post ti riferisci come inutile e ingombrante???


Al mio. Avevo scritto un papiro perche' non avevo capito la tua spiegazione, poi l'ho editato :asd:

08-04-2007 12:50
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
bledar
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 256 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 6 Days, 3:07:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

chiedo a voi che avete inserito i contenuti direttamente nel db , cosa usate per la visualizazzione dei contenuti nel browser , io uttilizzo una funzione php che si chiama pg_lo_readall , se la uso per visualizzare un contenuto alla volta funzione corretamente ma se la uso dentro un for o un foreach non funzione mi manda nel browser una serie di caratteri incmprensibili

08-04-2007 14:20
Click Here to See the Profile for bledar Click here to Send bledar a Private Message Find more posts by bledar Add bledar 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

Io, che però non uso PHP, eseguo una SELECT lo_export(campo,percorso) per mettere sul filesystem del server l'oggetto da visualizzare e poi ovviamente a livello html lo inserisco come se fosse sempre stato lì.
In questo modo devi fare attenzione al nome dei file che crei (puoi usare il valore dell'oid che è sempre diverso per definizione) e a cancellare il file "temporaneo" dal filesystem del server quando non ti serve più o a intervalli regolari (garbage collection).

08-04-2007 16:42
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

Originally posted by zonker
Io, che però non uso PHP, eseguo una SELECT lo_export(campo,percorso) per mettere sul filesystem del server l'oggetto da visualizzare e poi ovviamente a livello html lo inserisco come se fosse sempre stato lì.
In questo modo devi fare attenzione al nome dei file che crei (puoi usare il valore dell'oid che è sempre diverso per definizione) e a cancellare il file "temporaneo" dal filesystem del server quando non ti serve più o a intervalli regolari (garbage collection).


Idem, pero' non ho pensato al nome del file che crei... Per i file in /temp invece me ne sono fregato :asd:, ci vorrebbe uno script che cancelli il contenuto ogni tot ore.

08-04-2007 21:07
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
All times are GMT. The time now is 12:38.    Post New Thread    Post A Reply
Pages (33): « First ... « 17 18 19 20 [21] 22 23 24 25 » ... 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.217 seconds (57.97% PHP - 42.03% MySQL) con 24 query.