And now some screenshots about these functionalities
Tagging article
Homepage with tag cloud
Tag related articles
List of articles
PDF view of repository
PDF view of article
In the next weeks I’ll probably work on refactoring code and creating some documentation, useful to understand what I used from Apache Sling and how.
I’m now working on the tagging system for David.
It’s a simple one, some tags related to the article are saved as a multi-value property on the article node.
I also want to create a redundant structure to manage in a faster way the visualization of a tag cloud.
The possible implementation is described in the next image
I finally completed the CRUD on David. A simple one of course, but a functional one.
The last commit on SVN was about the delete action, that was developed using a simple AJAX call with jQuery and modal dialog to proceed with the operation.
I have also other pending items to commit in the SVN, like the search and a PDF version of the entry…but it’s too late, tomorrow I’ll do it.
I’m a little stuck with jQuery and CKEditor but finally I understand how to POST a full HTML entry, as you can see from the image below
I say “quite” because I don’t develop the DELETE operation. I have a doubt about the best solution using a JS call (jQuery, sling.js).
Anyway I updated the SVN with these changes.
I published a first commit on SVN of googlecode.
It’s a simple example for the moment, but I think that step by step it will evolve towards something interesting.
You can find it in google code : http://code.google.com/p/davidgsoc2010/
I have some doubts about different things so I hope the sling dev list will help me π
