[Booki-dev] ToDo List and Sidebar Tabs Patches

adam hyde adam at flossmanuals.net
Wed Sep 29 01:43:18 PDT 2010


hey brendan - can you reg with the trac:
http://booki-dev.flossmanuals.net


that way we can trac any issues with the to-do that arise and cc u

adam


On Mon, 2010-09-27 at 22:40 +0200, Brendan Howell wrote:
> Hi Aco et al,
> 
> I had my first Booki hacking session about two weeks back with Adam, 
> here in Berlin.  It was really quite pleasant.  I was surprised that I 
> actually had a very easy time getting into the code and making things 
> happen.  It's not perfect but it certainly seems like a nice code base 
> to hack on and I think you guys have made some smart architectural 
> decisions.  Cheers for nice code!
> 
> I do have to apologise for taking so long to send these patches in but 
> they are attached to this mail.  Please give them a look over and let me 
> know if they seem ok.  Aside from any obvious mistakes, I'm especially 
> interested in knowing if I have done anything that does not fit with 
> your coding conventions.
> 
> To make this stuff work, I'm going to need the following bits on the 
> Django side and I'm not quite sure where I should start or if you even 
> want me mucking around with the models.  The model looks something like 
> this:
> 
> todo:
>    Title - String
>    Description - String
>    Done - Boolean
>    id - Integer or UUID
> 
> A book has a one-to-many relation to the ToDos but you probably have 
> thought about that.  Adam and I discussed it and we thought that it 
> would only complicate things to have ToDos attached to chapters or any 
> smaller elements.
> 
> The queries would be something like this:
>      get_todos(done="False") - returns a list of ToDo items
>      add_todo(title, description) - returns the Id
>      update_todo(id, title, description) - returns status Ok/Err
>      mark_todo_done(id) - returns status Ok/Err
>      mark_todo_undone(id) - returns status Ok/Err
> 
> I hope this all makes sense, I would really like to have this feature 
> wrapped up this week if possible.
> 
> best,
> -Brendan
> 
> _______________________________________________
> Booki-dev mailing list
> Booki-dev at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net

-- 
Adam Hyde
Founder FLOSS Manuals &
Booki Project Manager 

Contact Information
German mobile : + 49 177 4935122
Email : adam at flossmanuals.net
irc : irc.freenode.net #flossmanuals


"Free manuals for free software"
http://www.flossmanuals.net/about

Free Software for making Free Books
http://www.booki.cc/




More information about the Booki-dev mailing list