Netzke Basepack DataMapper adapter
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
netzke-basepack-dm.gemspec

README.md

Netzke Basepack DataMapper adapter

Allows using Basepack data componets (grids and panels) with DataMapper.

Implements Netzke::Basepack::DataAdapters::AbstractAdapter from Basepack.

Warning: WIP (and not published on rubygems yet). Please, contribute!

Installation

Add this line to your application's Gemfile after 'netzke-basepack':

gem 'netzke-basepack-dm', git: "git://github.com/nomadcoder/netzke-basepack-dm"

And then execute:

$ bundle

Usage

After installation, you should be able to simply configure Basepack components with DataMapper models, e.g.:

MyGrid < Netzke::Basepack::GridPanel
  def configure(c)
    c.model = "MyDataMapperModel"
  end
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

Initially was implemented as part of Basepack by @pschyska