Hi all, I just released the new version of my CMS AdminPages as a Rails
engine.
It uses the Dojo Toolkit for UI elements.
Features:
Manipulate pages and content with Drag n Drop,
Pages in a sortable tree,
easy to define new page elements,
“Nice” URLs,
Page Caching,
Rich Text Editor,
multiple columns per page,
custom content types,
Layout scaffolding
BSD license
(…)
It should run under recent IE and firefox versions, I did not yet test
with Safari or Opera. The tree does not appear under Konqueror, I’m sure
it will work in the future.
So if you like the system, you are very welcome to contribute! We need
more page elements, and of course a lot of testing.
Documentation is in the README file included in the package.
Hi all, I just released the new version of my CMS AdminPages as a Rails
engine.
It uses the Dojo Toolkit for UI elements.
Interesting!
Did you try to use Dojo and Prototype in the same page? From what I
saw you didn’t include prototype, is there a particular reason
(conflict)?
I’m very interested in dojo for some widgets, but would use prototype
and scriptaculous on the same pages.
Raph
Hi Raph,
actually I had the whole system use Scriptaculous, but switched to dojo
in the middle of the project. I did that because the drag and drop
functionality of dojo is generally more refined, and especially because
it allows nested drop targets. The tree widget is really cool, too.
You can load both libraries, just take care to load scriptaculous after
including all dojo libraries. This is neccessary because prototype
extends/pollutes the main address space of JavaScript and gets in the
way of dojos load scripts.
Martin, that looks great. I haven’t looked at the code yet, but did you
manage to use the rails helpers for the dojo stuff or did you create
rails
helpers for the dojo stuff ?
regards
Roberto
Hi Roberto,
glad you like it!
I did not create helpers, because my functions were all very customized
the chance of reusability was very low. I put all functions into a .js
file and call them in the code with tags.
The difference in using dojo and scriptaculous is that dojo does not
have those basic functions like “new droppable”. You get all the stuff
you need, but have to plug them together yourself.
This is not good if you want to do standard stuff like a highlight
effect, but it is better when you want to do things the library
developers did not think of.
And Dojos event system simply kicks ass
I had to do a new release because of some bugs in column sorting and the
image upload element. The new release is 0.2.2.
Get it here: http://rubyforge.org/frs/?group_id=1429
Martin, that looks great. I haven’t looked at the code yet, but did you
manage to use the rails helpers for the dojo stuff or did you create
rails
helpers for the dojo stuff ?
regards
Roberto
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.