Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# mgaerber 10/14/2007 1:13 PM
Hi all,

I've just uploaded a pdf to the download area ( http://cuyahoga-project.org/46/section.aspx/download/19 ) that describes the current extensions for Cuyahoga 2.0

I appreciate any feedback or discussion on this topic.

Regards,

Max
# D3grade 10/14/2007 8:35 PM
Hey Max,

That was a great read and really covered all of the things nicely that are happening in version 2.0 of the code (if only i'd had it sooner :))

I was wondering if categories needed any further explination, as i would have imagined that they wouldn't really need nesting (something along the lines of tagging). Also, why they need so many properties? (Name, Key, Descrpition)

Other than that, i think it's a great introduction for people to get into version 2

Good work

Matt
# D3grade 10/14/2007 10:31 PM
Oh yea, something to do with workflow would be nice (although i'm sure i'll be discussing this with your shortly :))

Matt
# D3grade 10/19/2007 1:13 PM
Hi max,

With regards to the categories, could you tell me what they key column is for? as it doesn't seem to get used. Just want to know which fields i should be coding against.

Cheers

Matt
# D3grade 10/19/2007 8:13 PM
I have another question about categories actually. Do you think it would be more benefitial to index the categories path, rather than it's name and alter the IndexQuery class to do a PrefixQuery instead of a tearm query when searching categories?

I beleive this would then mean when searching for a category, it would include all of it's sub categories no?

I can see this being benefitial as say your categories are something like this:

News
L____ Local News
L____ Regional News
. . . . L____ Featured
. . . . L____ Hot

Doing a search for news would bring everything back, whilst searching for Local news would only bring local news. This would just mean you don't have to include every category down the branches.

What do you think?
# gedw99 10/21/2007 9:41 PM
Cuyahoga Extension for V2 Spec by Max - comments
===============================================


The spec looks very impressive to me. You have really pulled a "rabbit out of the hat" on this one Max.

I have a few points of discussion.

The extensibility of this design is great and key feature I believe. It results into Services being installed just like modules with a dependency between them being data driven. Yes / No?

I really like the decorator chaining too. I wonder if this can be data driven then also, so that the chaining can be changed at run time.

I would definitely like to see the types of Use cases this new functionality is designed for.
This would help crystallise the design and its intent, and also help others to give feedback, at the risk of scope creep.


Content Items.
---------------
Idea of relationship between content items would be good. This however could be layered on top of course easily.

Symbolic linking at the content item level would be VERY useful. This is really important for a CMS because it allows reuse at the content level. The versioning system may need to be aware o this, but probably not.
This is something that could be higher up in a module, but I feel it would be better further down so that items can be symbolically linked across modules.

Renaming was not addressed.

Deletes as phantom deletes should be addressed maybe. This can be very important.



Versioning
----------
The differential versioning is great.


1. Renames and deletes; Renames are very important, Deletes must have the option of real or phantom deleted.
2. Labelling on top of Versions would be good, but this can be implemented elsewhere too.
In a Use Case, I could imagine the ability to create a label when the user starts an editing session, and then can release the label to live. Just an example showing how in real life this can be very useful.


Chaining
--------

Yes is all I can say here.
Makes me wonder if the Micro kernel configuration should be in the database (in a relational way) with a memory cache, and so changeable itself at runtime?


Module Loading
--------------

Is now on demand; Are you saying that they all need to now be there in memory, but just no activated.



# mgaerber 10/22/2007 4:34 PM
I have another question about categories actually. Do you think it would be more benefitial to index the categories path, rather than it's name and alter the IndexQuery class to do a PrefixQuery instead of a tearm query when searching categories?

I beleive this would then mean when searching for a category, it would include all of it's sub categories no?

You're right about the PrefixQuery but my thought was that paths would probably change more often than category names. So when you change a path, the search index will have to be updated (for subcategories, too). I guess only real tests could show what leads to more data processing...
# mgaerber 10/22/2007 4:38 PM (edited 10/22/2007 4:47 PM)
The extensibility of this design is great and key feature I believe. It results into Services being installed just like modules with a dependency between them being data driven. Yes / No?

Well, kind of. Right now it's all managed through the config files. Your modules though can register additional services defined in their install script.
I really like the decorator chaining too. I wonder if this can be data driven then also, so that the chaining can be changed at run time.

The usage of the decorators (or better: the services behind them) depends on what interfaces your ContentItem implements. E.g. search indexing will only happen when your ContentItem has ISearchable implemented. So it is very flexible.

The most flexible solution would be to have your Decorators Chain configurable per module but that is something I have to work out yet ;-)
Idea of relationship between content items would be good. This however could be layered on top of course easily.

This is already implemented.
Symbolic linking at the content item level would be VERY useful. This is really important for a CMS because it allows reuse at the content level. The versioning system may need to be aware o this, but probably not.
This is something that could be higher up in a module, but I feel it would be better further down so that items can be symbolically linked across modules.

This could be handled through the ContentItem relations (as FileResource is a ContentItem, as well). The only thing needed would be to pre-process content and look for something like {FileResource[Id=123].Path} which could be put into a src attribute of an image link or similar.

Renaming was not addressed.
Why is this not addressed? What should be renamed?
Is now on demand; Are you saying that they all need to now be there in memory, but just no activated.

You have to set the module to "active" in the modules config. Otherwise the module (and its services) will not be loaded/registered

# gedw99 10/25/2007 1:50 AM
Hey Max,

Thanks for the replies.

1. The reason i brought up renaming was in relation to versioning. In most SCM systems when you rename something it rememebrs what it used to be called. This si important for a number of reasons whcih to be honets are pretty complex, especially when lables come into play which are just a top layer mapping to a sequence raneg of revisions. Without renaming i feel that its almost there but with a ig hole. Maybe its just me though.

2. I get that the Modules need to implement the interface in order to use the service just like before. It would have to really. I guess the real power is when you can defien a module and its services can be swapped out in terms of the decoration of that service. I think this is what you actually mean or have i lot of plat :) I really need to run an update an dig deeper.


Is this in the trunk yet ?

Lots more questions from everyone i am sure once they get stuck into the code and play around with the possibiltiies and may be also their vision of real world use cases.

ged