Baseapp-orange updated v4

This was the fourth major update for my customized fork of baseapp, the next step will be to probably move some of the stuff to plugins and turn this into a rails template. We’ll see.

Anyway, the changes were:

Update V4

  • Cleaned up code
  • Common controller code lives in app/controllers/admin_controller.rb
  • Common model code lives in lib/common_oranges_for_models.rb
  • Integrated with CKEditor and Paperclip
  • Integrated with translatable_columns that provides proxies for localized columns, depending on the locale set by I18n.
  • Better use of inherited_resources
  • Added themes, a quick way to associate a page with a given controller, ex: /news handles news
  • Improved adminator generator:
    • create a model: script/generate model Topic title_en:string title_nl:string title_de:string title_fr:string
    • run the migration: rake db:migrate
    • add the route: admin.resources :topics
    • run the generator: script/generate adminator topic

TODO

  • Total support for  i18n (backoffice and frontend)
  • Add tests with RSPEC
  • Read menu configuration from yaml or database
  • Add a Form generator
  • Integrate with google analytics
  • Turn this into a Rails Template
  • More generators like,  one to many and many to many relationships
  • Replace restful authentication and role requirement with authlogic

Download or fork Baseapp-orange at github.

Here’s some screenshots:



Other Entries

About

Reinventar is the home of Pedro Sousa, an entrepreneur and developer living in Lisbon, Portugal.

I co-founded Think Orange, created Book Worms and I'm also involved in the Ruby on Rails community and in the SHiFT organization.

I usually write here about design, web, technology, lifestyle and other random ideas.

Photos

new ambient lightsnew flipchartcowork lisboa entrancehole in the wall

Interesting

PROJECTS

Think Orange Book Worms SHiFT

Recommended Reading