Coder Social home page Coder Social logo

kds_rails_ws's Introduction

Maintainable Ruby on Rails

This repository contains material for the Maintainable Ruby on Rails workshop at Knowit Developer Summit 2013. Presented by @bmaland and @edmellum.

Requirements

You'll need Ruby 1.9.3 or newer + git. If you don't have this already:

  • Windows/Mac: Install Rails using RailsInstaller.
  • Linux: Install Ruby 1.9.3 or newer using your package manager or RVM.

Also make sure that you have Rails 3.2.x installed by running gem install rails. Verify by running rails --version.

Resources

These are some excellent resources for tips/inspiration on using Rails and Rails engines. These will probably useful while you're working on the exercies. :-)

Rails specific

Engine specific

Exercises

Form small teams, 2-3 people. Hopefully you'll be able to present something (code/UI/features/ideas) at the end of the workshop.

Up and running

Start by cloning the KDS Talks starter app: git clone git://github.com/bmaland/kds_talks.git.

Run the following steps:

cd kds_talks
bundle install
rake db:migrate
bundle exec rake kds:import_talks
bundle exec rails server

In theory you should now have a working Rails application running at http://localhost:3000. If not, shout out and we'll help you along.

Part 1 - Working with third party engines

While working with these engines, take note of which techniques they use for letting you customize their behaviour. Don't be afraid to look at the source code!

  • Install devise for adding authentication/signup/etc to your application.
  • Install active_admin for administration of the content in your application.

If you have more time before the break, consider adding a new feature to the application which requires signup. E.g. commenting or likes on the talks. You could also try out the kaminari engine for pagination.

Part 2 - Creating your own engines

Choose on of the following ideas, or do something entirely different if you got some good ideas!

kds_rails_ws's People

Contributors

bmaland avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.