Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (15 sloc) 2.52 kb
a0a0eb7 Mark Menard Mark Menard - So You Want to Port to Rails
MarkMenard authored
1 # So, You Want to Port to Rails #
2
3 ## by Mark Menard ##
4
5 ### Abstract ###
6
7 You have a legacy app that you wish was running on Rails. Get some insight from a port of a seven year old application written in Java and Groovy using Struts 2, JPA and a bunch of other Java frameworks. Learn the strategies we used to successfully port core business logic while maintaining correctness. How we leveraged JRuby to enable an incremental approach. How we ported tests while maintaining the same semantics. How we automated translation of code from Java and Groovy to Ruby. How we were able to make the system more easily modular and break it into services. Where we tripped up, and caused ourselves problems. Learn from our mistakes so you don't have to repeat them. And finally why would you EVER do this?
8
9 ### Additional Notes ###
10
11 Myself and my team have been working with JRuby in production since August 12, 2008 starting with Rails 2.1. We have gained a lot of experience working with JRuby and integrating with Java libraries, and running Rails in conjunction with other Java web frameworks. Recently our client asked us to port the Java and Groovy portion of their application to Rails.
12
13 A few years ago I undertook an attempt at porting the services layer of this application to Ruby and Active Record and stopped because it was a flawed approach. The lessons learned from that effort fed into the current port and have helped it succeed.
14
15 I attended the Voices that Matter Ruby conference ages ago. It would be awesome to come back and reconnect with
16
17 My speaker bio:
18
19 Mark Menard is the founder of Enable Labs, a boutique consulting firm, in Troy, NY, specializing in product develoment, business productity and problem solving. Mark recently did the Intro to Ruby and Rails at LosAngeles Ruby Conf, and has spoken on Ruby at several events including BarCamp Albany and CodeCamp Albany. He has also spoken on Software Patents at TEDxAlbany in 2010. Mark frequently presents on Ruby issues at the TechValley Ruby Brigade; and does training sessions covering Ruby, Rails, refactoring, test/behavior driven development, and other software development topics.
20
21 Mark used to be a Java developer and caught the dynamic language bug when he started coding in Groovy and then discovered Ruby. Since then he has added iOS development using Objective-C, Ruby's twin separated at birth.
22
23 ## Social ##
24
25 * [http://enablelabs.com](Business Site)
26 * [http://twitter.com/mark_menard](Twitter)
27 * [https://github.com/MarkMenard](GitHub)
Something went wrong with that request. Please try again.