|
|
|
From Java to Rails – what do I need to know?
|
|
3 points
by bucma
4131 days ago
|
|
I'm trying to make the move from corporate java development to Ruby on Rails development, and I'm trying to put together a list of things I need to learn. For context, what I know & don't know already in that domain: Know: ruby itself, a decent amount of html, some css, a tiny bit of javascript. I've messed around a little bit with wicket & spring on the java web dev side, although I'm more comfortable with swing and backend-y things. Don't really know: any advanced javascript or CSS tricks; Framework-style programming in general seems a bit awkward for me. So- any good ideas of what I should be looking at beyond rails tutorials? Thanks! |
|
Things to include in your example app so you can learn the ins/outs of how rails does it:
- Nested models: comments on photos and how to organize the models, many to many relationships
- Rendering Partials: you can factor out pages into partials and essentially load them anywhere in the app
- Gems ecosystem: check out rubytoolbox (.com I think) for categories of gems. These are like Java JAR files you can include via Maven. The popularity and activity level are good ways to assess usefulness (outside of requirements)
- Host your own server: learn how Rails apps run on a server and different options for running it. There are providers out there like Heroku where you can just deploy to them but I think it is best to understand how these work. You probably understand how Tomcat or other Java containers work, where to look for log files, how it might interoperate with Apache HTTPD, etc.