PeepCode Products http://peepcode.com/products en-us 40 XMPP/Jabber with Ruby <p><img src="https://peepcode.com/system/uploads/2008/xmpp-title.png" title="XMPP" alt="XMPP" /></p> <p><small><p>Technical editing by Joshua Sierles, sysadmin at 37signals.</p><p>Content by Geoffrey Grosenbach in collaboration with Casimir Saternos.</p></small></p> <p>Part of our job at PeepCode is to research new and upcoming technologies that alpha geeks are talking about. <span class="caps">XMPP</span>/Jabber instant messaging has been getting more buzz recently. What is it? What does it do? How can you use it to enhance your applications?</p> <p><span class="caps">XMPP</span> 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 <span class="caps">RSS</span>.</p> <p>After viewing this 48 minute screencast, you&#8217;ll be able to work with <span class="caps">XMPP</span> from Ruby, including:</p> <ul> <li>Connect to a Jabber server</li> <li>Send presence notifications and update the user icon</li> <li>Receive message notifications and friend requests</li> <li>Use DRb (distributed Ruby) together with Jabber to send messages from a Rails application</li> </ul> <p>Available to all PeepCode Unlimited subscribers, or at a discount during the month of Peepvember!</p> <p><a href="http://peepcode.com/pages/peepvember"><img src="https://peepcode.com/system/uploads/2008/peepvember-400x75.png" title="November sale" alt="November sale" /></a></p> <p>Now with 25% more pixels than the competition! Uses a full 1000&#215;600 of screen real estate with smoother, high frame rate animations.</p> <p><img src="https://peepcode.com/system/uploads/2008/xmpp-what-can-you-do.png" title="What can you do with XMPP?" alt="What can you do with XMPP?" /></p> <p><img src="https://peepcode.com/system/uploads/2008/xmpp-message-types.png" title="XMPP Message types" alt="XMPP Message types" /></p> <p><img src="https://peepcode.com/system/uploads/2008/xmpp-color.png" title="Changing the user icon with XMPP" alt="Changing the user icon with XMPP" /></p> Fri, 31 Oct 2008 19:26:51 +0000 urn:uuid:OS6P7-sg99M http://peepcode.com/products/xmpp Thinking Sphinx PDF <p><img src="https://peepcode.com/system/uploads/2008/thinking-sphinx-cover.png" alt="" /></p> <p>MySQL (or Postgres) does a fine job when querying specific rows, but it&#8217;s not so great when it comes to searching on large text fields. Sphinx is a search service that makes full text searching quite easy and throws in extra features like boolean search (&#8220;rails OR merb&#8221;), word proximity, and custom filtering.</p> <p>Pat Allan is the author of the popular <a href="http://ts.freelancing-gods.com/">Thinking Sphinx</a> plugin for Rails (and Merb apps that use ActiveRecord!). He also wrote the <a href="http://riddle.freelancing-gods.com/">Riddle</a> gem for lower level interaction with Sphinx. Pat starts out by introducing the basic features of Sphinx, then dives straight into installation on popular platforms.</p> <p>In this 60-page <span class="caps">PDF</span> you&#8217;ll learn to build an address book with Thinking Sphinx starting with simple searches then progressing onto filtered, sorted, and delta-based searches. You&#8217;ll learn about the geo-searching features of Sphinx, including integration with Google Maps.</p> <p>He closes out the book with a 20-page reference that you&#8217;ll want to keep close as you use the more advanced features of Sphinx.</p> <p>If you use MySQL or Postgres databases with text fields, this book will teach all you&#8217;ll need to know to work confidently with Sphinx.</p> <p>Included for all <a href="https://peepcode.com/products/unlimited">PeepCode Unlimited</a> subscribers or available as a single purchase for only US$9!</p> <h3>Chapters</h3> <ul> <li>Understanding Sphinx</li> <li>Installation</li> <li>Building an Address Book with Sphinx</li> <li>Reference</li> <li>Additional Resources</li> </ul> <p><img src="https://peepcode.com/system/uploads/2008/thinking-sphinx-sidebar.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/thinking-sphinx-geo-searching.png" alt="" /></p> Fri, 24 Oct 2008 01:07:22 +0000 urn:uuid:WMZwz-Ccj11 http://peepcode.com/products/thinking-sphinx-pdf Unobtrusive Prototype.js <p><img src="https://peepcode.com/system/uploads/2008/unobtrusive-cover.png" alt="" /></p> <p>By Jarkko Laine, workshop teacher and author of the Apress book <a href="http://www.railsecommerce.com/">Beginning Ruby on Rails E-Commerce</a></p> <p>Modern web developers have learned to organize their server-side code into model, view, and controller.</p> <p>Your front-end development can also benefit from organization into content and behavior, which is much easier to accomplish than you might think. Dare I say that it makes front-end web programming as easy as Visual Basic&#8217;s object and event hooks?</p> <p>Jarkko Laine steps through the features of Dan Webb&#8217;s Low Pro library to help you attach functionality to <span class="caps">HTML</span> elements and events. You&#8217;ll see how Prototype.js can drive a full-featured application and give you organizational tools to keep your Javascript code maintainable.</p> <p>Chapters include:</p> <ul> <li>Towards Accessible Javascript</li> <li>Brief History or Javascript on Rails</li> <li>Introducing Low Pro</li> <li>Refactoring an Existing Rails Application</li> <li>Going <span class="caps">DRY</span> With Multiple Elements</li> <li>Bubbling Performance with Event Delegation</li> <li>More on Behavior Classes</li> </ul> <p>Refactoring your front end code will make it easier to work with, easier to extend, and easier to use. Get the scoop with this PeepCode <span class="caps">PDF</span> book.</p> <p>Available to all <a href="https://peepcode.com/products/unlimited">PeepCode Unlimited</a> subscribers or as a single purchase for only US$9.</p> <p><img src="https://peepcode.com/system/uploads/2008/unobtrusive-layers.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/unobtrusive-bubbling.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/unobtrusive-syntax.png" alt="" /></p> Wed, 15 Oct 2008 23:20:48 +0000 urn:uuid:NTtWm-TAxGp http://peepcode.com/products/unobtrusive-prototype-js CouchDB with Rails <p><img src="https://peepcode.com/system/uploads/2008/couchdb-cover.png" alt="" /></p> <p><small>Technical editing by CouchDB committers Jan Lehnardt and Chris Anderson</small></p> <p>Imagine a world where there is no <span class="caps">SQL</span>. Your database doesn&#8217;t have a schema. You don&#8217;t have to worry about indexes. Replication is built-in. Scaling is part of the plan from day one.</p> <p>This is the world promised to you by <a href="http://incubator.apache.org/couchdb/">CouchDB</a>, an Apache Foundation incubator project in the genre of Amazon&#8217;s SimpleDB (but open source!). This 60 minute screencast clearly explains the forward-thinking features of CouchDB and shows you how to use CouchDB with Rails.</p> <p>This screencast is the product of months of research, a trip across the world to Berlin, hours of coding on the CouchRest gem, and technical editing by a pair of CouchDB committers.</p> <p>You&#8217;ll learn how to install CouchDB from source, how to use the CouchRest gem, and you&#8217;ll build a personal notes application that uses CouchDB. You&#8217;ll learn about different ways to serialize Ruby objects to <span class="caps">JSON</span>. You&#8217;ll write custom views in Javascript and synchronize them to your database. Oh, and you&#8217;ll also learn a bit about the daring personal history behind the CouchDB project!</p> <p>Whether you&#8217;re planning to use CouchDB on an upcoming Ruby project or just want to be informed about current developments in database technology, you&#8217;ll find it in this screencast.</p> <p>The code used in the screencast is included. A typed transcript is also included with the code download. Video is in our new extra-wide 1000&#215;600 format!</p> <p>Available to <a href="https://peepcode.com/products/unlimited">PeepCode Unlimited Subscribers</a> or alone for only US$9.</p> <p><img src="https://peepcode.com/system/uploads/2008/couchdb-imagine.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/couchdb-rev.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/couchdb-map.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/couchdb-toc.png" alt="" /></p> Tue, 23 Sep 2008 05:33:48 +0000 urn:uuid:2Sgd0-cJZtT http://peepcode.com/products/couchdb-with-rails Rails on Facebook <p><img src="https://peepcode.com/system/uploads/2008/facebook-cover.png" alt="" /></p> <p>by Facebooker plugin committers <a href="http://shanesbrain.net/">Shane Vitarana</a> and <a href="http://shortpath.blogspot.com/">David Clements</a></p> <p>People are spending an increasing amount of time on social networks. Facebook is arguably the most popular worldwide social network and offers a simple <span class="caps">API</span> for offering your applications to tens of millions of users with Facebook accounts.</p> <p>This 67 page <span class="caps">PDF</span> will get you up and running with the Facebooker plugin. You&#8217;ll learn to install and configure the plugin. You&#8217;ll send <span class="caps">HTML</span>, Javascript, and images to Facebook (with caching). You&#8217;ll learn about the parts of Facebook that you can augment. Finally, you&#8217;ll learn how to write tests for your Facebook application.</p> <p><strong><span class="caps">BONUS</span>!</strong> Includes a 10 minute screencast that shows how to create and configure the demo application on Facebook.</p> <p>The open source <a href="http://github.com/digidigo/ruby_footprints/tree/master">Ruby Footprints</a> application is used as an example, with code available on GitHub.</p> <p>Included for all <a href="http://peepcode.com/products/unlimited">PeepCode Unlimited</a> subscribers, or available as a single copy for only $9!</p> <p><img src="https://peepcode.com/system/uploads/2008/facebook-diagram.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/facebook-diagram2.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/facebook-appendix.png" alt="" /></p> Thu, 31 Jul 2008 00:39:35 +0000 urn:uuid:262524dc-5e99-11dd-9b0c-00163e26cba8 http://peepcode.com/products/rails-on-facebook Phusion Passenger <p><img src="https://peepcode.com/system/uploads/2008/passenger-title.png" alt="" /></p> <p><small>Technical editing by the creators of Phusion Passenger&#8482;.</small></p> <p><a href="http://modrails.com/">Phusion Passenger&#8482;</a> dropped onto the scene in early 2008 and immediately caused quite a stir.</p> <p>Many developers have hoped for a way to run Rails applications natively inside Apache, and now it&#8217;s possible! Passenger&#8482; 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.</p> <p>After viewing this 54 minute screencast, you&#8217;ll be a Passenger expert. You&#8217;ll learn:</p> <ul> <li>How to deploy to a shared host with Capistrano and Passenger</li> <li>How to setup and configure a development machine from gems or the Passenger development repository</li> <li>How to create <span class="caps">SSL</span> certificates and configure Apache for <span class="caps">SSL</span></li> <li>Troubleshooting tricks for when things go wrong</li> <li>How to use Rails to take the place of mod_rewrite</li> <li>Production tips</li> </ul> <p>Included for all <a href="https://peepcode.com/products/unlimited">PeepCode Unlimited</a> subscribers, or available alone for only $9!</p> <p>Now with 25% more pixels than the competition! Uses a full 1000&#215;600 of screen real estate with smoother, high frame rate animations.</p> <p><img src="https://peepcode.com/system/uploads/2008/passenger-diagram.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/passenger-words.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/passenger-screen.png" alt="" /></p> <p><img src="https://peepcode.com/system/uploads/2008/passenger-chapters.png" alt="" /></p> Fri, 04 Jul 2008 02:41:40 +0000 urn:uuid:bb12aa74-4972-11dd-bad1-00163e26cba8 http://peepcode.com/products/phusion-passenger REST for Rails 2 <p><img src="https://peepcode.com/system/previews/rest-rails-2/site-rest2.png" alt="" /></p> <p>The first <span class="caps">REST</span> screencast was the top-selling screencast at PeepCode for over a year. We&#8217;ve started from scratch and built this one from the ground up for Rails 2 (a few Rails 2.1 features are used, too!).</p> <p>RESTful routes have been a big part of Rails since version 1.2, but they are also very confusing! They&#8217;re all about building your application to deliver <span class="caps">HTML</span> and <span class="caps">API</span>-friendly <span class="caps">XML</span> from a single piece of data.</p> <p>This screencast covers the basics of <span class="caps">REST</span> and walks through a simple application to show how <span class="caps">REST</span> routes work. You’ll learn about the magic that goes on behind the scenes and how you can design a <span class="caps">REST</span> application with confidence.</p> <p>Routes, URLs, forms, testing, and general tips are covered over the course of 57 minutes of the high quality, professional production you&#8217;ve come to expect from PeepCode. We touch on ActiveResource briefly. Simple, clear diagrams are featured throughout.</p> <p>If you are already familiar with how to build a Rails application, this screencast will give you the knowledge you need to convert an existing application to <span class="caps">REST</span> or design a new app with the principles of <span class="caps">REST</span>.</p> <p>Features a handy chapter track for jumping to specific topics. Code samples are included as well.</p> <p>Included with <a href="https://peepcode.com/products/unlimited">PeepCode Unlimited</a> and also available for only US$9!</p> <p><small>Those who purchased this screencast subsequent to December 2007 will receive an automatic upgrade to this new screencast.</small></p> <p><img src="https://peepcode.com/system/previews/rest-rails-2/site-chapters.png" alt="" /></p> <p><img src="https://peepcode.com/system/previews/rest-rails-2/site-diagram.png" alt="" /></p> <p><img src="https://peepcode.com/system/previews/rest-rails-2/site-diagram2.png" alt="" /></p> <p><img src="https://peepcode.com/system/previews/rest-rails-2/site-diagram3.png" alt="" /></p> <p><img src="https://peepcode.com/system/previews/rest-rails-2/site-code.png" alt="" /></p> Mon, 02 Jun 2008 22:12:25 +0000 urn:uuid:fb20dafe-30f0-11dd-8aeb-00163e26cba8 http://peepcode.com/products/rest-for-rails-2 Rails Security Audit PDF <p><img src="https://peepcode.com/system/previews/rails-security-audit/security-cover.png" alt="" /></p> <p>by <a href="http://aaronbedra.com/">Aaron Bedra</a> of <a href="http://thinkrelevance.com/">Relevance</a></p> <p>No one wants to wake up to an application that has been hacked. This 47-page <span class="caps">PDF</span> talks about common vulnerabilities found in Rails applications and how to solve them.</p> <p>After touching on common model and view vulnerabilities, Aaron takes you through a session with the <a href="http://opensource.thinkrelevance.com/wiki/tarantula">Tarantula</a> fuzzing plugin. General server lockdown issues are covered. The book finishes with a sample risk analysis, including assessments of threat capability, vulnerability, and other risk-related issues.</p> <p>Save yourself unnecessary pain and regret by reading this important <span class="caps">PDF</span> today!</p> <p>Included for all <a href="http://peepcode.com/products/unlimited">PeepCode Unlimited</a> subscribers, or available as a single copy for only $9!</p> <p><img src="https://peepcode.com/system/previews/rails-security-audit/security-chart.png" alt="" /></p> <p><img src="https://peepcode.com/system/previews/rails-security-audit/security-page.png" alt="" /></p> Wed, 28 May 2008 08:17:02 +0000 urn:uuid:73ae6d54-2c8e-11dd-9f2f-00163e26cba8 http://peepcode.com/products/rails-security-audit-pdf Receiving Email with Ruby PDF <p><img src="http://peepcode.com/system/previews/mms2r/mms2r-cover.png" alt="" /></p> <p><strong>Previously called <span class="caps">MMS2R</span></strong></p> <p>Web applications become much more useful when powered by the oldest communication technology on the Internet: email.</p> <p>This 60 page <span class="caps">PDF</span> shows how to use the <a href="http://mms2r.rubyforge.org/"><span class="caps">MMS2R</span></a> RubyGem to receive and parse email from both desktop clients and mobile devices. You&#8217;ll learn about:</p> <ul> <li>Using <span class="caps">MMS</span> and email as an <span class="caps">API</span> to your web application.</li> <li>Understanding cellular and mobile gateways for sending and receiving <span class="caps">MMS</span> messages.</li> <li>Setting up scripts to fetch and process email.</li> <li>Automatically removing advertising inserted by carriers.</li> <li>Testing mail reception with Test::Unit and RSpec.</li> <li>Strategies for matching email addresses to user accounts.</li> </ul> <p>As mobile devices become more common, applications need to be able to not only send messages, but receive communication from phones and other handheld devices. This book will give you the knowledge to build applications that accept input from email and <span class="caps">MMS</span> messages. You may even be inspired to start a new application, just to take advantage of how easy it is!</p> <p>Written by <a href="http://sas.quat.ch">Mike Mondragon</a> and <a href="http://railspikes.com/">Luke Francl</a>, authors of the <span class="caps">MMS2R</span> RubyGem and consultants on <a href="http://fanchatter.com/">FanChatter</a> and other mobile sites.</p> <p>Available as part of the <a href="http://peepcode.com/products/unlimited">PeepCode Unlimited</a> package or as a single purchase for only US$9!</p> <p><img src="http://peepcode.com/system/previews/mms2r/mms2r-toc.png" alt="" /></p> <p><img src="http://peepcode.com/system/previews/mms2r/mms2r-page.png" alt="" /></p> Fri, 16 May 2008 22:37:40 +0000 urn:uuid:b107177c-2398-11dd-a871-00163e26cba8 http://peepcode.com/products/mms2r-pdf Git Internals PDF <p><img src="http://peepcode.com/system/previews/git-pdf/gitbook-cover.png" alt="" /></p> <p>Many have learned the basics of using Git from the PeepCode <a href="http://peepcode.com/products/git">Git screencast</a>. In this <span class="caps">PDF</span>, Scott Chacon goes even further to explain the distributed filesystem behind the popular source code management system.</p> <p>If you&#8217;re tired of terse man pages or academic white papers, you&#8217;ll enjoy more than four dozen colorful diagrams that clearly explain the complicated inner workings of Git.</p> <p>The first 50 pages explain the storage system that powers Git, and an additional 60 pages go into detail about using Git on a day to day basis. You&#8217;ll learn not only how to use the basic commands, but will also learn different strategies for working via either a centralized or distributed collaboration model. This is a great companion to the existing PeepCode screencast or a useful book in its own right.</p> <p>As a bonus, several short screencasts are included which show how to use the basic Git commands.</p> <p>The Git source code control system continues to win over developers who are impressed with the speed and flexibility of the distributed workflow. Go beyond the basics with this <span class="caps">PDF</span> from PeepCode.</p> <p>Available as part of the <a href="http://peepcode.com/products/unlimited">PeepCode Unlimited</a> package or as a single purchase for only US$9!</p> <p><img src="http://peepcode.com/system/previews/git-pdf/gitbook-commits.png" alt="" /></p> <p><img src="http://peepcode.com/system/previews/git-pdf/gitbook-files.png" alt="" /></p> <p><img src="http://peepcode.com/system/previews/git-pdf/gitbook-trees.png" alt="" /></p> Tue, 29 Apr 2008 04:18:27 +0000 urn:uuid:50df6e24-15a3-11dd-9321-00163e26cba8 http://peepcode.com/products/git-internals-pdf TextMate for Rails 2 <p><img src="https://peepcode.com/system/previews/textmate2/textmate-title.png" alt="" /></p> <p>Content and filming by Dr. Nic Williams, voiceover by Geoffrey Grosenbach.</p> <p><a href="http://drnicwilliams.com/">Dr. Nic Williams</a> has been hard at work on an updated <a href="http://macromates.com/">TextMate</a> bundle for Rails 2.0.</p> <p>This 66 minute screencast shows many of the new features of the <a href="http://github.com/drnic/ruby-on-rails-tmbundle/tree/master">Rails 2 TextMate bundle</a>. It finishes by showing you how to write your own snippets and commands.</p> <p>Being able to use the built-in shortcuts and script your own snippets can make you a happier and more productive programmer.</p> <p>If you own a copy of TextMate but wish you were more familiar with the most frequently used keyboard shortcuts, this screencast will help orient you with what’s possible.</p> <p>Still only $9, or buy a <a href="https://peepcode.com/products/unlimited">PeepCode Unlimited</a> account for $10 off until March 21.</p> <ul> <li><a href="http://peepcode.com/system/previews/textmate2/peepcode-textmate2-cheat-sheet.pdf">Download the free cheat sheet</a></li> </ul> <p><img src="https://peepcode.com/system/previews/textmate2/textmate-menu.png" alt="" /></p> <p><img src="https://peepcode.com/system/previews/textmate2/textmate-diagram2.png" alt="" /></p> <p><img src="https://peepcode.com/system/previews/textmate2/textmate-diagram.png" alt="" /></p> Sat, 15 Mar 2008 19:46:15 +0000 urn:uuid:7913406c-f2c8-11dc-ab0a-00163e26cba8 http://peepcode.com/products/textmate-for-rails-2 Plugin Patterns for Rails 2 <p><img src="https://peepcode.com/system/previews/plugin-patterns/pp-cover.png" alt="" /></p> <p>by <a href="http://airbladesoftware.com/">Andrew Stewart</a></p> <p><strong>Updated for Rails 2.1</strong></p> <p>Plugins are the approved way to add custom features to Rails or even modify its built-in behavior.</p> <p>This 100 page <span class="caps">PDF</span> book walks through common techniques for augmenting models, views, controllers and routes. You&#8217;ll also learn about the important parts of a generator, all in ways compatible with Rails 2.1.</p> <p>If you&#8217;ve wanted to write an acts_as plugin or if you&#8217;ve wondered what alias_method_chain really does, this is the book for you.</p> <p>Only US$9, or available to <a href="https://peepcode.com/products/unlimited">PeepCode Unlimited</a> members immediately!</p> <p><img src="https://peepcode.com/system/previews/plugin-patterns/pp-page.png" alt="" /></p> <p><img src="https://peepcode.com/system/previews/plugin-patterns/pp-diagram.png" alt="" /></p> Fri, 29 Feb 2008 23:34:07 +0000 urn:uuid:d1e9e4bc-e71e-11dc-933a-00163e26cba8 http://peepcode.com/products/rails-2-plugin-patterns PeepCode Unlimited <p><a href="http://peepcode.com/pages/peepvember"><img src="https://peepcode.com/system/uploads/2008/peepvember-400x75.png" title="November sale" alt="November sale" /></a></p> <p>By popular demand, we are proud to offer PeepCode Unlimited. This package provides you with access to all PeepCode content for a full year.</p> <p>For a one-time price of $149 (on sale for $129 during November!), you&#8217;ll get access to our existing 20+ screencasts and PDFs, plus all the new content we publish for a year (from the date of purchase).</p> <p><img src="https://peepcode.com/images/screenshots/sample-unlimited.png" alt="" /></p> <h3>How many people can use the Unlimited plan?</h3> <p>A PeepCode Unlimited account is licensed for one developer. Contact us at peepcode@topfunky.com if you would like to purchase the Unlimited plan for a company, team, or school.</p> <h3>Can I purchase PeepCode Unlimited for just a month or two?</h3> <p>This plan is only offered as a full year purchase. We also offer discounts on <a href="/products/subscription-pack-of-5">five</a> and <a href="/products/subscription-pack-of-10">ten</a> credits if you aren&#8217;t ready for the Unlimited plan.</p> <h3>What if I already have purchased some screencasts or PDFs? Or what if I have credits in my account?</h3> <p>You&#8217;ll continue to have access to the products you have purchased, and the unspent credits in your account will remain available for future use. Any downloads made as part of your Unlimited plan will not count against existing credits from your 5-pack or 10-pack.</p> <h3>What happens when my subscription runs out?</h3> <p>PeepCode Unlimited gives you access to all PeepCode content, but only for a year. After a year, you can choose to buy another year of PeepCode Unlimited (you will not be billed automatically).</p> <p>Your account will revert to include only the items you have paid for previous to joining the Unlimited plan.</p> <p><small>Purchase of PeepCode Unlimited comes with no guarantee that a certain number of screencasts or PDFs will be released over the next year.</small></p> Wed, 20 Feb 2008 19:33:21 +0000 urn:uuid:b1e4e346-dfea-11dc-99b4-00163e26cba8 http://peepcode.com/products/unlimited Meet Merb PDF Draft <p><img src="http://peepcode.com/system/previews/merb/merb-cover.png" alt="" /></p> <p><strong>Updated this week! Includes a draft of a 50-minute screencast.</strong></p> <p><a href="http://merbivore.com/">Merb</a> is a Rails clone.</p> <p>So why should you use it?</p> <p>It&#8217;s a great companion to Rails for specific tasks like concurrent file uploads. It can also hold its own for small single-file applications and larger high performance, thread-safe installations.</p> <p>This 60-page draft <span class="caps">PDF</span> presents the philosophy of Merb and shows you how to setup a Merb application, work with controllers, and build models.</p> <p><strong>Future updates to this <span class="caps">PDF</span> are free to those who purchase this draft</strong> and will explore more advanced controller features and show how Merb approaches forms, templates, and testing.</p> <p>A Merb screencast will also be released in the next few months as a separate $9 purchase.</p> <p>Merb is still somewhat experimental and bugs are being discovered and fixed. However, it is a great experimental framework for the developer who wants to stay on the edge of web application development technology.</p> <p><img src="http://peepcode.com/system/previews/merb/merb-page.png" alt="" /></p> Sat, 16 Feb 2008 22:00:24 +0000 urn:uuid:92fd4c10-dcda-11dc-8c13-00163e26cba8 http://peepcode.com/products/meet-merb-pdf-draft ActiveMerchant PDF <p><img src="http://peepcode.com/system/previews/activemerchant/activemerchant-cover.png" alt="" /></p> <p>by <a href="http://www.codyfauser.com/">Cody Fauser</a>, ActiveMerchant committer and <a href="http://www.shopify.info/?ref=topfunky">Shopify</a> developer.</p> <p>Most online businesses need to receive payment. If you&#8217;re developing with Ruby, the standard for credit card authorization and capture is <a href="http://www.activemerchant.org/">ActiveMerchant</a>.</p> <p>ActiveMerchant provides a consistent interface to over 30 gateways all around the world and has processed millions of dollars of transactions since 2006. This 70 page book starts with a simple payment and steps through the development of database models and gateway interaction code within a Rails application.</p> <p>You&#8217;ll also learn how to write a comprehensive test suite and integrate the Acts as State Machine plugin to build a reliable payment processing system. Finally, you&#8217;ll learn about industry standards and security precautions.</p> <p>Many books show you how to build a Rails-based shopping cart, but this is the only book to take you the rest of the way through to payment authorization and capture.</p> <p><strong>Purchase includes downloadable code samples used in the book.</strong></p> <p><span class="caps">NOTE</span>: This <span class="caps">PDF</span> does not talk about recurring billing. It does mention credit card storage regulations but recommends that you use a third-party service to store credit card numbers.</p> <p>Examples use the <a href="http://www.braintreepaymentsolutions.com/">Braintree Payment Gateway</a> but are relevant for any gateway supported by ActiveMerchant.</p> <p><img src="http://peepcode.com/system/previews/activemerchant/activemerchant-diagram.png" alt="" /></p> <p><img src="http://peepcode.com/system/previews/activemerchant/activemerchant-page.png" alt="" /></p> Tue, 29 Jan 2008 20:47:08 +0000 urn:uuid:5ba8a404-ceab-11dc-9cb6-00163e26cba8 http://peepcode.com/products/activemerchant-pdf