Videos

Event Bus: GWT Tutorial (Google Web Toolkit)

Event Bus: GWT Tutorial (Google Web Toolkit)

4 years ago
Why use an event bus: allow components to communicate throughout the app in a decoupled way. This Google Web Toolkit tutorial explains the event bus pattern. Behind the scenes, if you squint your eyes, you can see the subscriber, pub/sub design pattern going on. The purpose and goal of the event bus is to decouple […]
Binary search tree – Implementation in C/C++

Binary search tree – Implementation in C/C++

4 years ago
See complete series on data structures here: In this lesson, we have implemented binary search tree in C/C++. We have written a simple program to create a binary search tree of integers and search an element in it. See source code here: Lesson on dynamic memory allocation: For practice problems and more, visit: www.mycodeschool.com Like […]
Two years of Pi!

Two years of Pi!

4 years ago
NEW VIDEO! Catch ‘Four years of Pi here’: NEW VIDEO! Catch ‘Three years of P!’ here: www.youtube.com/watch?v=fgaxOpB-n0Q On the 29th of February 2012 a credit card sized computer was released to the public… Not only did it kickstart my interests in programming, electronics and all things geeky but it also kindled the same passion in […]
Dependency Injection VS Service Locator Pattern

Dependency Injection VS Service Locator Pattern

4 years ago
What is dependency injection, inversion of control, dependency injection containers, and the service locator design pattern? What do they have in common, what problems do they solve, and what are some of the main differences between them? This design pattern tutorial (illustrated in PHP) explains the main difference between a dependency injector and a service […]
HTML5 logging – JavaScript Tutorial for Beginners

HTML5 logging – JavaScript Tutorial for Beginners

4 years ago
How to log information to the application UI layer in JavaScript. This way you don’t have to look at the browser’s console. To log complex data types to the user interface, you’ll need to parse your objects, or call the toString class method of the instance you wish to log. Of course, you can also […]
console.log() – JavaScript Tutorial for Beginners

console.log() – JavaScript Tutorial for Beginners

4 years ago
Logging information in JavaScript is very handy. It allows you to send data directly to the browser’s console, so that you can trace the execution path of your script, test data in your application, as well as just simply record events as your web app runs. The console object has a function log, which takes […]
HTML5 2D Canvas Fragment Shader: Feature Request GLSL

HTML5 2D Canvas Fragment Shader: Feature Request GLSL

4 years ago
2D special effect demo done in HTML5 for games: Wouldn’t it be nice if there was a way to specify our own custom fragment shader in HTML5 canvas? More specifically, I would like to be able use a CanvasRenderingContext2D instance (not WebGL), and use my own .glsl shader program. This video demonstrates a simple, yet […]
Google Closure Library – Nintendo Game Development

Google Closure Library – Nintendo Game Development

4 years ago
Before we start writing our 2D game engine in JavaScript for the Nintendo Wii U, I need to explain how to use the closure library. This tutorial shows you how to use Google Closure Library, which makes jQuery, MooTools, Dojo, and other JavaScript libraries and frameworks look like… Q-Basic compared to C++. The first step […]
Google Closure Tools – Nintendo Game Development

Google Closure Tools – Nintendo Game Development

4 years ago
You can write 2D games for the Nintendo Wii U using their Web Framework with whatever tools you like. As long as your codebase ends up being valid WebKit HTML5 and JavaScript, your game will run and play just fine. However, in order to be more efficient and agile both in terms of development, testing, […]
Mega Man Tetris Clone – HTML5 & JavaScript Closure Tools

Mega Man Tetris Clone – HTML5 & JavaScript Closure Tools

4 years ago
This HTML5 game is a demonstration of Google Closure tools and the latest HTML5 APIs that lend themselves well for game development. If you’d like to learn more about Closure Tools, how to make your own video games, or anything those lines, come find my YouTube channel or my tech blog. Play the game online […]
Parsing Cookie Values – JavaScript Tutorial for Beginners

Parsing Cookie Values – JavaScript Tutorial for Beginners

5 years ago
How do you read JavaScript cookies? The way to get the value of an existing cookie in JavaScript is really easy. Simply read the cookie property of the global document object. Since all cookie key-value pairs are contained in the same string, you will need to parse the string manually in order to get a […]
How to Create Cookies – JavaScript Tutorial for Beginners

How to Create Cookies – JavaScript Tutorial for Beginners

5 years ago
How do you set and update JavaScript cookies? The way to create a new cookie in JavaScript is really easy. Simply assign a string to the cookie property of the document object (document.cookie), formated in a key=value fashion. points: – cookies are associated with the document object (more on it later) – cookies are shared […]