{"id":7757,"date":"2015-10-22T20:54:36","date_gmt":"2015-10-22T20:54:36","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/22\/backbone-with-a-tree-view-widget-open-source-projects-jashkenas-backbone\/"},"modified":"2015-10-22T20:54:36","modified_gmt":"2015-10-22T20:54:36","slug":"backbone-with-a-tree-view-widget-open-source-projects-jashkenas-backbone","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/22\/backbone-with-a-tree-view-widget-open-source-projects-jashkenas-backbone\/","title":{"rendered":"Backbone with a tree view widget-open source projects jashkenas\/backbone"},"content":{"rendered":"<p>I&#8217;m evaluating the Backbone javascript framework for use in a project that will display a hierarchical model in a tree view widget (think the Windows file browser).<\/p>\n<p>I <em>love<\/em> how Backbone thinks about the world. However, there&#8217;s a lot of coding involved before I get to a proof of concept that has Backbone actually receiving a hierarchical model from a server and updating a tree widget. I&#8217;ve seen there&#8217;s various solutions for representing deep data structures with Backbone, but I&#8217;m wondering&#8230; has anyone actually done this?<\/p>\n<p>Just knowing that it&#8217;s possible would be a help. Actually naming the tree view UI component and pointers for making data hierarchical in Backbone would be even better. A bit of sample code would be amazingly fantastic.<\/p>\n<p>As far as data size, tree will run 100&#8217;s of nodes (folders) with low 1000&#8217;s of leaf items (documents), and it would be nice to progressively load the data (say, one folder at a time as the user clicks in), though that&#8217;s probably not a showstopper.<\/p>\n<p>Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m evaluating the Backbone javascript framework for use in a project that will display a hierarchical model in a tree view widget (think the Windows file browser). I love how Backbone thinks about the world. However, there&#8217;s a lot of coding involved before I get to a proof of concept that has Backbone actually receiving [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7757","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7757"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7757\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}