[ANN] AdminPages Rails CMS is now an engine


#1

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
(…)

There’s a running demo at http://adminpages.flowdev.de
The server is pretty bad, so expect downtimes.

Here’s a screenshot:
http://gonzo.uni-weimar.de/~scheffl2/bilder/adminpages.jpg

The project homepage is http://rubyforge.org/projects/adminpages

Download:
http://rubyforge.org/frs/download.php/9541/admin_pages_engine_0.2.0.tar.gz
A whopping 37 kb! :slight_smile:

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.

Bug reports and other stuff to removed_email_address@domain.invalid

Martin


#2

wooyay wrote:

Hi all, I just released the new version of my CMS AdminPages as a Rails
engine.
It uses the Dojo Toolkit for UI elements.

Hi Wooyay,
that looks awesome!
Gonna try to install it when I’m home

Steve


#3

On 4/6/06, wooyay removed_email_address@domain.invalid wrote:

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


#4

Raphael B. wrote:

On 4/6/06, wooyay removed_email_address@domain.invalid wrote:

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.

When you look at the “edit layout” page,
http://adminpages.flowdev.de/admin_pages/edit_page_layout/5
you will see that this page uses scriptaculous. That is because I didn’t
have time yet to rewrite it.

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.


#5

Hi Martin

This looks absolutely fantastic, well done. Great to see Rails,
Engines, Dojo and Scriptaculous all working together.

I think I’ll be playing with this for the rest of the day ;o)

Great work,
Simon


#6

Roberto S. wrote:

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 :slight_smile:

#7

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

The online demo is still running at http://adminpages.flowdev.de , so
check it out if you haven’t seen it yet

Martin


#8

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