Composer & Continuous Integration

Automated testing is widely used to identify regressions in libraries and applications in different environments and with varying configuration.

No matter whether you employ Test-Driven Development, have a set of acceptance tests from Behaviour-Driven Development, or use a suite of functional tests to ensure your application works as you expect, the goal of automated testing is to quickly provide engineers with reliable information on potential problems.

Continous Integration (CI) is the practice of continuously (and automatically) testing every change a developer makes. So automated tests become an integral part of the development process providing direct feedback on changes made.

The Need For Testing

Traditionally, PHP projects did not have build processes. PHP is not a compiled language, so there was no need. However, because of advancements in front-end development, build processes are a common aspect of modern web projects. From minified and modularised JavaScript, CSS pre-processors, and so on. Because of this, using Composer to manage your PHP libraries is usually only an addition to the existing build process. While PHP libraries may not previously have needed a build process, testing their integration with dependencies now requires installing the dependencies through Composer.

Read More

How to use Environment Variables on Engine Yard with Envyable

If you're building an application in this day and age, chances are that you're following methods from the Twelve-Factor App. One of these is to store configuration in the environment versus hard-coding them in your application.

With Engine Yard, it's typically recommended that you write some custom Chef to modify your environment. If you’re only dropping in configuration files, like the secrets.yml file that Rails uses, Chef is a bit of an overkill. An easier way is to use the Envyable gem to load environment variables when the application is started.

Before we look at Envyable, let's see some environment variable usage in a typical Rails application.

Read More
Learn about Engine Yard
Try Engine Yard for your Ruby or PHP Apps

Code Reviews on Autopilot: A Quick-Start Guide to Git Reflow

For the past several years, Engine Yard has sponsored the Fukuoka Ruby Awards which highlight interesting projects created with Ruby that help move the industry forward. This year's winner of the Engine Yard award is git reflow, a tool that helps to enforce development best practices.

What is git reflow?

Git reflow is a ruby gem that extends git with a few additional commands to connect with GitHub, BitBucket, or GitHub Enterprise. These commands let you create pull requests from the command line and provide a standardized method of delivering completed branches.

Let's take a closer look at how to use this tool.

Read More

Engine Yard Becomes Founding Corporate Sponsor of Ruby Together

All of the infrastructure used by Ruby developers today, including Bundler, RubyGems, and has been maintained and developed for many years entirely by volunteers. While it's good that no one company controls resources shared by the community, it's terrible that the only people who work on our shared infrastructure are doing so for free, in their spare time.

Ruby Together was founded so the community can cooperate to solve that problem. It will fund on-call rotations, maintenance work, and improvements to the shared, public infrastructure used by the entire Ruby community.

Read More

Engine Yard Joins Forces With OpDemand

Engine Yard has always been dedicated to providing the best possible platform for your production applications. With thousands of deployed applications and happy customers supported by our platform, our success speaks for itself.

The leading edge of technology is not static for long, though. To support our customer's rising adoption of container based solutions, we are pleased to announce that Engine Yard is joining forces with OpDemand, the creator of Deis.

Deis is the leading Docker-native open source platform in use by over 200,000 developers around the world. Join them: download Deis today!

Here’s how the Deis and Engine Yard Platforms fit together to support both Docker container apps in Deis and Ruby on Rails, PHP, and other apps on our curated stacks and services.

With the Deis platform, you can use build packs to run Ruby, Python, Node.js, Java, Clojure, Scala, Play, PHP, Perl, Dart, and Go—as well as any application described in a Dockerfile or Docker Image. Choose the programming language and the tool chain that best suit your needs.

Deis also allows your team to:

  • Decrease spend by sharing server resources
  • Use simple developer-oriented workflows
  • Spin up application containers in seconds
  • Deploy to public, private, and bare metal clouds
  • Bring your application to market quickly and successfully

Engine Yard is dedicated to supporting this critical open source project and we welcome contributions and input from everyone. All of the OpDemand employees will join the Engine Yard team and continue contributing to the open source project.

Engine Yard will continue to run an open roadmap process for Deis and we are committing to contribute major advances to the project in the areas of scheduling, orchestration, and application monitoring.

Our merged teams will bring hard won expertise supporting thousands of applications in production. This means that customers who deploy Docker containers on Deis will be able to immediately access expert support.

Our support plans scale with your needs, from cost-conscious minimal support to robust 24x7x365 proactive support with access to dedicated engineers when needed. With a track record of sustained customer satisfaction levels above 98%, we look forward to helping you scale your applications and business.

Here’s what you can look forward to:

  • A steady stream of innovations in the orchestration of applications from Engine Yard for both container based and Server based applications
  • Rock solid support that backs developers up with superb operational expertise
  • Professional services to help developers scope and build innovative applications that address new markets in record time
  • A company that will do whatever it takes to make customers successful

We’ve got your app. Get started today!


Look through our specially curated posts to get focused, in-depth information on a single topic.