Pre-built feature-packed Netzke components
A pack of pre-built Netzke components that can be used as building blocks for your webapps.
Notes on versioning:
Basepack includes the following components:
Besides, Basepack implements:
In your Gemfile:
gem 'netzke-basepack'For the "edge" stuff, instruct bundler to get the gem straight from GitHub:
gem 'netzke-basepack', github: "netzke/netzke-basepack"Embed a basepack component into a view as any other Netzke component, e.g.:
This will give you a grid with all the many features, configured to use your Book model.
For detailed examples with code see http://demo.netzke.org
Before running the tests, you must link your Ext JS library to spec/rails_app/public, e.g. (from the gems's root):
$ ln -s PATH/TO/YOUR/EXTJS/FILES spec/rails_app/public/extjsThe bundled spec/rails_app application used for automated testing can be easily run as a stand-alone Rails app. It's a
good source of concise, focused examples. After starting the application, access any of the test components (located in
app/components) by using the following url:
http://localhost:3000/netzke/components/{name of the component's class}For example http://localhost:3000/netzke/components/Grid::Books
To run all the tests (from the gem's root):
$ rakeSourcing Ext JS files from Sencha CDN is not possible with Basepack at the moment.
Using ActiveRecord as its default ORM, Basepack is designed to be extendable with data adapters for other ORMs. If
you're thinking about implementing an adapter, AbstractAdapter and ActiveRecordAdapter classes can be used as a
reference.
There's some work being done in the direction of implementing DataMapper and Sequel adapters, but at this moment the code is broken.
Netzke Basepack can make use of FamFamFam Silk icon set (http://www.famfamfam.com/archive/silk-icons-thats-your-lot/).
To enable this, download the icons and put the "icons" folder into your app's public/images folder. Then restart your
application.
Help developing Netzke by submitting a pull request when you think others can benefit from it.
If you feel particularily generous, you can donate a couple of bucks weekly at Gratipay.
Copyright (c) 2009-2016 Good Bit Labs, released under the same license as Ext JS
No open issues yet, or sync has not completed.