Practical REST on Rails 2 Projects


Book Description

Practical REST on Rails 2 Projects is a guide to joining the burgeoning world of open web applications. It argues that opening up your application can provide significant benefits and involves you in the entire process—from setting up your application, to creating clients for it, to handling success and all its attendant problems. This book is the essential resource for anyone who wants to make their web application a full participant in the new Internet This book is intended for intermediate–to–advanced Rails developers—people who use Rails regularly for sites and applications more complicated than the prototypical roll–your–own blog In particular, it's targeted at Rails developers who want to be good Web 2.0 citizens—sharing the functionality of their app with other sites to the betterment of everyone Application projects include iPhone, Facebook, and REST for the enterprise




Practical Rails Projects


Book Description

This book provides intermediate Rails users with an essential learning aid to take them to higher level, teaching them countless real world techniques via a series of practical project-based chapters. Each chapter takes the reader through the complete process of building up a full-functional Rails web application. Projects taught in the book include a blog, a REST-based task manager, an online IT help desk, a web comic (including image upload facilities,) Wiki, and much more. Techniques learned include speeding up development with plugins, engines and Ruby Gems, styling with CSS libraries, and adding dynamism using Ajax.




Practical Rails Plugins


Book Description

The Rails framework empowers developers with unprecedented levels of productivity by embracing principles such as “convention over configuration” and “don’t repeat yourself”. This paradigm is even apparent at the community level, where developers regularly share their custom framework extensions by way of Rails’ plugins feature. Plugins offer a way for developers to extend the core Rails framework with their own custom features, allowing for rapid integration of features such as authentication, user ratings, and search. Practical Rails Plugins shows you how to capitalize upon the wide variety of plugins at your disposal by guiding you through their integration into a number of interesting projects. You’ll learn how to rapidly augment projects involving asynchronous video transcoding, geocoding and mapping, content management, community ratings, and PDF generation. You’ll also learn how to create and distribute your own plugins. The ultimate guide to building powerful web sites faster using Rails plugins Demonstrates how to use popular plugins within a number of practical (and fully functional) projects and mini–applications Shows you how to create and distribute your own plugins




REST: From Research to Practice


Book Description

This volume provides an overview and an understanding of REST (Representational State Transfer). Discussing the constraints of REST the book focuses on REST as a type of web architectural style. The focus is on applying REST beyond Web applications (i.e., in enterprise environments), and in reusing established and well-understood design patterns when doing so. The reader will be able to understand how RESTful systems can be designed and deployed, and what the results are in terms of benefits and challenges encountered in the process. Since REST is relatively new as an approach for designing Web Services, the more advanced part of the book collects a number of challenges to some of the assumptions and constraints of REST, and looks at current research work on how REST can be extended and applied to scenarios that often are considered not to be a good match for REST. This work will help readers to reach a deeper understanding of REST on a practical as well as on an advanced level.




Practical Ruby Projects


Book Description

Revitalized by Ruby on Rails, the Ruby language continues to grow in popularity. Books like this are necessary to fill the demand. Here is a classic of its kind; required reading for Ruby programmers who have already mastered the basics and want to learn higher level techniques. Practical Ruby Projects presents nine diverse projects that will teach new and innovative techniques in a learn-by-example fashion. They include a turn-based adventure game and a generative music creator. While there are many other Ruby titles, none of them take this unique project-based approach to teaching.




Foundation Rails 2


Book Description

You've heard about this amazing web framework called Ruby on Rails that's taken the world by storm, but thought it was way too complex for you? Think again. Foundation Rails 2 takes you through your first steps in Rails, explaining in plain English how to start building dynamic web applications. And there's never been a better time to jump in to the Rails world, as the release of Rails 2 was a major evolutionary leap forward from previous versions. Unlike other Rails books, this book doesn't throw you into the deep end right away in the hopes that you'll learn to swim. Instead, we'll start out with the basics and continually expand your knowledge until, by the end of the book, we're building a Rails application with dynamic features such as user registration, geocoding, filtering results with AJAX, RSS feeds, and an XML interface. Meanwhile, we'll talk about the important issues that other books often leave out such as testing your application's code, securing your application from hackers, optimizing your code for the best performance, and of course, deploying your application. This book takes a focused approach to guiding you through understanding how the pieces of Rails work individually and how they fit together. Instead of emphasizing boring theoretical discussions, Foundation Rails 2 lets you get your hands dirty with the framework and learn the hows and whys of Rails faster than ever. We start with a tour of what makes Rails special and why you need to learn it, move into a gentle introduction to the high points of programming in Ruby, and then take a tour of a sample Rails application. Next, we dig deeper into the core components of Rails before building a complete Rails application together. By the end of this book, not only will you know how to build Rails applications but you'll understand the reasons behind what you do.




Rails AntiPatterns


Book Description

The Complete Guide to Avoiding and Fixing Common Rails 3 Code and Design Problems As developers worldwide have adopted the powerful Ruby on Rails web framework, many have fallen victim to common mistakes that reduce code quality, performance, reliability, stability, scalability, and maintainability. RailsTM AntiPatterns identifies these widespread Rails code and design problems, explains why they’re bad and why they happen—and shows exactly what to do instead. The book is organized into concise, modular chapters—each outlines a single common AntiPattern and offers detailed, cookbook-style code solutions that were previously difficult or impossible to find. Leading Rails developers Chad Pytel and Tammer Saleh also offer specific guidance for refactoring existing bad code or design to reflect sound object-oriented principles and established Rails best practices. With their help, developers, architects, and testers can dramatically improve new and existing applications, avoid future problems, and establish superior Rails coding standards throughout their organizations. This book will help you understand, avoid, and solve problems with Model layer code, from general object-oriented programming violations to complex SQL and excessive redundancy Domain modeling, including schema and database issues such as normalization and serialization View layer tools and conventions Controller-layer code, including RESTful code Service-related APIs, including timeouts, exceptions, backgrounding, and response codes Third-party code, including plug-ins and gems Testing, from test suites to test-driven development processes Scaling and deployment Database issues, including migrations and validations System design for “graceful degradation” in the real world




Rails Test Prescriptions


Book Description

Provides information on testing procedures and tools for Rails 2 and Rails 3.




Windows Phone 7 for iPhone Developers


Book Description

Bring Your iPhone Apps and Skills to Windows Phone 7—or Build Apps for Both Mobile Platforms at Once If you’ve been developing for the crowded iPhone marketplace, this book will help you leverage your iOS skills on a fast-growing new platform: Windows Phone 7 (WP7). If you’re a .NET programmer, it will help you build advanced WP7 mobile solutions that reflect valuable lessons learned by iPhone developers. If you’re a mobile development manager, it offers indispensable insights for planning cross-platform projects. Kevin Hoffman guides you through the entire WP7 SDK, showing how it resembles Apple’s iOS SDK, where it differs, and how to build production-quality WP7 apps that sell. Step by step, you’ll master each technology you’ll need, including C#, Silverlight and XAML. Every new concept is introduced along with all the tools and background needed to apply it. Hoffman’s practical insights extend into every facet of WP7 development: building user interfaces; hardware and device services; WP7’s unique Application Tiles; Push Notifications; the Phone Execution Model, local storage, smart clients, MVVM design, security, social gaming, testing, debugging, deployment, and more. A pleasure to read and packed with realistic examples, this is the most useful Windows Phone 7 development book you can find. ·¿¿¿¿¿¿¿¿ Compare Apple’s Objective-C and Microsoft’s C#: “second cousins twice removed” ·¿¿¿¿¿¿¿¿ Apply C# object techniques—including encapsulation, inheritance, contracts, and interfaces ·¿¿¿¿¿¿¿¿ Build rich, compelling user interfaces based on Silverlight, XAML, and events ·¿¿¿¿¿¿¿¿ Move from Apple’s Xcode to Visual Studio 2010 and from Interface Builder to Expression Blend ·¿¿¿¿¿¿¿¿ Leverage hardware and device services, including the accelerometer, GPS, photos, contacts, e-mail, and SMS ·¿¿¿¿¿¿¿¿ Create dynamic application Tiles to appear on the Start screen ·¿¿¿¿¿¿¿¿ “Push” raw data notifications to running apps ·¿¿¿¿¿¿¿¿ Understand and use the Windows Phone 7 phone execution model ·¿¿¿¿¿¿¿¿ Efficiently store and retrieve data on WP7 phones ·¿¿¿¿¿¿¿¿ Build “smart clients” that sync locally stored data with web services ·¿¿¿¿¿¿¿¿ Manage growing app complexity through “separation of concerns” and MVVM (Model-View-View Model) ·¿¿¿¿¿¿¿¿ Use TDD and automated testing to accelerate and streamline development ·¿¿¿¿¿¿¿¿ Create casual, connected games and social apps ·¿¿¿¿¿¿¿¿ Secure apps without incurring unacceptable tradeoffs ·¿¿¿¿¿¿¿¿ Successfully deploy apps to the Marketplace




Practical Apache Struts 2 Web 2.0 Projects


Book Description

Practical Apache Struts 2 Web 2.0 Projects is nothing less than one of the first books to cover the agile, lightweight open source Apache Struts 2 Web Framework, an essentially new and improved Struts platform that should meet today’s more agile Java development needs. Apache Struts remains the most popular framework for building Java-driven web sites, despite continued challenges from competitive frameworks and APIs like JavaServer Faces (JSF), Wicket, Grails, and more. The new features incorporated into Struts 2 will help this powerful framework to maintain its top-ranking position for the foreseeable future.