Ruby on Rails Tutorial: Learn Web Development with Rails

My image
  • Author: Michael Hartl
  • Format: online HTML
  • Price: free

Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of your own complete sample application using the latest techniques in Rails web development. The updates to this edition include all-new site design using Twitter’s Bootstrap; coverage of the new asset pipeline, including Sprockets and Sass; behavior-driven development (BDD) with Capybara and RSpec; better automated testing with Guard and Spork; roll your own authentication with has_secure_password; and an introduction to Gherkin and Cucumber.

You’ll find integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, JavaScript, and SQL skills you’ll need when developing web applications. Hartl explains how each new technique solves a real-world problem, and he demonstrates this with bite-sized code that’s simple enough to understand, yet novel enough to be useful. Whatever your previous web development experience, this book will guide you to true Rails mastery.

Chapters include:

  • From zero to deploy
  • A toy app
  • Mostly static pages
  • Rails-flavored Ruby
  • Filling in the layout
  • Modeling users
  • Sign up
  • Log in, log out
  • Updating, showing, and deleting users
  • Account activation and password reset
  • User microposts
  • Following users

A Little Smalltalk

My image
  • Author: Timothy Budd
  • Format: PDF
  • Price: free

This book is divided into two parts. The first section describes the language of the Little Smalltalk system. Although most readers probably will have had some prior exposure to at least one other programming language before encountering Smalltalk, the text makes no assumptions about background. Most upper division undergraduate or graduate level students should be able to understand the material in this first section. This first part of the text can be used alone.

The second part of the book describes the actual implementation of the Little Smalltalk system. This section requires the reader to have a much greater background in computer science. Since Little Smalltalk is written in C, at least a rudimentary knowledge of that language is required. A good background in data structures is also valuable. The reader will find it desirable, although not strictly necessary, to have had some introduction to compiler construction for a conventional language, such as Pascal.

Chapters include:

The Language

  • Basics
  • Syntax
  • Blocks
  • Basic Classes
  • Class Definition
  • A Simple Application
  • Primitives, Cascades, and Coercions
  • A Simulation
  • Generators
  • Graphics
  • Processes

The Implementation

  • Implementation Overview
  • The Representation of Objects
  • Bytecodes
  • The Process Manager
  • The Interpreter
  • References
  • Projects
  • Running Little Smalltalk
  • Syntax Charts
  • Class Descriptions
  • Primitives

Beej’s Guide to Unix Interprocess Communication

My image
  • Author: Brian “Beej Jorgensen” Hall
  • Format: Online HTML, Archived HTML, PDF
  • Price: free

You know what’s easy? fork() is easy. You can fork off new processes all day and have them deal with individual chunks of a problem in parallel. Of course, its easiest if the processes don’t have to communicate with one another while they’re running and can just sit there doing their own thing.

However, when you start fork()’ing processes, you immediately start to think of the neat multi-user things you could do if the processes could talk to each other easily. So you try making a global array and then fork()’ing to see if it is shared. (That is, see if both the child and parent process use the same array.) Soon, of course, you find that the child process has its own copy of the array and the parent is oblivious to whatever changes the child makes to it.

How do you get these guys to talk to one another, share data structures, and be generally amicable? This document discusses several methods of Interprocess Communication (IPC) that can accomplish this, some of which are better suited to certain tasks than others.

As long as you know some C or C++, this guide should springboard you into the realm of Unix IPC with hopefully as little hassle as humanly possible!

Chapters include:

  • Intro
  • A fork() Primer
  • Signals
  • Pipes
  • FIFOs
  • File Locking
  • Message Queues
  • Semaphores
  • Shared Memory Segments
  • Memory Mapped Files
  • Unix Sockets
  • More IPC Resources

The Java Tutorial: A Short Course on the Basics (5th Edition)

My image
  • Author: Sharon Biocca Zakhour, Sowmya Kannan, Raymond Gallardo
  • Format: online HTML, epub, mobi
  • Price: free

The Java Tutorial, Fifth Edition, is based on Release 7 of the Java Platform Standard Edition. This revised and updated edition introduces the new features added to the platform, including a section on NIO.2, the new file I/O API, and information on migrating legacy code to the new API.

The deployment coverage has also been expanded, with new chapters such as “Doing More with Rich Internet Applications” and “Deployment in Depth,” and a section on the fork/join feature has been added to the chapter on concurrency.

Information reflecting Project Coin developments, including the new try-with-resources statement, the ability to catch more than one type of exception with a single exception handler, support for binary literals, and diamond syntax, which results in cleaner generics code, has been added where appropriate.
The chapters covering generics, Java Web Start, and applets have also been updated.

In addition, if you plan to take one of the Java SE 7 certification exams, this guide can help. A special appendix, “Preparing for Java Programming Language Certification,” lists the three exams available, details the items covered on each exam, and provides cross-references to where more information about each topic appears in the text.

All of the material has been thoroughly reviewed by members of Oracle Java engineering to ensure that the information is accurate and up to date.

The free version of the book is broken up into chunks. Link for obtaining the epub or mobi versions are at the bottom, as well as a link to purchase or rent a paperback version from Amazon.

Chapters include:

Epub and Mobi downloads

Buy or rent the paperback from Amazon

Windows Store Apps Succinctly

My image
  • Author: John Garland
  • Format: PDF, Kindle
  • Price: free (free registration required)

Windows Store apps present a radical shift in Windows development. They place content and interaction above all else to provide users with immersive, intuitive application experiences. With Windows Store Apps Succinctly you’ll be guided through obtaining a developer license, to managing your application’s life cycle and storage, all the way to submitting your app to the Windows Store.

Free registration required to download.

Chapters include:

  • Core Concepts
  • XAML, Controls, and Pages
  • Application Life Cycle and Storage
  • Contracts and Extensions
  • Tiles, Toasts, and Notifications
  • Hardware and Sensors
  • Deployment