| 01. Introduction | |||
| 01_01-Welcome.mp4 | 5.35 MB | ||
| 01_02-What you should know before watching this course.mp4 | 1.79 MB | ||
| 01_03-Using the exercise files.mp4 | 1.6 MB | ||
| 02. Strict Types | |||
| 02_01-How PHP handles data types.mp4 | 6.8 MB | ||
| 02_02-Implicit type casting.mp4 | 11.39 MB | ||
| 02_03-Explicit type casting.mp4 | 8.19 MB | ||
| 02_04-Using strict data types.mp4 | 3.97 MB | ||
| 03. Strict Typing with Objects, Arrays, and Callbacks | |||
| 03_01-Specifying data types for parameters.mp4 | 14 MB | ||
| 03_02-Return type declarations in PHP 7.mp4 | 5.11 MB | ||
| 03_03-Return type declarations with an interface.mp4 | 10.28 MB | ||
| 03_04-Changes to error handling in PHP 7.mp4 | 12.68 MB | ||
| 04. Scalar Type Hints in PHP 7 | |||
| 04_01-Overview of scalar type declarations.mp4 | 5.49 MB | ||
| 04_02-Scalar parameter declarations.mp4 | 12.51 MB | ||
| 04_03-Scalar return type declarations.mp4 | 10.15 MB | ||
| 04_04-Using parameter and return type declarations together.mp4 | 12.29 MB | ||
| 04_05-Unexpected side effects of strict mode.mp4 | 11.94 MB | ||
| 05. Conclusion | |||
| 05_01-Assessing the merits of strict data types.mp4 | 5.66 MB | ||
| 05_02-Goodbye.mp4 | 1.54 MB | ||
| Exercice Files | |||
| Ex_Files_Strict_DataTypes_PHP.zip | 21.42 KB |
Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)
Strict Data Types in PHP
Год выпуска: 04/2016
Производитель: Lynda
Сайт производителя: lynda.com/PHP-tutorials/Strict-Data-Types-PHP/480959-2.html
Автор: David Powers
Продолжительность: 1:10
Тип раздаваемого материала: Видеоклипы
Язык: Английский
Описание: One of the most important (and controversial) new features in PHP 7 is the option to use strict data types, in the form of parameter and return type declarations. Strict typing helps eliminate errors in more complex applications. Its use remains optional though, as many consider it a betrayal of the fundamental principles of a loosely typed language like PHP. In this course, David Powers explores the pros and cons of strict data types in PHP 5 and PHP 7.
First, he introduces the basics of type juggling and type casting in PHP. Then, he reviews strict typing with objects, arrays, and callback functions, which were introduced in PHP 5. He also reviews scalar type hints in PHP 7, which can have unexpected side effects for unwary developers. David concludes with a frank assessment of the practicalities of strict typing, and a simple recommendation that will help most developers use the new feature: define in strict and execute in weak.
Одним из самых важных (и спорный) новые функции в PHP 7 является возможность использовать строгие типы данных в виде параметров и возвращаемых объявления типа. Строгая типизация помогает избежать ошибок в более сложных приложениях. Ее использование хотя и остается необязательным, так как многие считают это предательством основных принципов слабо типизированный язык, как PHP. В этом, конечно, Дэвид полномочия исследует плюсы и минусы строгие типы данных в PHP 5 и PHP 7.
Во-первых, он знакомит с основами жонглирования тип и приведение типов в PHP. Потом он отзывы строгая типизация с объектами, массивами и функции обратного вызова, которые были введены в PHP 5. Он также рассматривает скалярных типов в PHP 7 подсказок, которые могут иметь неожиданные побочные эффекты для разработчиков неосторожных. Давид заключает с Фрэнком оценка практических строгой типизации и простые рекомендации, которые помогут большинство разработчиков использовать новую функцию: задать в строгой и выполнить в слабых.
[spoiler="Содержание"]
Introduction
3m 15s
Welcome
1m 5s
What you should know before watching this course
1m 8s
Using the exercise files
1m 2s
1. Loose vs. Strict Types
16m 50s
How PHP handles data types
4m 9s
Implicit type casting
6m 32s
Explicit type casting
3m 40s
Using strict data types
2m 29s
2. Strict Typing with Objects, Arrays, and Callbacks
19m 36s
Specifying data types for parameters
6m 21s
Return type declarations in PHP 7
2m 40s
Return type declarations with an interface
4m 40s
Changes to error handling in PHP 7
5m 55s
3. Scalar Type Hints in PHP 7
27m 6s
Overview of scalar type declarations
3m 30s
Scalar parameter declarations
6m 2s
Scalar return type declarations
5m 3s
Using parameter and return type declarations together
6m 25s
Unexpected side effects of strict mode
6m 6s
Conclusion
3m 37s
Assessing the merits of strict data types
3m 8s
Goodbye
29s
[/spoiler]
Файлы примеров: присутствуют
Формат видео: MP4
Видео: AVC, 1280x720, 16:9, 15fps, 146kbps
Аудио: AAC, 48kHz, 160kbps, stereo
[spoiler="Скриншоты"]

[/spoiler]
| torrent name | size | uploader | age | seed | leech |
|---|---|---|---|---|---|
| 135.9 MB | skydiving666 | 10 years | 0 | 0 |
All Comments