You are previewing Implementing AppFog.
O'Reilly logo
Implementing AppFog

Book Description

Getting to grips with the AppFog service is easily achieved with this hands-on guide, which walks you through creating and deploying applications to the cloud. You’ll be developing your first application in minutes.

  • Create applications from scratch using the AppFog web console

  • Learn the knack of deploying applications to the Cloud using AppFog

  • Know the steps to avoid compatibility issues using the node module function of AppFog.

  • In Detail

    AppFog is the leading platform-as-a-service provider of PHP, Ruby, Node.js, and Java solutions. It is used by developers worldwide to deploy tens of thousands of applications. AppFog delivers a reliable, scalable, and fast platform for deploying applications in the cloud.

    This book is a hands-on guide that will walk you through creating and deploying applications to the cloud using AppFog, which will allow you to get your application deployed without the hassle of setting up servers.

    This book demonstrates how to use the AppFog service to build an application and have it running in the Cloud. It will walk you through the initial AppFog setup process and explain how to create your first application in minutes.

    You will also discover how to use services such as databases to make your applications more powerful. You will also learn how to create applications from scratch.

    You will find out everything you need to know to get an application running in the cloud for the first time.

    Table of Contents

    1. Implementing AppFog
      1. Table of Contents
      2. Implementing AppFog
      3. Credits
      4. About the Authors
      5. About the Reviewers
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Getting Started with AppFog
        1. About AppFog
        2. Creating an account
        3. Creating and deploying a preconfigured application
        4. Using the application control panel
        5. Summary
      9. 2. Using the Command-line Tool
        1. Installing the AppFog Gem
        2. Logging in
        3. Getting application statuses
        4. Downloading the application
        5. Fixing the application for Ruby 1.8.7
        6. Running the application
        7. Modifying the application
        8. Updating the running application
        9. Summary
      10. 3. Configuring Services
        1. Creating a database console application
        2. Configuring the database console
        3. Creating and attaching a MySQL service
        4. Creating and populating a database table
        5. Binding a service to an application
        6. Using the database in the application
        7. Making changes to app.rb
        8. Changes to views/index.erb
        9. Changing Gemfile
        10. Summary
      11. 4. Creating an Application from Scratch
        1. Creating an application
        2. Testing the application
        3. Publishing to AppFog
        4. Command-line options
        5. Testing the published application
        6. Managing the published application
        7. Summary
      12. 5. Command-line Reference
        1. Finding help
        2. Getting account information
        3. Creating and updating an application
        4. Gathering application information
        5. Managing your application
        6. Using services
        7. Creating aliases
        8. Summary
      13. A. Installing the AppFog Gem
        1. Installing on Macintosh
        2. Installing on CentOS
        3. Installing on Ubuntu
        4. Installing on Windows
        5. Using the Ruby Version Manager
      14. Index