A pack of pre-built Netzke components, such as grid, form, tab panel, etc. Learn about Netzke on netzke.org.
Ruby 1.9.2 (1.8.7 may work, too)
Rails >= 3.0.0
Ext JS >= 3.3.0
In your Gemfile:
For the “edge” stuff, tell bundler to get the gem straight from GitHub:
gem 'netzke-basepack', :git => "git://github.com/skozlov/netzke-basepack.git"
Read the “Embedding components into Rails views” section on github.com/skozlov/netzke-core
Embed a basepack component into a view as any other Netzke component, e.g.:
<%= netzke :books, :class_name => 'Basepack::GridPanel', :model => 'Book' %>
(assuming model 'Book' exists)
For more examples, see demo.netzke.com, and look into test/rails_app
Netzke-basepack is bundled with automated tests. To run them, you need to set up test/rails_app a similar way as you did with your own Rails app that is using Netzke, i.e.: 1) link Ext JS into the “public” folder, 2) link your copy of netzke-core and netzke-basepack into vendor/gems, 3) run migrations and clone the development database structure into the test database.
After this you may run (*from test/rails_app*):
The test/rails_app application is also a convenient playground, as it may be run as independent Rails 3 app. After starting it, access any of the lib/netzke widgets by using the following url:
http://localhost:3000/components/<name of the component class>
Netzke-basepack can make use of FamFamFam Silk icon set (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.
Official project site: netzke.org
Twitter (latest news about Netzke): twitter.com/skozlov
Many (if a bit outdated) tutorials: blog.writelesscode.com
Copyright © 2008-2010 Sergei Kozlov, released under the MIT license