Title: Scalable Dropdowns and More, chat on 2014/10/8
Author: Helen Hou-Sandi
Published: October 8, 2014

---

 [  ](https://profiles.wordpress.org/helen/) [Helen Hou-Sandi](https://profiles.wordpress.org/helen/)
2:53 am _on_ October 8, 2014     
Tags: [4.1 ( 40 )](https://make.wordpress.org/core/tag/4-1/),
[dropdowns ( 2 )](https://make.wordpress.org/core/tag/dropdowns/), [plugins ( 33 )](https://make.wordpress.org/core/tag/plugins/)

# Scalable Dropdowns and More, chat on 2014/10/8

In 3.9, I started taking a look at solving some long-standing scaling issues with
dropdowns, notably those for users ([#19867](https://core.trac.wordpress.org/ticket/19867))
and pages ([#9864](https://core.trac.wordpress.org/ticket/9864)). I arrived at a
conclusion about our mixed usage of autocomplete and autosuggest far too late to
make it for 3.9, and did not add it to my plate for 4.0, but would like to tackle
it again for 4.1.

We can solve these issues smartly by using a combination of Ajax-powered autocomplete/
suggest and smart defaults, e.g. users with the most content pre-loaded for quick
access without having to run a search. As a brief overview of where I see us going
with this – a roadmap, if you will: user dropdown, page dropdown, current instances
of jQuery UIUI User interface autocomplete (multisitemultisite Used to describe 
a WordPress installation with a network of multiple blogs, grouped by sites. This
installation type has shared users tables, and creates separate database tables 
for each blog (wp_posts becomes wp_0_posts). See also **network**, **blog**, **site**
users and new site), tags/nonhierarchical taxonomyTaxonomy A taxonomy is a way to
group things together. In WordPress, some common taxonomies are category, link, 
tag, or post format. [https://codex.wordpress.org/Taxonomies#Default_Taxonomies](https://codex.wordpress.org/Taxonomies#Default_Taxonomies).
UI, more built-in taxonomy UIs ([#14877](https://core.trac.wordpress.org/ticket/14877)),
and possibly more as we discover appropriate places. Not all of this will happen
in 4.1 – think of this as not only a solution to long-standing, painful problems,
but also a step in a series of many.

To that end, we will be holding an initial chat at [19:00 UTC on 2014/10/8](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20141008T1900)
to get things moving. [@ericlewis](https://profiles.wordpress.org/ericlewis/) and
I have begun early development as a pluginPlugin A plugin is a piece of software
containing a group of functions that can be added to a WordPress website. They can
extend functionality or add new features to your WordPress websites. WordPress plugins
are written in the PHP programming language and integrate seamlessly with WordPress.
These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. – for more, see [this particular branch](https://github.com/helenhousandi/wp-19867-9864/tree/select2-19867),
which experiments with using Select 2 as a JSJS JavaScript, a web scripting language
typically executed in the browser. Often used for advanced user interfaces and behaviors.
helper library for the UI.

[#4-1](https://make.wordpress.org/core/tag/4-1/), [#dropdowns](https://make.wordpress.org/core/tag/dropdowns/),
[#plugins](https://make.wordpress.org/core/tag/plugins/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2014/10/08/scalable-dropdowns-and-more-chat-on-2014108/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2014/10/08/scalable-dropdowns-and-more-chat-on-2014108/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2014/10/08/scalable-dropdowns-and-more-chat-on-2014108/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2014/10/08/scalable-dropdowns-and-more-chat-on-2014108/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2014/10/08/scalable-dropdowns-and-more-chat-on-2014108/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2014/10/08/scalable-dropdowns-and-more-chat-on-2014108/?share=linkedin)

 1.  ![](https://secure.gravatar.com/avatar/6845456dbc9056f20a4cd50a6b95db78f2ae31df5c0601c613ee5b8939c41a82?
     s=32&d=mm&r=g)
 2.   [Jon Brown](https://profiles.wordpress.org/jb510/)  7:03 am _on_ October 8, 2014
 3.  I’m new and don’t know the history… I am not trying to reopen any debate. I’m 
     wondering though if using Select2 is fairly settled? (Not because I have a personal
     preference between Select2, Selectize.js and Chosen, but rather I’d like to know
     how others wiser than me decided between them).
 4.   * ![](https://secure.gravatar.com/avatar/e05110ddfc422ecfc3c68f61f2b08a404343ef8514fed12b460fc9c9aaa47d27?
        s=32&d=mm&r=g)
      *  [Helen Hou-Sandi](https://profiles.wordpress.org/helen/)  8:47 am _on_ October
        8, 2014
      * No hard decision has been made – that’s why it’s one branchbranch A directory
        in Subversion. WordPress uses branches to store the latest development code
        for each major release (3.9, 4.0, etc.). Branches are then updated with code
        for any minor releases of that branch. Sometimes, a major version of WordPress
        and its minor versions are collectively referred to as a "branch", such as "
        the 4.0 branch". in the pluginPlugin A plugin is a piece of software containing
        a group of functions that can be added to a WordPress website. They can extend
        functionality or add new features to your WordPress websites. WordPress plugins
        are written in the PHP programming language and integrate seamlessly with WordPress.
        These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
        or can be cost-based plugin from a third-party. repo. Chosen doesn’t do Ajax/
        search on its own and Selectize is licensed ApacheApache Apache is the most
        widely used web server software. Developed and maintained by [Apache Software Foundation](https://www.apache.org/).
        Apache is an Open Source software available for free.-only, though.
         - ![](https://secure.gravatar.com/avatar/6845456dbc9056f20a4cd50a6b95db78f2ae31df5c0601c613ee5b8939c41a82?
           s=32&d=mm&r=g)
         -  [Jon Brown](https://profiles.wordpress.org/jb510/)  2:19 pm _on_ October
           9, 2014
         - Ah… forgot APL2 is not compat with GPLV2 only compat with GPLV3. Anyway,
           was just wondering. I’ve used Select2 and Chosen a bunch in that past. Selectize
           looked like it had better tests and was lighter was all.
      * ![](https://secure.gravatar.com/avatar/b03601bb763857b45cd5c8439164b59e3e9da10f55ab0d194ff13f96edaae605?
        s=32&d=mm&r=g)
      *  [Dan Griffiths](https://profiles.wordpress.org/ghost1227/)  10:33 am _on_ 
        October 8, 2014
      * Regarless of the licensing issues, Select2 has by far the best feature set 
        of the three.
 5.  ![](https://secure.gravatar.com/avatar/c8601d409132517bcce514bbe19dbe900916e8d3c9ee83d94e19186fc2386768?
     s=32&d=mm&r=g)
 6.   [Max Bond](https://profiles.wordpress.org/max-bond/)  10:07 am _on_ October 8,
     2014
 7.  Don’t focus only on dropdowns!
      WordPress problem is wider – how to select wp 
     data objects (post types entities, taxonomies, users) inside other objects. For
     example I have two custom post types: order and product. And I need to add product
     to order. Sounds simple, but there is no standard interface for such select! If
     needed to add user to order – the same interface should be used. Autocomplete/
     suggest – is good, but not enough. May be to use some kind of popup window (like
     media library)?
 8.   * ![](https://secure.gravatar.com/avatar/e05110ddfc422ecfc3c68f61f2b08a404343ef8514fed12b460fc9c9aaa47d27?
        s=32&d=mm&r=g)
      *  [Helen Hou-Sandi](https://profiles.wordpress.org/helen/)  4:39 pm _on_ October
        8, 2014
      * We need to start with fixing long-standing bugs in existing functions, namely
        wp_dropdown_users() and wp_dropdown_pages() as linked in the TracTrac An open
        source project by Edgewall Software that serves as a bug tracker and project
        management tool for WordPress. tickets above. As I said, there may be more 
        possibilities as we take each step. If you have a citation for autocomplete/
        suggest not being good enough, I am all ears.
 9.  ![](https://secure.gravatar.com/avatar/2e08023fe3fecf48524491fdaf75ebaf2f9c001ef519a8436cb6ab96293b509e?
     s=32&d=mm&r=g)
 10.  [Gabriel Reguly](https://profiles.wordpress.org/gabriel-reguly/)  12:33 pm _on_
     October 8, 2014
 11. I won’t be able to attend the chat, but would love if you do take into account
     the dropdown for sites in multisitemultisite Used to describe a WordPress installation
     with a network of multiple blogs, grouped by sites. This installation type has
     shared users tables, and creates separate database tables for each blog (wp_posts
     becomes wp_0_posts). See also **network**, **blog**, **site** installs.
 12. [http://wpjourno.com/my-sites-toolbar-menu-wordpress-multisite/](http://wpjourno.com/my-sites-toolbar-menu-wordpress-multisite/)
 13. Cheers,
      Gabriel
 14.  * ![](https://secure.gravatar.com/avatar/51f55d5974ff861cb88d8b52880f8c15b7f37150ccbad2f47352878a2c9dc2d1?
        s=32&d=mm&r=g)
      *  [John Blackbourn](https://profiles.wordpress.org/johnbillion/)  11:19 pm _on_
        October 8, 2014
      * There has been a bit of discussion on this, but not a whole lot: [#15317](https://core.trac.wordpress.org/ticket/15317).
 15. ![](https://secure.gravatar.com/avatar/688e591b5d1baee94cff30ae8308c1ff5b54e336deabc134eb625d0de86020d3?
     s=32&d=mm&r=g)
 16.  [Ben Hansen (ubernaut)](https://profiles.wordpress.org/ubernaut/)  6:47 pm _on_
     October 8, 2014
 17. sounds great!

Comments are closed.

# Post navigation

[← 4.1 development is under way](https://make.wordpress.org/core/2014/10/03/4-1-development-is-under-way/)

[Last Week in WordPress Core →](https://make.wordpress.org/core/2014/10/08/last-week-in-wordpress-core-13/)