Skip to content

maboglia/CorsoPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Php Programming

Introduzione

  • PHP: un linguaggio interpretato
  • Cos'è una pagina dinamica
  • La documentazione ufficiale
  • Hello World
  • Regole e sintassi
  • Relazione tra PHP e HTML

PHP Overview

  • Cos'è PHP
  • La storia PHP
  • Perchè scegliere PHP

Installazione

  • Lavorare con Apache Web Server
  • Modificare la document root
  • Abilitare PHP
  • Aggiornare e configurare PHP
  • Installare e configurare MySQL
  • Scegliere un IDE
  • Installare Xampp, Mamp, Wamp, ...

Primi passi

  • Incorporare codice PHP code una pagina
  • Generare dynamic text
  • Inserire commenti al codice
  • include e require

Elementi fondamentali

  • Gli operatori principali
  • Tipi
  • Variabili
  • Costanti
  • I commenti
  • Booleans
  • Numbers: Integers, Floating points
  • NULL and empty
  • Stringhe
  • Array scalari e Array Associativi
  • Conversione dei tipi in PHP

Strutture di controllo - Espressioni Logiche

  • If statements
  • Else and elseif statements
  • Switch statements
  • Operatore ternario
  • Logical operators

Strutture di controllo - Loops

  • While loops
  • For loops
  • Foreach loops
  • Continue
  • Break

Funzioni

  • Le funzioni native

    • String functions
    • Array functions
  • Le funzioni definite dall'utente

    • Function arguments
    • Returning values from a function
    • Multiple return values
    • Scope and global variables
    • Setting default argument values

Testing, debugging, exceptions

  • Common problems
  • Warnings and errors
  • Debugging and troubleshooting
  • throw-try-catch

WEB & REST

  • $_GET
  • $_POST
  • $_REQUEST
  • $_COOKIE
  • $_SESSION

Leggere e scrivere sul filesystem

  • Creare, scrivere e leggere un file
  • Fare l'upload di un file

PHP e OOP

questo è il vero punto di partenza!

  • Pensare ad oggetti
  • Classi, oggetti, metodi e proprietà
  • Incapsulamento
  • Ereditarietà
  • Polimorfismo
  • Classi astratte
  • Interfacce

PHP e database

  • La connessione al database (MySqli, PDO)
  • DML: selezionare e mostrare i record
  • DML: inserimento
  • DML: cancellazione
  • DML: modifica
  • DML: ricerca

Releases

No releases published

Packages

No packages published