Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 21st, 2005, 04:04 AM
bryantma bryantma is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Holland
Posts: 8 bryantma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 28 m 7 sec
Reputation Power: 0
Send a message via MSN to bryantma Send a message via Yahoo to bryantma
Question Managing a list of 22,000 items...

Hi,

I'm trying to design a web page that allows users to select one or more items from a list (amongst other things). The problem is that the list can be from a database of over twenty thousand items. So I'm trying to work out the best way to manage the selection of items from this list prior to submitting the form. I'm happy to code the result in DHTML, I'm competent with SQL Javascript and HTML, it's more a cleaver idea for the management of the selection process that I'm interested in. As far as I see it the options are theses...

1) Read all items to a <select> list. (With 20,000 items, that doesn't sound good fun.)

2) Provide an <input> text box, a <button> and two <select>. Enter wildcard text in the <input>, click the <button> to return a matching list in the first <select>. Clicking items in the first <select> to move them to the second select, so that a new search can be made via the <input>. Items can be clicked in the second <select> to remove them from the list.

3) Any bright ideas from you guys.

Either a description of a better method or a pointer to a page that demonstrates a better idea would be wonderful.

Many thanks,


Martin

Reply With Quote
  #2  
Old February 21st, 2005, 11:52 AM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 22nd Plane (15500 - 15999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 15,955 Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 3 Weeks 5 Days 14 h 28 m 37 sec
Reputation Power: 1524
Use should use a pagination function to split the list over muliple pages.

I would recommend using checkboxes.
__________________
Spreading knowledge, one newbie at a time.

Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions

Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

I'm looking for new clients.

Reply With Quote
  #3  
Old February 22nd, 2005, 03:12 AM
bryantma bryantma is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Holland
Posts: 8 bryantma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 28 m 7 sec
Reputation Power: 0
Send a message via MSN to bryantma Send a message via Yahoo to bryantma
Smile

Thanks for the comment. As for pagnating the list, I really don't see that anyone would want to be faced with a list of 22,000 items in any format, with or without pagnation. The way to make this list useable, as I see it, is to find a way to allow the user to make a few simple selections which then quickly provide them with a much shorter, more managable list. Another idea I just had is to provide a <select> with the letters of the alphabet, a selection of one will then populate a second select with the (on avarage) 1000 items beginning with that letter. A thousand still seems too many though. :-( I think that I'll just have to make a prototype of each plausable idea.

As for the check boxes, do you mean to place a check box next to each item for slection purposes?

Thanks again, all comments much appriciated.

Martin

Reply With Quote
  #4  
Old February 22nd, 2005, 10:02 AM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 22nd Plane (15500 - 15999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 15,955 Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 3 Weeks 5 Days 14 h 28 m 37 sec
Reputation Power: 1524
Quote:
Originally Posted by bryantma
As for the check boxes, do you mean to place a check box next to each item for slection purposes?

Correct

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Managing a list of 22,000 items...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT