ZioGeek Forum  

Torna Indietro   ZioGeek Forum > Tecnologia e Web > Software

Ultimi post su Ziogeek
Microsoft: Grosse Novità Per Xbox 360 All?E3
Intel: Haswell Migliorerà Del 50% La Durata Della Batteria
Microsoft Porterà Kinect Su Windows Nel 2014
Microsoft Presenta Nuovi Mouse Dedicati A Windows 8
Jolla: Il Primo Smartphone Con Sailfish OS
iPhone 5: Più Costoso Da Riparare
7 Motivi per Scegliere Internet Explorer 10 come Browser Aziendale
HTC One: 5 Milioni Venduti In Un Mese
Rispondi
 
LinkBack Strumenti Discussione Modalità Visualizzazione
Vecchio 14-04-09, 22:20   #1 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Thumbs up Drupal-SQLite: Drupal senza un database MySQL!

Sono lieto di presentarvi Drupal-SQLite, una versione da me modificata di Drupal 6 che permette a questo fantastico CMS di funzionare con un database SQLite.
E' quindi possibile realizzare velocemente un sito web dinamico ed economico, senza dover acquistare/configurare un database MySQL.

Per chi non conoscesse Drupal consiglio la lettura di questo articolo su html.it: [Only registered and activated users can see links. ]

Breve intro
----------------------------------
Nel 2006, quasi per gioco, creai un sito su altervista.org con l'intenzione di pubblicare le mie utility; la prima versione era molto semplice e - soprattutto - con pagine statiche.
Dopo qualche tempo mi accorsi che mi serviva un CMS per poter inserire velocemente nuovi contenuti.

Cercai quindi (siamo nel 2007) un CMS che fosse stabile, supportato, semplice da usare e che non richiedesse MySQL come database; Altervista infatti chiede una piccola somma per un database di questo tipo. Volevo avere un sito tanto facile da mantenere quanto esente da costi.

Drupal soddisfava tutte le richieste tranne quella del database; esistevano alcune patch per farlo funzionare con SQLite, ma nessuna per la versione 6 e, soprattutto, nessuna per i database SQLite versione 3.x (PHP con PDO).

Iniziai quindi a modificare Drupal 6.x per aggiungere il supporto a SQLite in modo il meno possibile invasivo; in questo modo alla mia versione sarebbe stato possibile applicare gli aggiornamenti ufficiali rilasciati dalla comunità Drupal.

La versione modificata Drupal-SQLite funziona sul mio sito dal Settembre 2008.
L'"obbligo morale" di renderlo pubblico mi ha portato a ripulire e commentare il codice, includere un profilo di installazione e rilasciare il tutto sul sito stesso.

Funzionamento
----------------------------------
Drupal-SQLite si presenta come una patch (ma anche un pacchetto completo) per Drupal 6.10 e successivi.
La patch è non-invasiva, nel senso che non modifica alcuno dei file "core" di Drupal (eccezion fatta per il file install.php usato - però - solo nella fase di prima installazione). Le modifiche riguardano file aggiuntivi.
Questo rende possibile l'aggiornamento a versioni successive del CMS.

Inoltre usa PDO come layer di accesso ai dati, permettendo quindi la creazione di performanti database SQLite 3.x.

Il nuovo Drupal 7 avrà SQLite come database ufficiale ma, oltre a dover attendere la fine del 2009 per avere una prima versione stabile, ci vorranno diversi altri mesi per far si che tutti i moduli si aggiornino alla 7 (attualmente esistono ancora moduli in beta per la 6...).

Con Drupal-SQLite il backup del sito si riduce di fatto ad uno zip (o tarball) di tutti i file; tra questi file è compreso anche il database.

Drupal-SQLite si trova qui: [Only registered and activated users can see links. ]

Attendo i vostri commenti...
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]

Ultima modifica di nicorac; 14-04-09 alle 22:44
nicorac è offline   Rispondi Citando
Vecchio 15-04-09, 08:50   #2 (permalink)
Senior Geek
 
Breakout Champion! Gandys Quest Champion! Mad Shark Champion! Plankton`s Revenge Pinball Champion!
Tournaments Won: 2

Data Registrazione: Nov 2008
Messaggi: 3.106
Thanks: 38
Thanked 59 Times in 44 Posts
Invia un messaggio via MSN a tuxmax
Thumbs up

Azz...i miei complimenti! Purtroppo non sono un utilizzatore di database quindi non posso darti una mia personale impressione, ma spero che gli iscritti al nostro forum possano apprezzare questo tuo lavoro (da sottolineare completamente free ).

Grazie ancora!
tuxmax è offline   Rispondi Citando
Vecchio 15-04-09, 10:09   #3 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Thumbs up

Citazione:
Originariamente inviato da tuxmax Visualizza Messaggio
...non sono un utilizzatore di database...
Perfetto, lo scopo è proprio quello .
Basta estrarre Drupal-SQLite nella cartella principale del proprio spazio WEB (con supporto a PHP5), seguire poche pagine di installazione e via, siamo pronti per inserire i contenuti del sito, che è la cosa che interessa di più.

Grazie per i complimenti
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
Vecchio 15-04-09, 10:31   #4 (permalink)
Senior Geek
 
Breakout Champion! Gandys Quest Champion! Mad Shark Champion! Plankton`s Revenge Pinball Champion!
Tournaments Won: 2

Data Registrazione: Nov 2008
Messaggi: 3.106
Thanks: 38
Thanked 59 Times in 44 Posts
Invia un messaggio via MSN a tuxmax
Thumbs up

Grazie per la mini guida...ne terrò sicuramente conto in caso mi servisse.

Ancora complimenti.
tuxmax è offline   Rispondi Citando
Vecchio 07-05-09, 22:46   #5 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Aggiornamento

Aggiornamento per Drupal-SQLite, versione 6.11-1.1.

Drupal-SQLite-6.11-1.1, 2009-05-05
  • Aggiornato alla versione ufficiale Drupal 6.11
  • Aumentata lunghezza del campo "database name" nel setup (che per Drupal-SQLite è il percorso del DB)
  • Spostato 'sqlite' come prima scelta in modo che sia preselezionato durante il setup.
  • Il profilo Drupal-SQLite controlla che siano soddisfatti i prerequisiti prima di procedere con l'installazione.
    vedi: [Only registered and activated users can see links. ]
  • Il file del database è ora, di default, in una cartella dedicata; questo perchè SQLite necessita dell'accesso RW sia al file del DB sia alla cartella che lo contiene.
    vedi: [Only registered and activated users can see links. ]
  • La procedura di installazione crea sia il database che la cartella cha lo contiene, testandone i permessi.
    vedi: [Only registered and activated users can see links. ]
  • Rimosse variabili non dichiarate in includes/database.sqlite.inc
    vedi: [Only registered and activated users can see links. ]
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
The Following User Says Thank You to nicorac For This Useful Post:
tuxmax (08-05-09)
Vecchio 08-05-09, 08:08   #6 (permalink)
Senior Geek
 
Breakout Champion! Gandys Quest Champion! Mad Shark Champion! Plankton`s Revenge Pinball Champion!
Tournaments Won: 2

Data Registrazione: Nov 2008
Messaggi: 3.106
Thanks: 38
Thanked 59 Times in 44 Posts
Invia un messaggio via MSN a tuxmax
Thumbs up

Grazie ancora nicorac per questo tuo continuo sviluppo di questa versione personalizzata di Drupal.
Avendo inserito nuove sezioni sul forum, ti ho spostato la discussione in quella credo più attinente.

Salutoni.

Ultima modifica di tuxmax; 08-05-09 alle 08:10
tuxmax è offline   Rispondi Citando
Vecchio 08-05-09, 09:44   #7 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito

Ricordo che l'uso è libero, ma c'è l'obbligo "morale" di mandarmi l'indirizzo dei siti fatti con Drupal-SQLite .

Siamo quasi a 100 download in un mese, che sono più di quanto mi aspettassi.
I commenti però sono arrivati solo dall'estero (vedi [Only registered and activated users can see links. ] di Drupal-SQLite) . Forza comunità italiana...

Adesso devo finire il tool Linux per la [Only registered and activated users can see links. ]!
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
Vecchio 10-05-09, 01:53   #8 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Nuova versione: 6.11-1.1.1

Drupal-SQLite-6.11-1.1.1, 2009-05-09

Questa versione è solo un repackage dell'archivio ZIP; nella versione precedente alcune cartelle erano mancanti.

Cartelle mancanti della versione 6.11-1.1:
  • /modules/color/images
  • /sites
  • /themes/garland/images
Chiedo scusa per l'inconveniente
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
Vecchio 19-05-09, 14:18   #9 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Nuova versione: 6.12-1.1

Aggiornamento per Drupal-SQLite, versione 6.12-1.1.

Drupal-SQLite-6.12-1.1, 2009-05-14
  • Aggiornato alla versione ufficiale Drupal 6.12
Drupal-SQLite è disponibile qui:
[Only registered and activated users can see links. ]

Ricordo che esiste l'obbligo morale di segnalarmi i vostri siti creati con Drupal-SQLite .
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
The Following User Says Thank You to nicorac For This Useful Post:
Wind (22-05-09)
Vecchio 17-07-09, 16:25   #10 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Aggiornamento Drupal-SQLite 6.13-1.2

E' disponibile la versione Drupal-SQLite 6.13-1.2.
  • allineamento alla versione originale Drupal 6.13
  • correzione bug ed ottimizzazione codice delle funzioni di gestione delle tabelle SQLite
  • supporto al modulo CCK (Content Construction Kit)
La patch (per Drupal 6.13) e l'archivio completo (.zip e .tar.gz) sono disponibili qui:
[Only registered and activated users can see links. ]

Inoltre ho pubblicato sul sito un tutorial passo-passo per l'installazione di un sito Drupal-SQLite su Altervista (grazie a Roberto Capuzzo).
[Only registered and activated users can see links. ]

Fatemi sapere le vostre opinioni...
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]

Ultima modifica di nicorac; 17-07-09 alle 16:28
nicorac è offline   Rispondi Citando
The Following User Says Thank You to nicorac For This Useful Post:
tuxmax (17-07-09)
Vecchio 17-07-09, 16:28   #11 (permalink)
Senior Geek
 
Breakout Champion! Gandys Quest Champion! Mad Shark Champion! Plankton`s Revenge Pinball Champion!
Tournaments Won: 2

Data Registrazione: Nov 2008
Messaggi: 3.106
Thanks: 38
Thanked 59 Times in 44 Posts
Invia un messaggio via MSN a tuxmax
Thumbs up

Ottima cosa il tutorial, grazie come sempre...
tuxmax è offline   Rispondi Citando
Vecchio 08-10-09, 18:19   #12 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Aggiornamento Drupal-SQLite 6.14-1.4

Drupal-SQLite-6.14-1.4, 2009-10-04
  • Allineato il codice a Drupal 6.14
  • Nuova feature per la riscrittura delle query: permette di modificare le query appena prima della loro esecuzione evitando di dover modificare i moduli (e anche il core).
  • Aggiunto il supporto alle funzioni Drupal "db_add_unique_key" e "db_remove_unique_key".
  • Workaround per SQLite che non torna i nomi di colonna corti (short_column_names) per le query con JOIN o GROUP BY.
  • Aggiunto il supporto alla funzione SQL STDDEV

Drupal-SQLite è disponibile qui (sia in versione completa che sotto forma di patch per Drupal):
[Only registered and activated users can see links. ]

Fatemi sapere i vostri commenti...
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
Vecchio 08-10-09, 19:21   #13 (permalink)
Senior Geek
 
Breakout Champion! Gandys Quest Champion! Mad Shark Champion! Plankton`s Revenge Pinball Champion!
Tournaments Won: 2

Data Registrazione: Nov 2008
Messaggi: 3.106
Thanks: 38
Thanked 59 Times in 44 Posts
Invia un messaggio via MSN a tuxmax
Thumbs up

Sempre all'opera eh?...
Grazie...
tuxmax è offline   Rispondi Citando
Vecchio 08-10-09, 21:25   #14 (permalink)
Senior Geek
 

Data Registrazione: Dec 2008
Località: Udine
Messaggi: 1.703
Thanks: 5
Thanked 10 Times in 9 Posts
Invia un messaggio tramite Skype™ a petrik1970
Predefinito

petrik1970 è offline   Rispondi Citando
Vecchio 12-03-10, 22:14   #15 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Aggiornamento Drupal-SQLite-6.16-1.5

E' disponibile un aggiornamento di sicurezza per Drupal-SQLite.

Tutte le installazioni di Drupal-SQLite devono aggiornarsi immediatamente alla versione 6.16-1.5.

Drupal-SQLite-6.16-1.5, 2010-03-05

  • Allineato codice a Drupal 6.16
    Questa release di Drupal riguarda vulnerabilità di sicurezza.
    Tutti i siti devono aggiornarsi a questa versione al più presto, dopo aver letto le note di rilascio ufficiali:
    [Only registered and activated users can see links. ]
  • Ottimizzata la riscrittura delle query aggiungendo degli shortcut-return dopo un successo.
  • Nuove riscritture di query per i moduli core cache e update (comandi SQL "TRUNCATE TABLE").
  • Errore durante il setup in install.php che non permetterav di salvare correttamente il valore dei campi "Site Name" e "Administrator username" (veniva sempre salvato il valore di default).
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
Vecchio 06-06-10, 23:11   #16 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Aggiornamento Drupal-SQLite-6.17-1.5

E' disponibile un aggiornamento per Drupal-SQLite.

Drupal-SQLite-6.17-1.5, 2010-06-03

  • Allineato codice a Drupal 6.17
    Questa release di Drupal NON riguarda vulnerabilità di sicurezza.
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
Vecchio 13-08-10, 00:27   #17 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Aggiornamento Drupal-SQLite-6.19-1.5

Drupal-SQLite-6.19-1.5, 2010-08-12
Aggiornato sorgenti a Drupal 6.19:
  • include i SECURITY FIXES di Drupal 6.18 ([Only registered and activated users can see links. ])
  • Include i bug fixes di Drupal 6.19 (see [Only registered and activated users can see links. ])
La nuova versione è disponibile qui: [Only registered and activated users can see links. ]

Drupal-SQLite è anche su SourceForge:
Project page: [Only registered and activated users can see links. ]
Source code: [Only registered and activated users can see links. ]
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
Vecchio 18-12-10, 01:11   #18 (permalink)
Moderator
 

Data Registrazione: Feb 2009
Messaggi: 311
Thanks: 20
Thanked 27 Times in 27 Posts
Predefinito Aggiornamento Drupal-SQLite-6.20-1.5

Rilasciato Drupal-SQLite-6.20-1.5

- Aggiornati sorgenti a Drupal 6.20 ([Only registered and activated users can see links. ])

La nuova versione è disponibile qui:
[Only registered and activated users can see links. ]

Drupal-SQLite è anche su SourceForge:
Project page: [Only registered and activated users can see links. ]
Source code: [Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]
__________________
Felice possessore di un [Only registered and activated users can see links. ] (aka [Only registered and activated users can see links. ]) e di un [Only registered and activated users can see links. ]
Il mio sito: [Only registered and activated users can see links. ]
(si parla di informatica, Linux, Windows, PHP, .NET, VisualStudio)
I miei progetti: [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], [Only registered and activated users can see links. ]
nicorac è offline   Rispondi Citando
Rispondi

Strumenti Discussione
Modalità Visualizzazione

Regole di Scrittura
Tu non puoi inviare nuove discussioni
Tu non puoi replicare
Tu non puoi inviare allegati
Tu non puoi modificare i tuoi messaggi

Il codice BB è Attivato
Le faccine sono Attivato
Il codice [IMG] è Attivato
Il codice HTML è Disattivato
Trackbacks are Attivato
Pingbacks are Attivato
Refbacks are Attivato



Tutti gli orari sono GMT +3. Adesso sono le 15:27.

Bottom

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management plugin by RedTyger

Disclaimer/Privacy