By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,994 Members | 1,166 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,994 IT Pros & Developers. It's quick & easy.

first interactive app

P: n/a
hi,
I want to write a tiny interactive app for the following situation:
I have books of many chapters that must be split into volumes before going
to the printer.
A volume can have up to 600 pages. We obviously break the book into volumes
only at chapter breaks. Since some chapters make a natural grouping, we want
some human interaction for where the volume breaks occur.

Not having experience with interactive apps, I'm asking for advice about how
to go about it. The data I start with is just a dictionary with chapter name
= ending page number. I figured I would first show where the volumes would
break with no human interaction, with the begin and ending chapter
names/pagenumbers for each volume.

From here I thought about having a slider for each volume, but the number of
volumes could change during the session.
Or maybe I should just ask 'enter the ending chapter for the first volume'
and recalculate, etc until all volumes are defined.

Any ideas on a simple interface for this?
thanks,
--Tim
Mar 26 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hello Tim,
I want to write a tiny interactive app for the following situation:
I have books of many chapters that must be split into volumes before going
to the printer.
A volume can have up to 600 pages. We obviously break the book into volumes
only at chapter breaks. Since some chapters make a natural grouping, we want
some human interaction for where the volume breaks occur.

Not having experience with interactive apps, I'm asking for advice about how
to go about it. The data I start with is just a dictionary with chapter name
= ending page number. I figured I would first show where the volumes would
break with no human interaction, with the begin and ending chapter
names/pagenumbers for each volume.

From here I thought about having a slider for each volume, but the number of
volumes could change during the session.
Or maybe I should just ask 'enter the ending chapter for the first volume'
and recalculate, etc until all volumes are defined.

Any ideas on a simple interface for this?
How about something like:

Chapter 1 (001-200 200)
Chapter 2 (200-300 100)
------ 001-300 300 ----
Chapter 3 (300-450 150)
Chapter 4 (450-500 50)
------ 300-450 250 ----
Chapter 5 (500-600 100)
------ 500-600 100 ----

Where the user can move the divider up and down to create new volume,
they can also add and delete dividers.

The program will not allow to drag the divider above the 600 page
limit.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Mar 26 '08 #2

P: n/a

"Miki" <mi*********@gmail.comwrote in message
news:34**********************************@h11g2000 prf.googlegroups.com...
Hello Tim,
>>
<snip>
>Any ideas on a simple interface for this?
How about something like:

Chapter 1 (001-200 200)
Chapter 2 (200-300 100)
------ 001-300 300 ----
Chapter 3 (300-450 150)
Chapter 4 (450-500 50)
------ 300-450 250 ----
Chapter 5 (500-600 100)
------ 500-600 100 ----

Where the user can move the divider up and down to create new volume,
they can also add and delete dividers.

The program will not allow to drag the divider above the 600 page
limit.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Hi Miki,
that looks nice, simple, and intuitive. thanks for thinking about it.
Now to dive into some gui coding!

thanks,
--Tim
Mar 27 '08 #3

P: n/a
Hello Tim,
that looks nice, simple, and intuitive. thanks for thinking about it.
Thanks, glad I could help.
Now to dive into some gui coding!
IMO you can pull it off as a web application and then you won't need
to worry about cross-platform,
upgrades and all that interesting stuff.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Mar 27 '08 #4

P: n/a
On Mar 27, 4:22*pm, Miki <miki.teb...@gmail.comwrote:
Hello Tim,
that looks nice, simple, and intuitive. thanks for thinking about it.

Thanks, glad I could help.
Now to dive into some gui coding!

IMO you can pull it off as a web application and then you won't need
to worry about cross-platform,
upgrades and all that interesting stuff.
Chapter 1 (001-200 200)
Chapter 2 (200-300 100)
------ 001-300 300 ----
Does anyone want to see it under a graphics layer?
Mar 30 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.