Ajax implementation of a domino view.

I have a dream… No…

In a time long long…. No…

Memories… Hmmm

Imagine all… Yes

I don’t remember how many times I have populated view based data to a web page by using “document.writeln(”)”. I can’t recall how my times I have written a script src tag. This was ofcourse many many years ago (in internet time) and today we just clicks on a button and all the content are washed, colorized and beutified before it ends up exactly where the user needs it on her screen.Well, atleast is loading the view content from back end using XHR more or less standard in web apps today, and many times have I been thinking, gosh we should do this in a more standard way… But, as always, short term money counts so it never happened.

However, Vince has done this. I haven’t checked the code at all, but the API’s looks nice:

window.embeddedViews["people"] = new EmbeddedView( $(”people”), thisDb + “/(PeopleByCompanyName)”, “&Count=-1&RestrictToCategory=” + companyName, ["First","Last","Title"], ["33","33","33"], ["a"], “width=350,height=320″, “Person”, “People Not Selected”, true );

Check out the live demo at: http://www.vincedimascio.com/vince/demo/ev.nsf/ChoosePeople

blog comments powered by Disqus