SlideShare a Scribd company logo
1 of 33
Download to read offline
TYPO3 CMS 8.1 - Le novità
Riassunto delle funzionalità, modi che e aggiornamenti
Creato da:
Patrick Lobacher and Michael Schams
Traduzione italiana di:
Roberto Torresani (roberto.torresani (at) typo3.org)
24/May/2016
Creative Commons BY-NC-SA 3.0
TYPO3 CMS 8.1 - Le novità
Indice delle sezioni
Introduzione
Interfaccia utente Backend
TSconfig & TypoScript
In-Depth Changes
Deprecated/Removed Functions
Sources and Authors
TYPO3 CMS 8.1 - Le novità
Introduzione
Introduzione
I fatti in breve
TYPO3 CMS 8.1 - Le novità
Introduzione
TYPO3 CMS 8.1 - I fatti in breve
Data di rilascio: 3 Maggio 2016
Tipo di rilascio: Sprint Release
Slogan: Tightening the screws
TYPO3 CMS 8.1 - Le novità
Introduzione
Requisiti di sistema
PHP: versione 7
MySQL: versione da 5.5 a 5.7
Spazio disco: min 200 MB
Impostazioni PHP:
memory_limit >= 128M
max_execution_time >= 240s
max_input_vars >= 1500
l'opzione di compilazione --disable-ipv6 non deve essere usata
Il Backend richiede Microsoft Internet Explorer 11 o superiore,
Microsoft Edge, Google Chrome, Firefox, Safari o altro browser recente
e compatibile
TYPO3 CMS 8.1 - Le novità
Introduzione
Sviluppo e tempi di rilascio
TYPO3 CMS 8.1 - Le novità
Introduzione
TYPO3 CMS Roadmap
Date di rilascio stimate e loro obiettivo principale:
v8.0 22/Mar/2016 Aggiunta di parti dell'ultimo momento
v8.1 03/Mag/2016 Integrazione cloud
v8.2 05/Lug/2016 Rich Text Editor
v8.3 30/Ago/2016 Miglioramento dell'Editing da Frontend
v8.4 18/Ott/2016 da determinare
v8.5 20/Dic/2016 Supporto Integrazione
v8.6 14/Feb/2017 da determinare
v8.7 04/Apr/2017 Preparazione LTS
https://typo3.org/typo3-cms/roadmap/
https://typo3.org/news/article/kicking-off-typo3-v8-development/
TYPO3 CMS 8.1 - Le novità
Introduzione
Installazione
Procedura uf ciale di installazione su Linux/Mac OS X
(Directory Root ad esempio /var/www/site/htdocs):
$ cd /var/www/site
$ wget --content-disposition get.typo3.org/8.0
$ tar xzf typo3_src-8.0.0.tar.gz
$ cd htdocs
$ ln -s ../typo3_src-8.0.0 typo3_src
$ ln -s typo3_src/index.php
$ ln -s typo3_src/typo3
$ touch FIRST_INSTALL
Link simbolici in Microsoft Windows:
Usa junction in Windows XP/2000
Usa mklink in Windows Vista e Windows 7
TYPO3 CMS 8.1 - Le novità
Introduzione
Aggiornamento a TYPO3 CMS 8.x
Aggiornamenti possibili solo da TYPO3 CMS 7.6 LTS
TYPO3 CMS < 7.6 LTS deve essere prima aggiornato a TYPO3 CMS 7.6 LTS
Istruzioni per l'aggiornamento:
http://wiki.typo3.org/Upgrade#Upgrading_to_8.0
Guida uf ciale TYPO3 "TYPO3 Installation and Upgrading":
http://docs.typo3.org/typo3cms/InstallationGuide
Approcio generale:
Veri ca i requisiti minimi di sistema (PHP, MySQL, etc.)
Veri ca deprecation_*.log nella vecchia istanza TYPO3
Aggiorna tutte le estensioni all'ultima versione
Imposta il nuovo sorgente ed esegui Install Tool -> Upgrade Wizard
Veri ca il modulo di startup per gli utenti di backend (opzionale)
TYPO3 CMS 8.1 - Le novità
Introduzione
PHP Version 7
PHP 7.0 è un requisito minimo per TYPO3 CMS 8.x
TYPO3 supporterà i successivi rilasci di PHP 7 mano a mano che
saranno pubblicati
Questa versione fornisce un signi cativo incremento delle prestazioni
del sistema
Non solo gli editori di backend noteranno un interfaccia più veloce, ma
il tempo di caricamento di un intera pagina di frontend in cache è
inferiore a 7 millisecondi, che è circa il 40% più veloce paragonandolo
allo stesso sito web con PHP versione 5.5
Si sono iniziate ad utilizzare anche le nuove funzioni di questa versione
di PHP, per esempio i generatori crittogra ci pseudo-casuali sono già
in uso.
TYPO3 CMS 8.1 - Le novità
Interfaccia utente Backend
Capitolo 1:
Interfaccia utente Backend
TYPO3 CMS 8.1 - Le novità
Interfaccia utente Backend
Wizard inline per Backend Layout
Un nuovo tipo di visualizzazione è stato aggiunto per il wizard del backend
layout con il FormEngine in modalità inline (in TCA: ’renderType’ =>
’belayoutwizard’).
TYPO3 CMS 8.1 - Le novità
Interfaccia utente Backend
Sempli cazione cancellazione Cache
Il sistema di cancellazione della cache è stato sempli cato rimuovendo le
opzioni nel menu cache clear e nell'Install Tool.
Cancellazione della cache di frontend:
Cancellazione della cache di frontend e delle pagine relative, come prima.
Cancellazione di tutte le cache:
Cancellazione di tutte le cache di sistema, incluse le classi di caricamento, le
traduzioni, le di con gurazione delle estensioni e opcode cache. La
ricostruzione di queste cache può impiegare un po' di tempo.
TYPO3 CMS 8.1 - Le novità
Interfaccia utente Backend
Rielaborazione Workspaces (1)
Il modulo di workspace per gestire i contenuti èstato riscritto e
integrato molto meglio per quanto riguarda l'aspetto visivo nel
backend
Gli editori si renderanno conto immediatamente, si inserisce nel look
generale basandosi su Twitter Bootstrap e jQuery
Questo cambiamento porta anche un incremento delle prestazioni ed è
un enorme passo avanti per un backend di TYPO3 più pulito e veloce
con meno javascript.
TYPO3 CMS 8.1 - Le novità
Interfaccia utente Backend
Rielaborazione Workspaces (2)
Immagine del modulo di workspace:
TYPO3 CMS 8.1 - Le novità
TScon g & TypoScript
Chapter 2:
TScon g & TypoScript
TYPO3 CMS 8.1 - Le novità
TScon g & TypoScript
Allow Asterisk for hideTables
It is now possible to hide all tables in the list view via PageTS-Con g
In case integrators want to show a speci c table only, they can hide all
tables and unhide only the speci c one:
mod.web_list {
hideTables = *
table.tx_cal_event.hideTable = 0
}
TYPO3 CMS 8.1 - Le novità
TScon g & TypoScript
Multiple Locale Names for TypoScript config.locale_all
TypoScript option config.locale_all now allows to set locale
fallbacks as a comma-separated list, as the underlying PHP function
setlocale() does as well:
config.locale_all = de_AT@euro, de_AT, de_DE, deu_deu
See http://php.net/setlocale
TYPO3 CMS 8.1 - Le novità
In-Depth Changes
Chapter 3:
In-Depth Changes
TYPO3 CMS 8.1 - Le novità
In-Depth Changes
PHP Library "Doctrine DBAL" (1)
The PHP library "Doctrine DBAL" has been added via composer
dependency to work as a powerful database abstraction layer with
many features for database abstraction, schema introspection and
schema management within TYPO3 CMS
A TYPO3-speci c PHP class called
TYPO3CMSCoreDatabaseConnectionPool
has been added as a manager for database connections
All connections con gured under
$GLOBALS[’TYPO3_CONF_VARS’][’DB’][’Connections’]
are accessible using this manager, enabling the parallel usage of
multiple database systems
TYPO3 CMS 8.1 - Le novità
In-Depth Changes
PHP Library "Doctrine DBAL" (2)
By using the database abstraction options and the QueryBuilder
provided SQL statements being built will be properly quoted and
compatible with different DBMS out of the box as far as possible
Existing $GLOBALS[’TYPO3_CONF_VARS’][’DB’] options have been
removed and/or migrated to the new Doctrine-compliant options
The Connection class provides convenience methods for insert,
select, update, delete and truncate statements
For select, update an delete only simple equality comparisons
(like WHERE "aField" = ’aValue’) are supported. For complex
statements it is required to use the QueryBuilder.
TYPO3 CMS 8.1 - Le novità
In-Depth Changes
PHP Library "Doctrine DBAL" (3)
The ConnectionPool class can be used like this:
// Get a connection which can be used for muliple operations
/** @var TYPO3CMSCoreDatabaseConnecction $conn */
$conn = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable(’aTable’);
$affectedRows = $conn->insert(
’aTable’,
$fields, // Associative array of column/value pairs, automatically quoted & escaped
);
// Get a QueryBuilder, which should only be used a single time
$query = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable(’aTable);
$query->select(’*’)
->from(’aTable)
->where($query->expr()->eq(’aField’, $query->createNamedParameter($aValue)))
->andWhere(
$query->expr()->lte(
’anotherField’,
$query->createNamedParameter($anotherValue)
)
)
$rows = $query->execute()->fetchAll();
TYPO3 CMS 8.1 - Le novità
In-Depth Changes
Enhance SQL query reduction in page tree in workspaces
The process of determining whether a page has workspace versions
can be extended by custom application code utilizing hooks
This way, the meaning of having versions can be further modi ed by
hooks
For instance the default behavior of the TYPO3 core is to create a
workspace version record on persisting the same record in the backend
- without any actual changes to the data model
$GLOBALS[’TYPO3_CONF_VARS’][’SC_OPTIONS’]...
...[’TYPO3CMSWorkspacesServiceWorkspaceService’][’hasPageRecordVersions’];
$GLOBALS[’TYPO3_CONF_VARS’][’SC_OPTIONS’]...
...[’TYPO3CMSWorkspacesServiceWorkspaceService’][’fetchPagesWithVersionsInTable’]
TYPO3 CMS 8.1 - Le novità
In-Depth Changes
PHP Library "Guzzle" (1)
The PHP library "Guzzle" has been added via composer dependency to
work as a feature rich solution for creating HTTP requests based on the
PSR-7 interfaces already used within TYPO3
Guzzle auto-detects available underlying adapters available on the
system, like cURL or stream wrappers and chooses the best solution for
the system
A TYPO3-speci c PHP class called
TYPO3CMSCoreHttpRequestFactory
has been added as a simpli ed wrapper to access Guzzle clients
TYPO3 CMS 8.1 - Le novità
In-Depth Changes
PHP Library "Guzzle" (2)
The RequestFactory class can be used like this:
// Initiate RequestFactory
/** @var TYPO3CMSCoreHttpRequestFactory $requestFactory */
$requestFactory = GeneralUtility::makeInstance(
TYPO3CMSCoreHttpRequestFactoryRequestFactory::class);
$uri = $additionalOptions = [
// additional headers for this specific request
’headers’ => [’Cache-Control’ => ’no-cache’],
’allow_redirects’ => false,
’cookies’ => true
];
// return a PSR-7 compliant response object
$response = $requestFactory->request($url, ’GET’, $additionalOptions);
// get the content as a string on a successful request
if ($response->getStatusCode() === 200) {
if ($response->getHeader(’Content-Type’) === ’text/html’) {
$content = $response->getBody()->getContents();
}
}
TYPO3 CMS 8.1 - Le novità
Deprecated/Removed Functions
Chapter 4:
Deprecated/Removed Functions
TYPO3 CMS 8.1 - Le novità
Deprecated/Removed Functions
Http-related options and HttpRequest class removed (1)
The following PHP classes have been removed:
TYPO3CMSCoreHttpHttpRequest
TYPO3CMSCoreHttpObserverDownload
The following options have been renamed:
old: $TYPO3_CONF_VARS[HTTP][userAgent]
new: $TYPO3_CONF_VARS[HTTP][headers][User-Agent]
old: $TYPO3_CONF_VARS[HTTP][protocol_version]
new: $TYPO3_CONF_VARS[HTTP][version]
TYPO3 CMS 8.1 - Le novità
Deprecated/Removed Functions
Http-related options and HttpRequest class removed (2)
All proxy-related options are uni ed within
$TYPO3_CONF_VARS[HTTP][proxy]
All redirect-related options (HTTP/follow_redirects,
HTTP/max_redirects, HTTP/strict_redirects) are uni ed within
$TYPO3_CONF_VARS[HTTP][allow_redirects]
All options related to SSL private keys (HTTP/ssl_local_cert,
HTTP/ssl_passphrase) are merged into
$TYPO3_CONF_VARS[HTTP][ssl_key]
All options related to verify SSL peers are merged into
$TYPO3_CONF_VARS[HTTP][verify]
TYPO3 CMS 8.1 - Le novità
Deprecated/Removed Functions
Http-related options and HttpRequest class removed (3)
The following con guration options have been removed:
$TYPO3_CONF_VARS[SYS][curlProxyNTLM]
$TYPO3_CONF_VARS[SYS][curlProxyServer]
$TYPO3_CONF_VARS[SYS][curlProxyTunnel]
$TYPO3_CONF_VARS[SYS][curlProxyUserPass]
$TYPO3_CONF_VARS[SYS][curlTimeout]
$TYPO3_CONF_VARS[HTTP][adapter]
$TYPO3_CONF_VARS[HTTP][protocol_version]
$TYPO3_CONF_VARS[HTTP][follow_redirects]
$TYPO3_CONF_VARS[HTTP][max_redirects]
$TYPO3_CONF_VARS[HTTP][strict_redirects]
$TYPO3_CONF_VARS[HTTP][proxy_host]
$TYPO3_CONF_VARS[HTTP][proxy_port]
$TYPO3_CONF_VARS[HTTP][proxy_user]
$TYPO3_CONF_VARS[HTTP][proxy_password]
$TYPO3_CONF_VARS[HTTP][proxy_auth_scheme]
TYPO3 CMS 8.1 - Le novità
Deprecated/Removed Functions
Http-related options and HttpRequest class removed (4)
The following con guration options have been removed:
$TYPO3_CONF_VARS[HTTP][ssl_verify_peer]
$TYPO3_CONF_VARS[HTTP][ssl_verify_host]
$TYPO3_CONF_VARS[HTTP][ssl_cafile]
$TYPO3_CONF_VARS[HTTP][ssl_capath]
$TYPO3_CONF_VARS[HTTP][ssl_local_cert]
$TYPO3_CONF_VARS[HTTP][ssl_passphrase]
$TYPO3_CONF_VARS[HTTP][userAgent]
TYPO3 CMS 8.1 - Le novità
Sources and Authors
Chapter 5:
Sources and Authors
TYPO3 CMS 8.1 - Le novità
Sources and Authors
Sources
TYPO3 News:
http://typo3.org/news
Release Infos:
http://wiki.typo3.org/TYPO3_CMS_8.1.0
INSTALL.md and ChangeLog
typo3/sysext/core/Documentation/Changelog/8.1/*
TYPO3 Bug-/Issuetracker:
https://forge.typo3.org/projects/typo3cms-core
TYPO3 and Fluid Git Repositories:
https://git.typo3.org/Packages/TYPO3.CMS.git
https://github.com/TYPO3Fluid/Fluid
TYPO3 CMS 8.1 - Le novità
Sources and Authors
TYPO3 CMS What's New Team:
Andrey Aksenov, Pierrick Caillon, Sergio Catala, Jigal van Hemert,
Patrick Lobacher, Michel Mix, Sinisa Mitrovic, Angeliki Plati,
Nena Jelena Radovic, Michael Schams and Roberto Torresani
http://typo3.org/download/release-notes/whats-new
Licensed under Creative Commons BY-NC-SA 3.0
TYPO3 CMS 8.1 - Le novità

More Related Content

What's hot

TYPO3 Versione 10.1 - Le novita
TYPO3 Versione 10.1 - Le novitaTYPO3 Versione 10.1 - Le novita
TYPO3 Versione 10.1 - Le novitaRoberto Torresani
 
TYPO3 CMS 8.2 e TYPO3 CMS 8.3 - Le novità
TYPO3 CMS 8.2 e TYPO3 CMS 8.3 - Le novitàTYPO3 CMS 8.2 e TYPO3 CMS 8.3 - Le novità
TYPO3 CMS 8.2 e TYPO3 CMS 8.3 - Le novitàRoberto Torresani
 
High Performance Web Apps con PHP e Symfony 2
High Performance Web Apps con PHP  e Symfony 2High Performance Web Apps con PHP  e Symfony 2
High Performance Web Apps con PHP e Symfony 2Giorgio Cefaro
 
TYPO3 Versione 10.3 - Le novita
TYPO3 Versione 10.3 - Le novitaTYPO3 Versione 10.3 - Le novita
TYPO3 Versione 10.3 - Le novitaRoberto Torresani
 
Come portare il profiler di symfony2 in drupal8
Come portare il profiler di symfony2 in drupal8Come portare il profiler di symfony2 in drupal8
Come portare il profiler di symfony2 in drupal8Luca Lusso
 
Netbeans e Xdebug per debugging e profiling di applicazioni PHP
Netbeans e Xdebug per debugging e profiling di applicazioni PHPNetbeans e Xdebug per debugging e profiling di applicazioni PHP
Netbeans e Xdebug per debugging e profiling di applicazioni PHPGiorgio Cefaro
 
Pacchi e pacchetti
Pacchi e pacchettiPacchi e pacchetti
Pacchi e pacchettigiallu
 
Sviluppo Code-driven e riusabilità del codice: CMI e Features per D8
Sviluppo Code-driven e riusabilità del codice: CMI e Features per D8Sviluppo Code-driven e riusabilità del codice: CMI e Features per D8
Sviluppo Code-driven e riusabilità del codice: CMI e Features per D8bmeme
 
Drupal - per chi vuole iniziare
Drupal - per chi vuole iniziareDrupal - per chi vuole iniziare
Drupal - per chi vuole iniziareSalvatore Paone
 
Sviluppare un plugin WordPress da zero - WordCamp Bologna 2018
Sviluppare un plugin WordPress da zero - WordCamp Bologna 2018Sviluppare un plugin WordPress da zero - WordCamp Bologna 2018
Sviluppare un plugin WordPress da zero - WordCamp Bologna 2018Marco Chiesi
 
KDE Plasma widgets
KDE Plasma widgetsKDE Plasma widgets
KDE Plasma widgetsPietro Lerro
 
Installazione ambientepython ubuntumate
Installazione ambientepython ubuntumateInstallazione ambientepython ubuntumate
Installazione ambientepython ubuntumateMarco Buttolo
 
Post gresql su_raspberry
Post gresql su_raspberryPost gresql su_raspberry
Post gresql su_raspberryMarco Buttolo
 

What's hot (20)

TYPO3 CMS 8.0 - Le novità
TYPO3 CMS 8.0 - Le novitàTYPO3 CMS 8.0 - Le novità
TYPO3 CMS 8.0 - Le novità
 
TYPO3 CMS 7.1 - Le novita
TYPO3 CMS 7.1 - Le novitaTYPO3 CMS 7.1 - Le novita
TYPO3 CMS 7.1 - Le novita
 
TYPO3 CMS 8.6 - Le novità
TYPO3 CMS 8.6 - Le novitàTYPO3 CMS 8.6 - Le novità
TYPO3 CMS 8.6 - Le novità
 
TYPO3 Versione 10.1 - Le novita
TYPO3 Versione 10.1 - Le novitaTYPO3 Versione 10.1 - Le novita
TYPO3 Versione 10.1 - Le novita
 
TYPO3 CMS 8.2 e TYPO3 CMS 8.3 - Le novità
TYPO3 CMS 8.2 e TYPO3 CMS 8.3 - Le novitàTYPO3 CMS 8.2 e TYPO3 CMS 8.3 - Le novità
TYPO3 CMS 8.2 e TYPO3 CMS 8.3 - Le novità
 
High Performance Web Apps con PHP e Symfony 2
High Performance Web Apps con PHP  e Symfony 2High Performance Web Apps con PHP  e Symfony 2
High Performance Web Apps con PHP e Symfony 2
 
TYPO3 Versione 10.3 - Le novita
TYPO3 Versione 10.3 - Le novitaTYPO3 Versione 10.3 - Le novita
TYPO3 Versione 10.3 - Le novita
 
Come portare il profiler di symfony2 in drupal8
Come portare il profiler di symfony2 in drupal8Come portare il profiler di symfony2 in drupal8
Come portare il profiler di symfony2 in drupal8
 
Java lezione 14
Java lezione 14Java lezione 14
Java lezione 14
 
Java lezione 15
Java lezione 15Java lezione 15
Java lezione 15
 
TYPO3 CMS 7.3 - le novita
TYPO3 CMS 7.3 - le novitaTYPO3 CMS 7.3 - le novita
TYPO3 CMS 7.3 - le novita
 
Netbeans e Xdebug per debugging e profiling di applicazioni PHP
Netbeans e Xdebug per debugging e profiling di applicazioni PHPNetbeans e Xdebug per debugging e profiling di applicazioni PHP
Netbeans e Xdebug per debugging e profiling di applicazioni PHP
 
Pacchi e pacchetti
Pacchi e pacchettiPacchi e pacchetti
Pacchi e pacchetti
 
Sviluppo Code-driven e riusabilità del codice: CMI e Features per D8
Sviluppo Code-driven e riusabilità del codice: CMI e Features per D8Sviluppo Code-driven e riusabilità del codice: CMI e Features per D8
Sviluppo Code-driven e riusabilità del codice: CMI e Features per D8
 
Drupal - per chi vuole iniziare
Drupal - per chi vuole iniziareDrupal - per chi vuole iniziare
Drupal - per chi vuole iniziare
 
Sviluppare un plugin WordPress da zero - WordCamp Bologna 2018
Sviluppare un plugin WordPress da zero - WordCamp Bologna 2018Sviluppare un plugin WordPress da zero - WordCamp Bologna 2018
Sviluppare un plugin WordPress da zero - WordCamp Bologna 2018
 
KDE Plasma widgets
KDE Plasma widgetsKDE Plasma widgets
KDE Plasma widgets
 
Installazione ambientepython ubuntumate
Installazione ambientepython ubuntumateInstallazione ambientepython ubuntumate
Installazione ambientepython ubuntumate
 
Post gresql su_raspberry
Post gresql su_raspberryPost gresql su_raspberry
Post gresql su_raspberry
 
Socket python
Socket pythonSocket python
Socket python
 

Viewers also liked

Viewers also liked (6)

Team organitationbuildingnikesocial
Team organitationbuildingnikesocialTeam organitationbuildingnikesocial
Team organitationbuildingnikesocial
 
Corso di Versioning, Configuration & Document Management
Corso di Versioning, Configuration & Document ManagementCorso di Versioning, Configuration & Document Management
Corso di Versioning, Configuration & Document Management
 
Versioning aziendale con SVN
Versioning aziendale con SVNVersioning aziendale con SVN
Versioning aziendale con SVN
 
[TYPO3] Gestione avanzata dei contenuti: versionig e workflow
[TYPO3] Gestione avanzata dei contenuti: versionig e workflow[TYPO3] Gestione avanzata dei contenuti: versionig e workflow
[TYPO3] Gestione avanzata dei contenuti: versionig e workflow
 
git flow
git flowgit flow
git flow
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 

Similar to TYPO3 CMS 8.1 - Le novità

TYPO3 CMS 6.2 LTS - Le Novità
TYPO3 CMS 6.2 LTS - Le NovitàTYPO3 CMS 6.2 LTS - Le Novità
TYPO3 CMS 6.2 LTS - Le NovitàRoberto Torresani
 
TYPO3 Versione 10.2 - Le novita
TYPO3 Versione 10.2 - Le novitaTYPO3 Versione 10.2 - Le novita
TYPO3 Versione 10.2 - Le novitaRoberto Torresani
 
TYPO3 Versione 10.4 - Le novità
TYPO3 Versione 10.4 - Le novitàTYPO3 Versione 10.4 - Le novità
TYPO3 Versione 10.4 - Le novitàRoberto Torresani
 
What's New in ASP.NET 4.5 and Visual Studio 2012
What's New in ASP.NET 4.5 and Visual Studio 2012What's New in ASP.NET 4.5 and Visual Studio 2012
What's New in ASP.NET 4.5 and Visual Studio 2012Andrea Dottor
 
Typo3 tuning - Oltre la "classica" cache
Typo3 tuning - Oltre la "classica" cacheTypo3 tuning - Oltre la "classica" cache
Typo3 tuning - Oltre la "classica" cachegianluca_strafella
 
Lezione 4 - Pratica - Lavorare in azienda: il teamwork
Lezione 4 - Pratica - Lavorare in azienda: il teamworkLezione 4 - Pratica - Lavorare in azienda: il teamwork
Lezione 4 - Pratica - Lavorare in azienda: il teamworkGiuseppe Cramarossa
 
Asp.NET MVC Framework
Asp.NET MVC FrameworkAsp.NET MVC Framework
Asp.NET MVC FrameworkDotNetMarche
 
ASP.NET MVC 6 - uno sguardo al futuro
ASP.NET MVC 6 - uno sguardo al futuroASP.NET MVC 6 - uno sguardo al futuro
ASP.NET MVC 6 - uno sguardo al futuroAndrea Dottor
 
Aumentiamo la sicurezza in TYPO3
Aumentiamo la sicurezza in TYPO3Aumentiamo la sicurezza in TYPO3
Aumentiamo la sicurezza in TYPO3Mauro Lorenzutti
 
Community Tour 2009 Windows Azure Overview
Community Tour 2009 Windows Azure OverviewCommunity Tour 2009 Windows Azure Overview
Community Tour 2009 Windows Azure OverviewFabio Cozzolino
 
Analisi e sviluppo di componenti standard JSR 168 per la realizzazione di Por...
Analisi e sviluppo di componenti standard JSR 168 per la realizzazione di Por...Analisi e sviluppo di componenti standard JSR 168 per la realizzazione di Por...
Analisi e sviluppo di componenti standard JSR 168 per la realizzazione di Por...DavisMol
 
PIT2012: Workshop@UniNA - Compilazione del Kernel Linux
PIT2012: Workshop@UniNA - Compilazione del Kernel LinuxPIT2012: Workshop@UniNA - Compilazione del Kernel Linux
PIT2012: Workshop@UniNA - Compilazione del Kernel LinuxMarco Ferrigno
 

Similar to TYPO3 CMS 8.1 - Le novità (20)

TYPO3 CMS 6.2 LTS - Le Novità
TYPO3 CMS 6.2 LTS - Le NovitàTYPO3 CMS 6.2 LTS - Le Novità
TYPO3 CMS 6.2 LTS - Le Novità
 
TYPO3 Versione 10.2 - Le novita
TYPO3 Versione 10.2 - Le novitaTYPO3 Versione 10.2 - Le novita
TYPO3 Versione 10.2 - Le novita
 
TYPO3 Versione 10.4 - Le novità
TYPO3 Versione 10.4 - Le novitàTYPO3 Versione 10.4 - Le novità
TYPO3 Versione 10.4 - Le novità
 
What's New in ASP.NET 4.5 and Visual Studio 2012
What's New in ASP.NET 4.5 and Visual Studio 2012What's New in ASP.NET 4.5 and Visual Studio 2012
What's New in ASP.NET 4.5 and Visual Studio 2012
 
XPages Tips & Tricks, #dd13
XPages Tips & Tricks, #dd13XPages Tips & Tricks, #dd13
XPages Tips & Tricks, #dd13
 
Quickr In Real Life - casi di successo di QuickR
 Quickr In Real Life - casi di successo di QuickR Quickr In Real Life - casi di successo di QuickR
Quickr In Real Life - casi di successo di QuickR
 
Ddive Xpage852
Ddive Xpage852Ddive Xpage852
Ddive Xpage852
 
TYPO3 v10.0 - Le novità
TYPO3 v10.0 - Le novitàTYPO3 v10.0 - Le novità
TYPO3 v10.0 - Le novità
 
Logging
LoggingLogging
Logging
 
DDive - 8.5.2 Xpages - L'evoluzione continua
DDive - 8.5.2 Xpages - L'evoluzione continuaDDive - 8.5.2 Xpages - L'evoluzione continua
DDive - 8.5.2 Xpages - L'evoluzione continua
 
Typo3 tuning - Oltre la "classica" cache
Typo3 tuning - Oltre la "classica" cacheTypo3 tuning - Oltre la "classica" cache
Typo3 tuning - Oltre la "classica" cache
 
Lezione 4 - Pratica - Lavorare in azienda: il teamwork
Lezione 4 - Pratica - Lavorare in azienda: il teamworkLezione 4 - Pratica - Lavorare in azienda: il teamwork
Lezione 4 - Pratica - Lavorare in azienda: il teamwork
 
Novità di Asp.Net 4.0
Novità di Asp.Net 4.0Novità di Asp.Net 4.0
Novità di Asp.Net 4.0
 
Asp.NET MVC Framework
Asp.NET MVC FrameworkAsp.NET MVC Framework
Asp.NET MVC Framework
 
ASP.NET MVC 6 - uno sguardo al futuro
ASP.NET MVC 6 - uno sguardo al futuroASP.NET MVC 6 - uno sguardo al futuro
ASP.NET MVC 6 - uno sguardo al futuro
 
Grasso Frameworks Ajax
Grasso Frameworks AjaxGrasso Frameworks Ajax
Grasso Frameworks Ajax
 
Aumentiamo la sicurezza in TYPO3
Aumentiamo la sicurezza in TYPO3Aumentiamo la sicurezza in TYPO3
Aumentiamo la sicurezza in TYPO3
 
Community Tour 2009 Windows Azure Overview
Community Tour 2009 Windows Azure OverviewCommunity Tour 2009 Windows Azure Overview
Community Tour 2009 Windows Azure Overview
 
Analisi e sviluppo di componenti standard JSR 168 per la realizzazione di Por...
Analisi e sviluppo di componenti standard JSR 168 per la realizzazione di Por...Analisi e sviluppo di componenti standard JSR 168 per la realizzazione di Por...
Analisi e sviluppo di componenti standard JSR 168 per la realizzazione di Por...
 
PIT2012: Workshop@UniNA - Compilazione del Kernel Linux
PIT2012: Workshop@UniNA - Compilazione del Kernel LinuxPIT2012: Workshop@UniNA - Compilazione del Kernel Linux
PIT2012: Workshop@UniNA - Compilazione del Kernel Linux
 

TYPO3 CMS 8.1 - Le novità

  • 1. TYPO3 CMS 8.1 - Le novità Riassunto delle funzionalità, modi che e aggiornamenti Creato da: Patrick Lobacher and Michael Schams Traduzione italiana di: Roberto Torresani (roberto.torresani (at) typo3.org) 24/May/2016 Creative Commons BY-NC-SA 3.0
  • 2. TYPO3 CMS 8.1 - Le novità Indice delle sezioni Introduzione Interfaccia utente Backend TSconfig & TypoScript In-Depth Changes Deprecated/Removed Functions Sources and Authors TYPO3 CMS 8.1 - Le novità
  • 3. Introduzione Introduzione I fatti in breve TYPO3 CMS 8.1 - Le novità
  • 4. Introduzione TYPO3 CMS 8.1 - I fatti in breve Data di rilascio: 3 Maggio 2016 Tipo di rilascio: Sprint Release Slogan: Tightening the screws TYPO3 CMS 8.1 - Le novità
  • 5. Introduzione Requisiti di sistema PHP: versione 7 MySQL: versione da 5.5 a 5.7 Spazio disco: min 200 MB Impostazioni PHP: memory_limit >= 128M max_execution_time >= 240s max_input_vars >= 1500 l'opzione di compilazione --disable-ipv6 non deve essere usata Il Backend richiede Microsoft Internet Explorer 11 o superiore, Microsoft Edge, Google Chrome, Firefox, Safari o altro browser recente e compatibile TYPO3 CMS 8.1 - Le novità
  • 6. Introduzione Sviluppo e tempi di rilascio TYPO3 CMS 8.1 - Le novità
  • 7. Introduzione TYPO3 CMS Roadmap Date di rilascio stimate e loro obiettivo principale: v8.0 22/Mar/2016 Aggiunta di parti dell'ultimo momento v8.1 03/Mag/2016 Integrazione cloud v8.2 05/Lug/2016 Rich Text Editor v8.3 30/Ago/2016 Miglioramento dell'Editing da Frontend v8.4 18/Ott/2016 da determinare v8.5 20/Dic/2016 Supporto Integrazione v8.6 14/Feb/2017 da determinare v8.7 04/Apr/2017 Preparazione LTS https://typo3.org/typo3-cms/roadmap/ https://typo3.org/news/article/kicking-off-typo3-v8-development/ TYPO3 CMS 8.1 - Le novità
  • 8. Introduzione Installazione Procedura uf ciale di installazione su Linux/Mac OS X (Directory Root ad esempio /var/www/site/htdocs): $ cd /var/www/site $ wget --content-disposition get.typo3.org/8.0 $ tar xzf typo3_src-8.0.0.tar.gz $ cd htdocs $ ln -s ../typo3_src-8.0.0 typo3_src $ ln -s typo3_src/index.php $ ln -s typo3_src/typo3 $ touch FIRST_INSTALL Link simbolici in Microsoft Windows: Usa junction in Windows XP/2000 Usa mklink in Windows Vista e Windows 7 TYPO3 CMS 8.1 - Le novità
  • 9. Introduzione Aggiornamento a TYPO3 CMS 8.x Aggiornamenti possibili solo da TYPO3 CMS 7.6 LTS TYPO3 CMS < 7.6 LTS deve essere prima aggiornato a TYPO3 CMS 7.6 LTS Istruzioni per l'aggiornamento: http://wiki.typo3.org/Upgrade#Upgrading_to_8.0 Guida uf ciale TYPO3 "TYPO3 Installation and Upgrading": http://docs.typo3.org/typo3cms/InstallationGuide Approcio generale: Veri ca i requisiti minimi di sistema (PHP, MySQL, etc.) Veri ca deprecation_*.log nella vecchia istanza TYPO3 Aggiorna tutte le estensioni all'ultima versione Imposta il nuovo sorgente ed esegui Install Tool -> Upgrade Wizard Veri ca il modulo di startup per gli utenti di backend (opzionale) TYPO3 CMS 8.1 - Le novità
  • 10. Introduzione PHP Version 7 PHP 7.0 è un requisito minimo per TYPO3 CMS 8.x TYPO3 supporterà i successivi rilasci di PHP 7 mano a mano che saranno pubblicati Questa versione fornisce un signi cativo incremento delle prestazioni del sistema Non solo gli editori di backend noteranno un interfaccia più veloce, ma il tempo di caricamento di un intera pagina di frontend in cache è inferiore a 7 millisecondi, che è circa il 40% più veloce paragonandolo allo stesso sito web con PHP versione 5.5 Si sono iniziate ad utilizzare anche le nuove funzioni di questa versione di PHP, per esempio i generatori crittogra ci pseudo-casuali sono già in uso. TYPO3 CMS 8.1 - Le novità
  • 11. Interfaccia utente Backend Capitolo 1: Interfaccia utente Backend TYPO3 CMS 8.1 - Le novità
  • 12. Interfaccia utente Backend Wizard inline per Backend Layout Un nuovo tipo di visualizzazione è stato aggiunto per il wizard del backend layout con il FormEngine in modalità inline (in TCA: ’renderType’ => ’belayoutwizard’). TYPO3 CMS 8.1 - Le novità
  • 13. Interfaccia utente Backend Sempli cazione cancellazione Cache Il sistema di cancellazione della cache è stato sempli cato rimuovendo le opzioni nel menu cache clear e nell'Install Tool. Cancellazione della cache di frontend: Cancellazione della cache di frontend e delle pagine relative, come prima. Cancellazione di tutte le cache: Cancellazione di tutte le cache di sistema, incluse le classi di caricamento, le traduzioni, le di con gurazione delle estensioni e opcode cache. La ricostruzione di queste cache può impiegare un po' di tempo. TYPO3 CMS 8.1 - Le novità
  • 14. Interfaccia utente Backend Rielaborazione Workspaces (1) Il modulo di workspace per gestire i contenuti èstato riscritto e integrato molto meglio per quanto riguarda l'aspetto visivo nel backend Gli editori si renderanno conto immediatamente, si inserisce nel look generale basandosi su Twitter Bootstrap e jQuery Questo cambiamento porta anche un incremento delle prestazioni ed è un enorme passo avanti per un backend di TYPO3 più pulito e veloce con meno javascript. TYPO3 CMS 8.1 - Le novità
  • 15. Interfaccia utente Backend Rielaborazione Workspaces (2) Immagine del modulo di workspace: TYPO3 CMS 8.1 - Le novità
  • 16. TScon g & TypoScript Chapter 2: TScon g & TypoScript TYPO3 CMS 8.1 - Le novità
  • 17. TScon g & TypoScript Allow Asterisk for hideTables It is now possible to hide all tables in the list view via PageTS-Con g In case integrators want to show a speci c table only, they can hide all tables and unhide only the speci c one: mod.web_list { hideTables = * table.tx_cal_event.hideTable = 0 } TYPO3 CMS 8.1 - Le novità
  • 18. TScon g & TypoScript Multiple Locale Names for TypoScript config.locale_all TypoScript option config.locale_all now allows to set locale fallbacks as a comma-separated list, as the underlying PHP function setlocale() does as well: config.locale_all = de_AT@euro, de_AT, de_DE, deu_deu See http://php.net/setlocale TYPO3 CMS 8.1 - Le novità
  • 19. In-Depth Changes Chapter 3: In-Depth Changes TYPO3 CMS 8.1 - Le novità
  • 20. In-Depth Changes PHP Library "Doctrine DBAL" (1) The PHP library "Doctrine DBAL" has been added via composer dependency to work as a powerful database abstraction layer with many features for database abstraction, schema introspection and schema management within TYPO3 CMS A TYPO3-speci c PHP class called TYPO3CMSCoreDatabaseConnectionPool has been added as a manager for database connections All connections con gured under $GLOBALS[’TYPO3_CONF_VARS’][’DB’][’Connections’] are accessible using this manager, enabling the parallel usage of multiple database systems TYPO3 CMS 8.1 - Le novità
  • 21. In-Depth Changes PHP Library "Doctrine DBAL" (2) By using the database abstraction options and the QueryBuilder provided SQL statements being built will be properly quoted and compatible with different DBMS out of the box as far as possible Existing $GLOBALS[’TYPO3_CONF_VARS’][’DB’] options have been removed and/or migrated to the new Doctrine-compliant options The Connection class provides convenience methods for insert, select, update, delete and truncate statements For select, update an delete only simple equality comparisons (like WHERE "aField" = ’aValue’) are supported. For complex statements it is required to use the QueryBuilder. TYPO3 CMS 8.1 - Le novità
  • 22. In-Depth Changes PHP Library "Doctrine DBAL" (3) The ConnectionPool class can be used like this: // Get a connection which can be used for muliple operations /** @var TYPO3CMSCoreDatabaseConnecction $conn */ $conn = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable(’aTable’); $affectedRows = $conn->insert( ’aTable’, $fields, // Associative array of column/value pairs, automatically quoted & escaped ); // Get a QueryBuilder, which should only be used a single time $query = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable(’aTable); $query->select(’*’) ->from(’aTable) ->where($query->expr()->eq(’aField’, $query->createNamedParameter($aValue))) ->andWhere( $query->expr()->lte( ’anotherField’, $query->createNamedParameter($anotherValue) ) ) $rows = $query->execute()->fetchAll(); TYPO3 CMS 8.1 - Le novità
  • 23. In-Depth Changes Enhance SQL query reduction in page tree in workspaces The process of determining whether a page has workspace versions can be extended by custom application code utilizing hooks This way, the meaning of having versions can be further modi ed by hooks For instance the default behavior of the TYPO3 core is to create a workspace version record on persisting the same record in the backend - without any actual changes to the data model $GLOBALS[’TYPO3_CONF_VARS’][’SC_OPTIONS’]... ...[’TYPO3CMSWorkspacesServiceWorkspaceService’][’hasPageRecordVersions’]; $GLOBALS[’TYPO3_CONF_VARS’][’SC_OPTIONS’]... ...[’TYPO3CMSWorkspacesServiceWorkspaceService’][’fetchPagesWithVersionsInTable’] TYPO3 CMS 8.1 - Le novità
  • 24. In-Depth Changes PHP Library "Guzzle" (1) The PHP library "Guzzle" has been added via composer dependency to work as a feature rich solution for creating HTTP requests based on the PSR-7 interfaces already used within TYPO3 Guzzle auto-detects available underlying adapters available on the system, like cURL or stream wrappers and chooses the best solution for the system A TYPO3-speci c PHP class called TYPO3CMSCoreHttpRequestFactory has been added as a simpli ed wrapper to access Guzzle clients TYPO3 CMS 8.1 - Le novità
  • 25. In-Depth Changes PHP Library "Guzzle" (2) The RequestFactory class can be used like this: // Initiate RequestFactory /** @var TYPO3CMSCoreHttpRequestFactory $requestFactory */ $requestFactory = GeneralUtility::makeInstance( TYPO3CMSCoreHttpRequestFactoryRequestFactory::class); $uri = $additionalOptions = [ // additional headers for this specific request ’headers’ => [’Cache-Control’ => ’no-cache’], ’allow_redirects’ => false, ’cookies’ => true ]; // return a PSR-7 compliant response object $response = $requestFactory->request($url, ’GET’, $additionalOptions); // get the content as a string on a successful request if ($response->getStatusCode() === 200) { if ($response->getHeader(’Content-Type’) === ’text/html’) { $content = $response->getBody()->getContents(); } } TYPO3 CMS 8.1 - Le novità
  • 26. Deprecated/Removed Functions Chapter 4: Deprecated/Removed Functions TYPO3 CMS 8.1 - Le novità
  • 27. Deprecated/Removed Functions Http-related options and HttpRequest class removed (1) The following PHP classes have been removed: TYPO3CMSCoreHttpHttpRequest TYPO3CMSCoreHttpObserverDownload The following options have been renamed: old: $TYPO3_CONF_VARS[HTTP][userAgent] new: $TYPO3_CONF_VARS[HTTP][headers][User-Agent] old: $TYPO3_CONF_VARS[HTTP][protocol_version] new: $TYPO3_CONF_VARS[HTTP][version] TYPO3 CMS 8.1 - Le novità
  • 28. Deprecated/Removed Functions Http-related options and HttpRequest class removed (2) All proxy-related options are uni ed within $TYPO3_CONF_VARS[HTTP][proxy] All redirect-related options (HTTP/follow_redirects, HTTP/max_redirects, HTTP/strict_redirects) are uni ed within $TYPO3_CONF_VARS[HTTP][allow_redirects] All options related to SSL private keys (HTTP/ssl_local_cert, HTTP/ssl_passphrase) are merged into $TYPO3_CONF_VARS[HTTP][ssl_key] All options related to verify SSL peers are merged into $TYPO3_CONF_VARS[HTTP][verify] TYPO3 CMS 8.1 - Le novità
  • 29. Deprecated/Removed Functions Http-related options and HttpRequest class removed (3) The following con guration options have been removed: $TYPO3_CONF_VARS[SYS][curlProxyNTLM] $TYPO3_CONF_VARS[SYS][curlProxyServer] $TYPO3_CONF_VARS[SYS][curlProxyTunnel] $TYPO3_CONF_VARS[SYS][curlProxyUserPass] $TYPO3_CONF_VARS[SYS][curlTimeout] $TYPO3_CONF_VARS[HTTP][adapter] $TYPO3_CONF_VARS[HTTP][protocol_version] $TYPO3_CONF_VARS[HTTP][follow_redirects] $TYPO3_CONF_VARS[HTTP][max_redirects] $TYPO3_CONF_VARS[HTTP][strict_redirects] $TYPO3_CONF_VARS[HTTP][proxy_host] $TYPO3_CONF_VARS[HTTP][proxy_port] $TYPO3_CONF_VARS[HTTP][proxy_user] $TYPO3_CONF_VARS[HTTP][proxy_password] $TYPO3_CONF_VARS[HTTP][proxy_auth_scheme] TYPO3 CMS 8.1 - Le novità
  • 30. Deprecated/Removed Functions Http-related options and HttpRequest class removed (4) The following con guration options have been removed: $TYPO3_CONF_VARS[HTTP][ssl_verify_peer] $TYPO3_CONF_VARS[HTTP][ssl_verify_host] $TYPO3_CONF_VARS[HTTP][ssl_cafile] $TYPO3_CONF_VARS[HTTP][ssl_capath] $TYPO3_CONF_VARS[HTTP][ssl_local_cert] $TYPO3_CONF_VARS[HTTP][ssl_passphrase] $TYPO3_CONF_VARS[HTTP][userAgent] TYPO3 CMS 8.1 - Le novità
  • 31. Sources and Authors Chapter 5: Sources and Authors TYPO3 CMS 8.1 - Le novità
  • 32. Sources and Authors Sources TYPO3 News: http://typo3.org/news Release Infos: http://wiki.typo3.org/TYPO3_CMS_8.1.0 INSTALL.md and ChangeLog typo3/sysext/core/Documentation/Changelog/8.1/* TYPO3 Bug-/Issuetracker: https://forge.typo3.org/projects/typo3cms-core TYPO3 and Fluid Git Repositories: https://git.typo3.org/Packages/TYPO3.CMS.git https://github.com/TYPO3Fluid/Fluid TYPO3 CMS 8.1 - Le novità
  • 33. Sources and Authors TYPO3 CMS What's New Team: Andrey Aksenov, Pierrick Caillon, Sergio Catala, Jigal van Hemert, Patrick Lobacher, Michel Mix, Sinisa Mitrovic, Angeliki Plati, Nena Jelena Radovic, Michael Schams and Roberto Torresani http://typo3.org/download/release-notes/whats-new Licensed under Creative Commons BY-NC-SA 3.0 TYPO3 CMS 8.1 - Le novità