Dojo and Rails integration plugin
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators
lib
tasks
test
.gitignore
MIT-LICENSE
README.rdoc
Rakefile
init.rb
install.rb
uninstall.rb

README.rdoc

Depo (Dojo On Rails)

Is attempt to automate many tasks and practices in building RIA using Dojo and Rails.

Installation

  1. sudo gem install depo or in config/environment.rb:

    ...
    config.gem 'dojo_src',:version=>'[DOJO_GEM_VERSION]'
    config.gem 'depo'
    ...

    >> sudo rake gems:install

  2. rake dojo:install

FEATURES ABSTRACT:

  • Some conventions and practices about Dojo-Rails project structure and management

  • Automate dojo installation and update

  • Automate builds

  • Generators for custom widgets (DijitGenerator) and one page applications

  • ActionView Helper

SAMPLE CONFIGURATION:

Depo.configure {
  author 'niquola'
  themes ['basic']
  default_theme 'basic'
  base_webpath '/myapplication'

  build_options {
    cssOptimize 'comments.keepLines'
    optimize 'shrinksafe.keepLines'
    cssImportIgnore '../dijit.css'
    internStrings 'true'
  }

  build_profile {
    libs<< 'app'

    pages<< "app.pages.dashboard"
    pages<< "app.pages.admin"
  }
}

CHANGE LOG:

  • 0.0.5 remove dependency from dojo_src, to extenrnalize control over it

  • 0.0.7 add app_package customization (default left 'app')

  • 0.0.8 kung_figure dependency updated

LICENSE:

(The MIT License)

Copyright © 2010 niquola

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.