An example ruby application
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
domain/lib/wallpaper
mapping/lib/wallpaper/sqlite_mappers
README.md

README.md

Wallpaper (an example app)

This is an example app using sinatra as a routing layer. Please excuse the boiler plate in app/lib however I chose to interact with racks request and response objects directly.

To get things running:

cd app
bundle install
rackup

What's the point?

I wrote this example application to express a way of creating apps that feels comfortable to me. Some goals of this layout:

  • Separating domain from application logic
  • Moving away from standard MVC project layout
  • Use of dependency injection where appropriate

Thanks

I have quite a lot of thanks to give, I will assemble a list soon :)

Author

Luke Morton a.k.a. DrPheltRight

License

MIT