0
votes
1answer
114 views

Building an organization-specific XML editor in HTML

I'm building a user friendly XML editor in HTML/JS. Looking for some general advice on how to build the editor UI and which approach you'd recommend on mapping the data to the UI. Details about the ...
1
vote
1answer
154 views

What is the best implementation strategy for this html + javascript widget?

The Problem I came up with this select-box variant in answer to a question on UX.SE: http://ux.stackexchange.com/a/48951/16187 However, working out how to implement it has been driving me mad ever ...
16
votes
6answers
4k views

Is it a good idea to do UI 100% in Javascript and provide data through an API?

My primary day job is making HTML applications. With that I mean internally used CRUD-type applications with lots of editable gridviews, textboxes, dropdowns, etc. We're currently using ASP.NET ...
3
votes
2answers
428 views

What should a GetSelectedIndex method return when no rows are selected

I'm creating a UI table component that returns an array of selected indices. Some typical return values would be var myRetVal1 = [0];//one value selected var myRetVal2 = [0,1,2,3,8,11];//multiple ...
1
vote
1answer
609 views

Organizing large Javascript applications - The view layer

Today Javascript application of a relevant size become more and more common, and as the need arises, certain patterns are identified to manage the code complexity. I try to follow good advice, but I ...