XMPP is an open, real-time instant messaging platform that is useful for sending and receiving notifications between servers and humans. You can use it to receive administrative notifications from your website or to push notifications to subscribers much more efficiently than current poll-based solutions such as RSS. This course will teach you to work with XMPP from Ruby.
In this course we build a Redis clone from scratch, using Ruby. We will implement all the major features, including the data structures, transactions, persistence, and more. Along the way we'll also learn how Redis uses Unix sockets and process management to better understand how it operates at the system level. By the end of this course you will have a better understanding of how Redis works, allowing you to make better decisions about how and when to use it.
Ruby is a dynamic, thoroughly object oriented programming language with a focus on developer happiness and productivity. This course is designed to give you everything you need to start developing software in Ruby quickly. You will learn about all of the key features of the language: classes, methods, blocks, modules. You will find out about some of the standard types included in Ruby, such as strings, arrays, hashes and regular expressions. You will also get an introduction to tools and techniques you need to write real world software, including testing, debugging and packaging your code.
This course will cover all of the basics of working with the Ruby on Rails 3 and 4 frameworks. We’ll start off by providing a quick overview of Rails and immediately get to work building your first application from the ground up. The Philosophy and Architecture of Rails, as well as a more in depth look at each of Rail’s components, will be looked at while we enhance our initial application.
This course is for .NET developers who want to try out Ruby on Rails without investing a significant amount of time into learning both Ruby and the Rails framework. In this course, we walk through what Ruby and Rails are, how they compare to .NET languages like C# and VB. After a brief introduction to the Ruby language, we jump into building a Rails application and customizing it.
MacRuby takes the "almost" out of "almost a desktop experience." With MacRuby, you can write real Mac OS X desktop applications with Ruby. MacRuby is a Ruby interpreter built by Apple on top of Objective-C. Unlike other scripting interfaces to the Cocoa frameworks, MacRuby objects are fully functional peers of Objective-C objects with no translation layer. This means that your Ruby applications can do almost anything a compiled application could do, and at near-native speed.
Build a server or virtual server for Ruby on Rails Development. In this course, we will use Fedora, Ubuntu, or CentOS Linux to set up a server. Virtual Box will be used to create virtual servers. We will install and configure SSHD, vsftpd, Apache, MySQL, SQLite, and PostgreSQL. We will install multiple versions of Ruby using RVM, and we will install Ruby on Rails 4.1. We will then build a simple project to test our server, and then create a clone image that can be used for future projects. If you follow along, at the end you will have a server ready for Ruby on Rails development.
Jekyll is a static site generator that takes template and content files and outputs a completely static site. It requires no database or special server software. That means your content isn't locked up in a database schema you don't know or a CMS you don't understand. You can run Jekyll on any server that supports serving static HTML, CSS, and image files -- so, pretty much anywhere! This course walks you through the basics of building a website with Jekyll. We start by walking through how Jekyll works, installing Jekyll and then, piece-by-piece, we build a basic content site. At the end, we learn how to deploy a Jekyll site to Github Pages.
Have you ever been curious about that Rails magic? Have you found the code daunting? In this course, we will create a template handler, a custom renderer, and a file resolver. Along the way we will explore the Rails rendering stack and get a better handle on the Rails code, which will make the custom code work easy!
Speed up your Ruby on Rails 4.1 applications. With the help of some gems, all techniques in this course can also be used in Rails 3.2 apps. This course teaches pragmatic, Rails-specific techniques to profile performance, find and fix slow database queries, get alerted automatically whenever you create an N+1 query, and simulate latency and low bandwidth. You'll also learn to take advantage of the browser's cache with ETags or time-based expiration, set up Memcached for server-side caching, speed up view rendering with fragment caching, cache nested fragments with Russian Doll caching, and use Turbolinks and pjax to give a multi-page app the responsiveness of a single-page app.
Rob Conery walks you through Sinatra, the lightweight Ruby web framework. Along the way you'll get to know Vim, HAML, and MongoDB as Rob rebuilds the MVC Music Store completely with Sinatra. "Understanding Rack" is bundled with this production and is Episode 2. The code for this production is up at https://github.com/tekpub/Sinatra-Music-Store
In the Basics module, learn how to install and configure RSpec. We'll walk through a simple project. Then we'll install RSpec in a Rails application and start writing examples for a simple model. The RSpec Mocks and Models module continues the project from part 1 but focuses on writing examples for ActiveRecord models. During the process you'll also learn about parsing XML with Hpricot! The Controllers and Tools module shows how to write behavior examples for Rails Controllers, Views, and Helpers. It finishes the application started at the beginning of this series.
RESTful routes have been a big part of Rails since version 1.2, but they are also very confusing! They're all about building your application to deliver HTML and API-friendly XML from a single piece of data. This REST for Rails 2 course covers the basics of REST and walks through a simple application to show how REST routes work. You'll learn about the magic that goes on behind the scenes and how you can design a REST application with confidence.
This course introduces you to Rails and takes small steps through views and controllers, and then takes a bite out of database models. You'll learn the main concepts and assumptions behind Rails, how to install Rails on a Mac or on Windows. There's a short 7-minute intro to Ruby syntax. After walking through a few simple steps with views and controllers, you'll setup a simple MySQL database and use Rails generators and migrations to populate your database. You'll build models one piece at a time and experiment with them in the Rails console before starting on a full Rails application.
Many developers have hoped for a way to run Rails applications natively inside Apache, and now it's possible! Passenger makes development easier and is the best way to run Rails applications on shared hosts. You may even find it so easy to use that you choose to deploy your production applications with it as well.
RSpec is about writing human readable, executable documentation for your code. The process of writing RSpec examples can improve the quality of your implementation code. It can help you understand new frameworks by formalizing your expectations about how they work. As a side effect, you'll get a test suite that verifies the correctness of your applications and helps you avoid writing new bugs into the system. This video series starts by teaching you the basic RSpec syntax and the best ways to use it, and then moves on to intermediate topics such as mocks, stubs, and error cases, and then adds Ruby on Rails into the equation, covering factories, code organization, and running tests quickly.
While the average single-threaded Rails application can serve a few hundred requests per second, EventMachine applications routinely serve two or three thousand requests per second to thousands of concurrently connected clients. It's perfectly suited to building WebSocket servers that push data to the browser in real time. That being said, EventMachine is an advanced topic. You'll be working with threads, events, networking, and callbacks. But thanks to the Ruby language and the capabilities built into EventMachine, you'll be up and running in no time. In Module 2 of the Meet EventMachine tutorial, we introduce the basic primitives of EventMachine: tasks, threads, queues, channels, and the useful Deferrable. In Module 3 you'll build several client/server applications including a WebSocket server and a basic Goliath API server.
Eclipse is a powerful open-source software development framework that runs on multiple platforms and is suitable for developing programs in many languages. Target applications can run on anything from the desktop or mobile device down to tiny 8 bit embedded processors. This course will focus on Java and C++ development but most of the content is applicable for developers in any language. This course is aimed at developers new to Eclipse AND for those that have already used Eclipse but haven't explored the full power of the IDE. Once you finish the course you'll be coding more and typing less.