Tuesday, June 17, 2008

plone.app.batch

New name, new code, new ideas, new functionality.

We still not have the real batch-edit functionality in place, but we are building the pieces to finally have it.

In this past weekend, I progressed in three different paths.

In first place, after a couple of recommendations, I decided to take a deep look to the z3cform package and it was a nice and enlightened reading. Although I didn't put z3cform forms in my package yet, it's for sure that I'm gonna do it.

In the second path, I cleaned and re-though a couple of ideas. Following Martin Aspeli advices (or should I write Martín?) I separated in interfaces and adapters what things will be able to be batch-editable, how will that be done, etc. In this way, I added a setup configuration page to the plone setup area to select which content types can be batch-editable. This work took me more than what I expected, but I think that real timer-consumer thing was the gain-experience-in-the-process thing. Anyways, my past in PloneGetPaid helped :-D. Here above in the right is a scree-shoot of that page.
Another thing I did in the cleanup was: simplify batch search form, and prettify the batch results page, which I was thinking on name batch-selector (Is the form where you have the content objects you want to modify, and you select what to do with them).

Finally I created an entry on plone.org/products and I'm waiting the approval. If you got a Log In page instead, means that was not approved yet. After approval, I want to add an issue tracker there and invite you my dear reader to test what I have, and file issues, or request. Probably I wont be able to add much functionality things to the project during the summer of code period, but I plan to continue later, so do be shy.
I also added my code to the plone collective, so if you want to take a look:
svn co https://svn.plone.org/svn/collective/plone.app.batch

I was going to add Alex Limi and Martin Aspeli as owners of the product too, when I realized that they already have that role inherited because it seems that they are plone.org administrators. My assigned and not assigned tutors rocks :). I added Jon Sthal (the owner of the idea) and Matthew Wilkes (the guy that's coordinating this summer of code from plone) as owners in case they want to do things there.

The plan for next week:
  • study Alloy Analyzer: I have an exam next Friday.
  • buy gifts (or better, make them): my girlfriend birthday is this Thursday.
  • code and code for SoC:
    • start work to display Archetypes schema fields on z3c forms.
    • create the batch_edit form using the previous work.
    • add some tests (shame on me)
A little request: if you have things to say, I'll appreciate if you can add comments here in my blog. It's much easier for organize information than searching emails.

1 comment:

Jon Stahl said...

Seems like you're making great progress, Javier! I've approved your project page on Plone.org!