zena / zena

zena is a state-of-the-art CMS (content managment system) based on Ruby on Rails with a focus on usability, ease of customization and web 2.0 goodness (application like behaviour).

This URL has Read+Write access

zena / TODO
100644 24 lines (15 sloc) 0.77 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
== Parts that need an urgent cleanup ==
 
Some parts of zena have become really messy and need an URGENT cleanup. These parts are mostly
related to nested attributes and the cleanup should be made during the move to rails 2.3+.
 
Some really ugly parts:
 
=== links ===
 
We support many different ways to alter links and it's becoming hard to maintain:
 
node[hot_id] = ZIP
node[link][hot][other_id] = ZIP
node[link][1][other_id] = ZIP along with node[link][1][role] = 'hot'
link[other_id] = ZIP
link[other_zip] = ZIP
 
We need 'other_zip' because select_id helper needs to read the value... "select_id" is really bad code. yuk.
 
===== documentation ======
 
using negative ids to remove links:
 
friend_id = -ZIP ====> ensure there is no 'friend' relationship with node ZIP.