prestashop e big data base
TRANSCRIPT
![Page 1: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/1.jpg)
big data basedb management
![Page 2: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/2.jpg)
importazione, esportazione, migrazione
importazione: da un sistema esterno a PrestaShop sia come caricamento dati sia come integrazione del sistema esterno
esportazione: da PrestaShop a X
migrazione: sistema PrestaShop su nuovo server o su nuova versione (hmm!)
![Page 3: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/3.jpg)
importazione
![Page 4: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/4.jpg)
importazione
anagrafiche prodotti, combinazioni
![Page 5: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/5.jpg)
lo stack comune
![Page 6: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/6.jpg)
le configurazioni hosting e web server sono limitate per una importazione foreground
![Page 7: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/7.jpg)
unica strategia: il background
![Page 8: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/8.jpg)
metodi di importazione
per ogni dato esterno, prodotto e combinazioni legate, da importare devo mappare i campi e trasformare i valori
l’importazione può avvenire con:
● file csv● api● direct db
![Page 9: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/9.jpg)
file csv
l’importazione standard csv on line si blocca ma è possibile avviarla grazie all’estensione della classe AdminImportController
class AdminImporter extends \AdminImportController{ ….. }
![Page 11: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/11.jpg)
API
anche i webservices di PrestaShop possono essere usati, è sufficiente utilizzare uno script che richiami per ogni prodotto il webservice
![Page 12: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/12.jpg)
direct db
!
![Page 13: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/13.jpg)
esportazione
![Page 14: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/14.jpg)
esportazione
anagrafiche prodotti, combinazioni, clienti, ordini etc
![Page 15: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/15.jpg)
l’esportazione richiede che sia studiato il formato di esportazione, xml csv json o altro, e che siano effettuati i mappings e la trasformazione dei valori
esecuzione in background
sola lettura
modulo di esportazione
![Page 16: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/16.jpg)
migrazione
![Page 17: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/17.jpg)
fino alla 1.6.x
solo ed esclusivamente
1 CLICK UPGRADE
![Page 18: PrestaShop e Big data base](https://reader033.vdocuments.pub/reader033/viewer/2022052418/5880402a1a28abfd0a8b5ebd/html5/thumbnails/18.jpg)
dalla 1.7
siamo in attesa