Tuesday, 9 May 2006

blojsom 3.0 M2 update

I should have blojsom 3.0 M2 done and available tonight or tomorrow.

Things that got fixed:

* Search
* Tag cloud generation and tag query
* Calendar filter and populating the calendar for the template

Things that got added:

* Named queries in the mapping files. Thankfully Hibernate's Criteria API does much of the heavy lifting in terms of interacting with the database for me and I only needed to add 3 simple queries. Named queries allow for something like:

List entriesMatchingMetadataKeyValue = session.getNamedQuery("entry.by.metadata.key.value")
.setString("blogId", blog.getBlogId())
.setString("metadataKey", metadataKey)
.setString("metadataValue", valueSearch).list();

For the most part, those named queries should work across databases. In the event that they don't, the query can be edited right in the mapping file. No source code changes at all.

* The database loader bean now handles upgrading the database as well as initial database creation.

May 05 19:52:24 INFO [main] database.DatabaseLoader - About to upgrade blojsom database
May 05 19:52:24 INFO [main] database.DatabaseLoader - Read in sql script
May 05 19:52:24 INFO [main] database.DatabaseLoader - Finised upgrading blojsom database

* Default posting category (finally, I know)

default-post-category

* Ability to search through responses (comments, trackbacks, pingbacks) (finally, I know)

search-responses

* Added TinyMCE as a rich-text editor. This is also a per-user option so if you've got say 9 users on a given blog, then none, some, or all can choose to use the rich-text editor.

rich-text-editor-selection

* Information on post status available when editing a post. This will probably be useful for more complex workflows so that you can know what stage an entry is at. So, an entry might be "Awaiting Approval", but still be editable.

published-status

Things that'll probably be in blojsom 3.0 final:

* Roles. Think of these as a collection of permissions under a given name like "Contributor", "Administrator", etc.

Let's say you logged into the administration console and you're an "Administrator". You'd see:

administrator-menu

Let's say you're a "Contributor". You'd see:

contributor-screen

The administration interface changes dynamically adding or removing options based on your "role". Roles are fluid as well meaning that a given user can be in a given "role", but have certain permissions that are added or removed.

Technorati Tags:

Posted by david at 8:14 PM in blojsom ... all blojsom

Sunglasses

c00196453727e030acf27b799f64c3a0.jpg

Posted at 2:06 PM in Moblog
« First  « Prev   1 2 3 4 5   Next »  Last »
« May »
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031