IDE:TYPO3 und Frontend Frameworks: Unterschied zwischen den Seiten

Aus ahrensburg.city
(Unterschied zwischen Seiten)
Zur Navigation springen Zur Suche springen
 
 
Zeile 1: Zeile 1:
<pre>
== Frontend Frameworks – Reifegrade ==
composer create-project "typo3/cms-base-distribution:^13.4" /var/www/typo3
</pre>


<pre>
; Tier-Definition (Kurzfassung)
* Tier 1: Weit verbreitet, stabil, Langzeitpflege, starkes Ökosystem


# TYPO3 13 LTS – NGINX vhost
# Datei: sudo nano /etc/nginx/conf.d//typo3.conf


server {
{| class="wikitable sortable"
    listen 80;
! Tier !! Framework !! Kategorie !! Erstveröffentlichung !! Governance/Backing !! Release-/LTS-Kadenz !! Kurzbewertung
    server_name example.com www.example.com;
|-
| 1 || React || Bibliothek || 2013 || Meta + Community || regelmäßig || Dominantes Ökosystem, sehr stabil
|-
| 1 || Angular || Framework || 2016 || Google || LTS || Enterprise‑fokussiert, integrierter Stack
|-
| 1 || Vue.js || Framework || 2014 || Core‑Team + Community || regelmäßig || Reif, breite Adoption
|-
| 1 || Next.js || Meta‑Framework (React) || 2016 || Vercel || schnell || Produktionsreif, SSR/ISR/RSC


    # Composer-Setup: DocumentRoot zeigt auf das "public" Verzeichnis
|}
    root /var/www/typo3/public;
    index index.php index.html;
    charset utf-8;
 
    client_max_body_size 32m;
 
    # Basis-Security-Header
    add_header X-Content-Type-Options nosniff;
    add_header X-Frame-Options SAMEORIGIN;
    add_header Referrer-Policy no-referrer-when-downgrade;
    add_header X-XSS-Protection "1; mode=block";
 
    # Front-Controller
    location / {
        try_files $uri $uri/ /index.php$is_args$args;
    }
 
    # TYPO3 Backend: leitet über Front-Controller
    location ^~ /typo3/ {
        try_files $uri /index.php$is_args$args;
    }
 
    # Statische Assets
    location ~* \.(?:css|js|gif|ico|jpg|jpeg|png|svg|webp|avif|woff|woff2|ttf|eot)$ {
        try_files $uri =404;
        access_log off;
        expires 7d;
        add_header Cache-Control "public, immutable";
    }
 
    # Favicons / Robots
    location = /favicon.ico { log_not_found off; access_log off; }
    location = /robots.txt  { log_not_found off; access_log off; }
 
    # Versteckte/empfindliche Dateien sperren
    location ~ /\.(?!well-known) { deny all; }
    location ~* /(composer\.(json|lock)|package\.json|yarn\.lock|webpack\..*|tsconfig\.json)$ { deny all; }
    location ~* (?:^|/)(?:LocalConfiguration|AdditionalConfiguration)\.php$ { deny all; }
    location ~* ^/(?:typo3conf|var|vendor|Build|Tests)(?:/|$) { deny all; }
 
    # Keine PHP-Ausführung in Upload-/Asset-Ordnern
    location ~* ^/(?:fileadmin|uploads|typo3temp|typo3conf|storage)/.*\.php$ {
        deny all;
    }
 
    # PHP-FPM
    location ~ \.php$ {
        try_files $uri =404;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        fastcgi_param DOCUMENT_ROOT $realpath_root;
        fastcgi_param TYPO3_CONTEXT Production;
        fastcgi_param HTTPS $https if_not_empty;
        fastcgi_buffers 16 16k;
        fastcgi_buffer_size 32k;
        fastcgi_read_timeout 120s;
        # Pfad ggf. auf die installierte PHP-Version anpassen (8.2/8.3)
        fastcgi_pass unix:/run/php/php8.2-fpm.sock;
        fastcgi_index index.php;
    }
}
</pre>
 
==Dateirechte==
 
<pre>
 
sudo chown -R www-data:www-data /var/www/typo3
sudo chmod -R 775 /var/www/typo3
</pre>
sudo chown www-data:www-data /var/www/typo3/public/typo3/install.php
sudo chmod 644 /var/www/typo3/public/typo3/install.php

Aktuelle Version vom 26. Oktober 2025, 14:25 Uhr

Frontend Frameworks – Reifegrade

Tier-Definition (Kurzfassung)
  • Tier 1: Weit verbreitet, stabil, Langzeitpflege, starkes Ökosystem


Tier Framework Kategorie Erstveröffentlichung Governance/Backing Release-/LTS-Kadenz Kurzbewertung
1 React Bibliothek 2013 Meta + Community regelmäßig Dominantes Ökosystem, sehr stabil
1 Angular Framework 2016 Google LTS Enterprise‑fokussiert, integrierter Stack
1 Vue.js Framework 2014 Core‑Team + Community regelmäßig Reif, breite Adoption
1 Next.js Meta‑Framework (React) 2016 Vercel schnell Produktionsreif, SSR/ISR/RSC