rssHome » Ruby & Python

IronRuby Unleashed

IronRuby Unleashed

Book Description

Ruby has built an enormous following of developers attracted by its intuitiveness, flexibility, and simplicity. Meanwhile, Microsoft’s has grown and matured into a platform of unparalleled power. brings them together, enabling developers to write elegant, efficient Ruby code that seamlessly integrates with objects and leverages ’s full capabilities. Now, in Unleashed, one of ’s most respected early adopters demonstrates how to write outstanding production software with the brand new 1.0.

Writing for both Ruby and .NET developers, Shay Friedman covers every facet of . Friedman begins by explaining how leverages the new Dynamic Language Runtime (DLR) libraries to run atop the .NET Framework and access its resources. Next, he presents an in-depth tutorial that ranges from basic syntax and object-oriented techniques through advanced concepts. Building on this foundation, you’ll learn how to make the most of a broad spectrum of .NET platform features.

IronRuby Unleashed thoroughly illuminates the use of IronRuby and .NET with today’s most powerful frameworks and technologies, including WPF, ASP.NET MVC, , and Silverlight. You’ll also find detailed coverage of unit testing, as well as cutting-edge techniques for extending IronRuby with or VB.NET. Download Now »

The Definitive Guide to Jython: Python for the Java Platform

The Definitive Guide to Jython: Python for the Java Platform

Book Description

is an implementation of the high-level, dynamic, object-oriented scripting language seamlessly integrated with the Java platform. The predecessor to , JPython, is certified as 100% Pure Java. is freely available for both commercial and noncommercial use and is distributed with source code. is complementary to Java.

The Definitive Guide to Jython, written by the official Jython team leads, covers the latest Jython 2.5 (or 2.5.x) from the basics to the advanced features. This book begins with a brief introduction to the language and then journeys through Jython’s different features and uses.

The Definitive Guide to Jython is organized for beginners as well as advanced users of the language. The book provides a general overview of the Jython language itself, but it also includes intermediate and advanced topics regarding database, web, and GUI applications; Web services/SOA; and integration, concurrency, and parallelism, to name a few.

What you’ll learn
* How to handle Jython basics like language syntax and concepts
* How to use the Jython scripting language for I/O, Java/Jython integration, and Jython in an IDE and databases
* How to integrate Jython with the web framework and even Spring Download Now »

Metaprogramming Ruby

Metaprogramming Ruby

Book Description

Everyone in the Ruby world seems to be talking about metaprogramming–how you can use it to remove duplication in your code and write elegant, beautiful programs. Now you can get in on the action as well.

This book describes metaprogramming as an essential component of Ruby. Once you understand the principles of Ruby, including the object model, scopes, and eigenclasses, you’re on your way to applying metaprogramming both in your daily work and in your fun, after-hours projects.

Learning metaprogramming doesn’t have to be difficult or boring. By taking you on a Monday-through-Friday workweek adventure with a pair of programmers, Paolo Perrotta helps make mastering the art of metaprogramming both straightforward and entertaining.

The book is packed with:
* Pragmatic examples of metaprogramming in action, many of which come straight from popular libraries or frameworks, such as Rails.
* challenges that let you experiment and play with some of the most fun, “out-there” metaprogramming concepts.
* Metaprogramming spells–34 practical recipes and idioms that you can study and apply right now, to write code that is sure to impress. Download Now »

Python Testing: Beginner’s Guide

Python Testing: Beginners Guide

Book Description

Automated testing moves much of the labor of testing off the developer and makes it easier as well as quicker to find bugs and fix them. Automated tests run faster, increase test coverage, and lower costs. However, testing is neither an easy process nor remotely exciting for most developers. But with the right techniques and tools, testing can become a simple and gratifying part of the process.

With this helpful guide – from an expert – in your hand, testing will not be a tiresome topic for you anymore. You will learn how to test your projects in the easiest way, making other parts of the process easier and more enjoyable.

This book covers the tools and techniques of automated testing and test-driven development. Starting from the very basics, the chapters introduce new tools and techniques in simple, accessible language with step-by-step examples. You will explore how to make testing easier and more accurate with ’s doctest module and learn test-driven development using the unittest framework. You will also learn how to keep your units separate from each other and discover a simple and easy way to integrate Mocker and unittest. Next, we cover integration testing and web application testing.

Automated testing gives developers better feedback, faster and more often. Bugs get found sooner and fixed better, with less effort. By the end of this book, you will have all of the skills needed to benefit from automated testing.
Download Now »

Beginning Ruby on Rails

Beginning Ruby on Rails

Book Description

is the revolutionary online tool that makes creating functional e-commerce web sites faster and easier than ever. With the intuitive, straightforward nature of Ruby and the platform provided by Rails, you can put together full-fledged web applications quickly, even if you’re new to web .

You will find a thorough introduction to both Ruby and Rails in this book. You’ll get the easy instructions for acquiring and installing both; understand the nature of conditionals, loops, methods, and blocks; and become familiar with Ruby’s classes and objects. You’ll learn to build Rails applications, connect to databases, perform necessary testing, and put the whole thing together to create real-world applications such as shopping carts and online catalogs–apps you can actually use right away.

What you will learn from this book
* How to install and use Ruby and Rails
* Object-oriented programming with Ruby
* Rails fundamentals and how to create basic online applications
* How to work with HTML controls, use models in Rails applications, and work with sessions
* Details on working with databases and creating, editing, and deleting database records
* Methods for handling cookies and filters and for caching pages
* How to connect Rails with Download Now »

The Quick Python Book, 2nd Edition

The Quick Python Book, 2nd Edition

Book Description

The Quick Book, Second Edition, is a clear, concise introduction to 3, aimed at programmers new to . This updated edition includes all the changes in 3, itself a significant shift from earlier versions of .

The book begins with basic but useful programs that teach the core features of syntax, control flow, and data structures. It then moves to larger applications involving code , object-oriented , web , and converting code from earlier versions of .

True to his audience of experienced developers, the author covers common language features concisely, while giving more detail to those features unique to Python.

About the Author

Vern Cederhas been teaching programming for nearly 20 years. He has been involved with Python since 2001, administering servers and developing large database and web applications using Python, Zope, , and various Python libraries. Vern also frequently speaks on using and teaching Python in schools and gives day-long training sessions on programming and teaching in Python. Download Now »