Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)
Beginning LuaГод выпуска: 2013
Производитель: Pluralsight
Сайт производителя:
http://pluralsight.com/Автор: John Sonmez
Продолжительность: 2h 50m
Тип раздаваемого материала: Видеоклипы
Язык: Английский
Описание: Lua is an extremely versatile and popular programming language that you’ll find embedded in many other applications like Adobe’s Lightroom or even World of Warcraft. Many developers are surprised to find that even very popular games like Angry Birds are written in Lua. In this course, you’ll learn how to quickly get started writing programs and scripts with Lua. I’ll take you through the basics of Lua, show you some tricks that demonstrate the Lua’s flexibility and even show you how to use Lua in an object oriented way. We’ll start off in this course by learning a bit about Lua itself and Lua’s history, as well as learn how to download Lua and use the popular SciTE IDE for creating and running Lua code. After we are setup and ready to develop some Lua code, we’ll learn the basics of Lua as we jump right in and build our first application. We’ll go over Lua’s type system and learn how to assign variables, utilize operators, use conditional logic and create loops. Once we’ve got the basics covered, we’ll explore two powerful concepts in Lua: functions and tables. We’ll learn how functions work in Lua and what makes them so powerful, and we’ll see how tables can be used for more than just storing simple data. Even though Lua itself doesn’t have a class construct, we’ll learn how to do object oriented programming in Lua using tables and metatables. Finally, we’ll wrap up the course by learning a little bit about the standard libraries that come with Lua. I’ll show you some examples of using some of the most useful functions in the standard libraries and show you where you can get more information about them.
Lua является чрезвычайно универсальным и популярным языком программирования , что вы найдете встроенный во многих других приложений, таких как Lightroom Adobe, или даже Мир Warcraft. Многие разработчики удивляются, когда узнают , что даже очень популярные игры, как Angry Birds написаны на Lua. В этом курсе вы узнаете, как быстро начать писать программы и скрипты с Lua. Я возьму тебя через основы Lua, показать вам некоторые трюки , которые демонстрируют гибкость Lua и даже показать вам, как использовать Lua на объектно-ориентированном пути . Мы начнем в этом курсе , изучая немного о самой Lua и истории Lua , так же , как узнать, как скачать Lua и использовать популярный SciTE IDE для создания и запуска Lua код . После того как мы установлены и готовы развивать код Lua , мы будем научиться основам Lua как мы прыгать прямо в и построить наше первое приложение . Мы пойдем по системе типов Lua и узнать , как назначить переменные , использовать операторы , использовать условную логику и создавать циклы . Как только у нас есть основы , покрытые , мы рассмотрим два мощных концепций в Lua : функции и таблицы . Мы узнаем, как функции работают в Lua и что делает их настолько мощный, и мы увидим, как таблицы могут использоваться не только для хранения простых данных . Даже хотя сам Lua не имеет класса конструкцию , мы узнаем, как сделать объектно-ориентированного программирования в Lua с использованием таблиц и метатаблицы . Наконец, мы обернуть ход , научившись немного о стандартных библиотек , которые приходят с Lua. Я покажу вам несколько примеров использования некоторых из наиболее полезных функций в стандартных библиотек и показать вам, где вы можете получить более подробную информацию о них .
[spoiler="Содержание"]
Код: │ beginning-lua.zip
│
├───01. Introduction
│ 01. Introduction.wmv
│ 02. Who this Course is For.wmv
│ 03. What this Course Covers.wmv
│ 04. What is Lua 1.wmv
│ 05. Qualities of Lua.wmv
│ 06. History.wmv
│ 07. Where Lua is Used.wmv
│ 08. Lua Example.wmv
│ 09. Getting Lua.wmv
│ 10. Hello World Interpreter.wmv
│ 11. Hello World IDE.wmv
│ 12. Up Next.wmv
│
├───02. Variables, Expressions, Statements, Blocks
│ 01. Introduction.wmv
│ 02. Guess My Number Game.wmv
│ 03. Types.wmv
│ 04. Variables and Assignments.wmv
│ 05. Assignment Demo.wmv
│ 06. Getting a Random Number.wmv
│ 07. Getting a Guess.wmv
│ 08. Expressions.wmv
│ 09. Operators.wmv
│ 10. Using Operators.wmv
│ 11. If Then Else.wmv
│ 12. Too High or Too Low.wmv
│ 13. Loops.wmv
│ 14. Using a Numeric For Loop.wmv
│ 15. Guessing Until Right.wmv
│ 16. Using Break.wmv
│ 17. Blocks and Scope.wmv
│ 18. Adding Scope.wmv
│ 19. Up Next.wmv
│
├───03. Functions and Data Structures
│ 01. Introduction.wmv
│ 02. Functions.wmv
│ 03. Creating a Simple Function.wmv
│ 04. Variadic Functions.wmv
│ 05. Refactoring to a Variadic Function.wmv
│ 06. Count Strings.wmv
│ 07. Using Functions.wmv
│ 08. Simple Calculator.wmv
│ 09. Closures.wmv
│ 10. Creating an Iterator.wmv
│ 11. Tables.wmv
│ 12. Student Scores.wmv
│ 13. Table Tips.wmv
│ 14. Tables as Arrays.wmv
│ 15. Other Data Structures.wmv
│ 16. Up Next.wmv
│
├───04. Object Oriented Code Organization
│ 01. Introduction.wmv
│ 02. How OO Works in Lua.wmv
│ 03. Metatables.wmv
│ 04. Metamethods.wmv
│ 05. Creating a Superstring.wmv
│ 06. Defining Add.wmv
│ 07. Adding Reverse.wmv
│ 08. Classes.wmv
│ 09. Creating Calorie Counter.wmv
│ 10. Using a Class.wmv
│ 11. Inheritance.wmv
│ 12. Creating Healthmonitor.wmv
│ 13. Testing Health Monitor.wmv
│ 14. Modules.wmv
│ 15. Creating a Module.wmv
│ 16. Up Next.wmv
│
└───05. The Standard Library
01. Introduction.wmv
02. Overview.wmv
03. Basic Library.wmv
04. Loading Code.wmv
05. Loading Data.wmv
06. Basic Library Reference.wmv
07. String Library.wmv
08. String Find.wmv
09. Matching.wmv
10. Table Library.wmv
11. Stack and Queue.wmv
12. Sorting.wmv
13. Math Library.wmv
14. IO Library.wmv
15. Writing to a File.wmv
16. Reading Files.wmv
17. OS Library.wmv
18. Debug Library.wmv
19. Lua's C Integration.wmv
20. The End.wmv
[/spoiler]
Файлы примеров: присутствуют
Формат видео: WMV
[spoiler="audio\video"]
General
Complete name : C:\03. Types.wmv
Format : Windows Media
File size : 3.04 MiB
Duration : 2mn 10s
Overall bit rate mode : Variable
Overall bit rate : 196 Kbps
Maximum Overall bit rate : 215 Kbps
Encoded date : UTC 2013-10-29 17:40:39.854
Video
ID : 2
Format : VC-1
Format profile : MP@HL
Codec ID : WMV3
Codec ID/Info : Windows Media Video 9
Codec ID/Hint : WMV3
Description of the codec : Windows Media Video 9
Duration : 2mn 10s
Bit rate mode : Variable
Bit rate : 33.2 Kbps
Width : 1 024 pixels
Height : 768 pixels
Display aspect ratio : 4:3
Frame rate : 15.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.003
Stream size : 527 KiB (17%)
Language : English (US)
Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.2 - 128 kbps, 44 kHz, stereo (A/V) 1-pass CBR
Duration : 2mn 10s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 1.99 MiB (65%)
Language : English (US)
[/spoiler]
[spoiler="Скриншоты"]

[/spoiler]