PHP
サーバーサイド Web を、スクリプトから Laravel まで。
PHP runs on the server: a request comes in, PHP builds the page or the JSON, and sends it back. It powers WordPress and Wikipedia's MediaWiki, and modern PHP is typed, fast and pleasant to write. This course starts from zero with PHP 8.5: scripts, variables and strings, arrays and loops, decisions and typed functions, then forms that are safe from XSS, classes and enums, database queries with PDO prepared statements, and a first look at Composer and Laravel. A last module goes further: sign-in with sessions, JSON APIs, tests with PHPUnit and a complete Laravel app.
Every example is small, and every output is traced line by line, so you always know exactly what to expect.
- レッスン
- 14
- 時間
- 2 時間
- レベル
- 初級
このコースのレッスンは、現在英語のみです。
- ブロンズ 挑戦可
- シルバー 挑戦可
- ゴールド ロック
実力を証明しますか?
ブロンズ、シルバー、ゴールドの 3 つの試験が待っています。
できるようになること
- Write and run PHP scripts from the terminal and the built-in web server
- Use strings, arrays, loops, typed functions and
matchwith strict types - Handle form input safely: validate it, and escape output against XSS
- Model data with classes, readonly properties and enums
- Query a database with PDO prepared statements, and know where Composer and Laravel fit
学習の道のり
1 第 1 章PHP basics
Where PHP runs, your first script, strings, arrays, loops, decisions, typed functions and match.
0 / 52 第 2 章Web and objects
Forms and safe output, classes and enums, databases with PDO, and Composer with Laravel.
0 / 53 第 3 章Next steps
Where to go after this course: sign-in, APIs, tests and a full Laravel app.
0 / 4