advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Sidebar 1. Using Subversion for Version Control
Sidebar 2. What If I Need to Scale?
Partners & Affiliates
advertisement
advertisement
Rate this item | 0 users have rated this item.
 Print Print
 
Real-Life Rails: Develop with NetBeans, Deploy on Linux
Find out how to leverage the Ruby and Rails support in NetBeans 6.0, and then learn some techniques for deploying Rails applications on a Linux server efficiently. 

advertisement
he Ruby language's conciseness makes it great for development—fewer lines of code means reduced development time and maintenance costs. Rails, the Ruby-based web application framework, can be equally developer-friendly, but some developers have encountered scaling limitations when deploying large-scale Rails web applications. While scaling Rails applications over many servers to handle many thousands of concurrent users can indeed lead to problems, with the proper tools and techniques developers can deploy small- and medium-scale Rails applications effectively.

In this article, I explain how to do just that using my preferred Ruby and Rails development IDE NetBeans 6.0, some open source server and caching systems, and the typical Rails application I work with: running on a single server and needing to support only 100 or so concurrent users. The article begins by walking you through how to set up NetBeans 6.0 for Ruby and rails development, and then moves on to techniques for deploying Rails applications efficiently.

This article assumes you have some experience with Rails development (in particular, creating a Rails application and using the Rails command-line tools) and version control (in particular, installing and using the command-line SVN tools—see Sidebar 1. Using Subversion for Version Control). It also assumes you know how to set up a Linux server for production (with Ruby, Gem, and Rails installed). It will not provide instructions for setting these up. To get the most out of this article, you will need the following technologies in addition to Rails and your Linux server:

What You Need
NetBeans 6.0
The nginx HTTP and proxy server
The Mongrel server
The memcached system

Page 1 of 4
advertisement
  Next Page: Leveraging NetBeans 6.0 Ruby and Rails Support
Page 1: IntroductionPage 3: Techniques for Efficient Rails App Deployment
Page 2: Leveraging NetBeans 6.0 Ruby and Rails SupportPage 4: Installing and Configuring the nginx Proxy and Web Server
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES