PermaLinkNew Lotus Advisor series in the works09:58:07 AM
Written By : Scott Good

It's like a horse I can't get off. Writing for Lotus Advisor, that is. I've just turned in my last set of proofs for the first article in a new series I'm writing for them on the fundamentals of AJAX. That makes, if you're counting, my 41st Advisor article and the sixty-first article published by one of our people here at Teamwork.

In any case, AJAX, if you've been stuck in meetings for the last year or so, is an acronym for Asynchronous JavaScript and XML and it's very hot right now. More importantly, it is a really interesting use of technologies that, it turns out, is actually pretty easy to implement.

I am certainly not the first person to write about AJAX. I'm not even the first to write about it in Advisor. Richard Schwartz has that honor. He wrote a great article on the topic back in October 2005. So, why another article or, in my case, a whole slew of them?

Because, as I've talked to clients and peers around the Notes/Domino world, it is clear that while everybody is pretty interested in AJAX, most people have little idea how to figure out when it's appropriate in their applications. Even fewer have a clue about how to actually build it should they be fortunate enough to come up with a place to use it.

Well, that's a shame.

This is good technology that has lots of useful applications. Back in November I posted here an AJAX-based Domino NAB-picker for the web which I helped tweak (but Matt White actually wrote most of) that is, by a long margin, the fastest NAB picker I've ever seen. That's "long margin" as in "by an order of magnitude." We have tested it on Address books with more than 200,000 names and the response is almost the same as with our meager little 300ish-name NAB here at Teamwork.

That's not just good, that's amazing. Carrying the idea a bit further, though, I'm working on an AJAX-based type-ahead drop-down thingy that will let you skip the NAB-picker altogether and go straight to the names, right from your field. That'll be even better and faster because you can skip the whole open-another-window-and-wait-for-it-to-get-going part of the process. You just start looking for names.

And, it's just the start of the kinds of things you can do with AJAX.

The technology is so good in the right applications that it's almost criminal not to use it so, well, I decided to start digging down into the bowels of it to try to make it understandable and usable to everybody.

Time will tell how successful it is but I can tell you I think the first installment (May 2006, Lotus Advisor) is a good one. Also, for what it's worth, if you're coming to the AdvisorLIVE event in Las Vegas this April, I'm giving a Fundamentals of AJAX session there, too.

Comments :v

1. Julian Robichaux02/11/2006 12:39:14 PM
Homepage: http://www.nsftools.com


If it helps, I wrote "an AJAX-based type-ahead drop-down thingy" for looking up Notes names about a year ago:

http://www.nsftools.com/tips/NotesTips.htm#notessuggest

It's one possible technique, anyway. One of the agents in the database actually discusses a way you could try to cache the results for faster lookups, too.




2. Scott Good02/12/2006 11:30:32 AM
Homepage: http://www.scottgood.com


Thanks Julian! I'll take a look.




3. Scott Good02/12/2006 12:02:15 PM
Homepage: http://www.scottgood.com


Julian,

I've looked at your type-ahead drop-down thingy. Very nice.

FWIW, I've added some alternate ways of picking the names in the one I built. For instance, we both allow an arrow down to the list of possible names, but mine also watches for both Enter and comma when you're typing in the field. Given either of those it automatically selects the first name on the list and puts it in the field (with a trailing comma, if you pressed comma in the first place).

It's a simple code change but makes it easier to use, particularly when entering multiple values.

I need to spend some time with your code to see how you're getting it all to work, particularly the caching. That's a really interesting idea I hadn't considered. Also, you're doing it with divs where I'm doing it with a select object. Your way may make more sense as I'm having some issues with positioning.

Thanks for pointing me to this.

Scott




4. Julian Robichaux02/12/2006 02:07:51 PM
Homepage: http://www.nsftools.com


Cool. I'll be interested to see your final result.

Also, I forgot to mention that another developer has picked up the JavaScript I wrote for the NotesSuggest example, added some additional code of his own, and posted it as a SourceForge project:

http://sourceforge.net/projects/ajax4suggest

One of the good things that he added was a way to have multiple "suggest" fields on a single page, which was always a limitation of the old example. Not sure what else got changed...

I'll keep my eyes open for your articles too!

- Julian




5. Erskine Harris02/15/2006 10:37:23 AM
Homepage: http://www.clearframe.com/


Scott,

Like all of your other series's at Lotus Advisor, I am sure this one will be great.

Looking forward to May 2006 issue



E




6. Danyele Blanchet02/24/2006 04:47:53 PM


Hi Scott,

Since, you did not write anything in Lotus Advisor for a while, I was beginning to be afraid that you left. But thank God, we will be able to read you again.

I can't wait for the Spring to come and finally read something great from you. As always, you are an inspiration.

- Danyele




7. Scott Good02/27/2006 08:37:52 AM
Homepage: http://www.scottgood.com


Oh my...I'm blushing.

Thanks!




8. Guillaume05/12/2006 12:57:24 PM
Homepage: http://sourceforge.net/projects/ajax4suggest/


Hello,

to answer to Julian and Scott, the latest build 1.0 SP10 is available now on http://sourceforge.net/projects/ajax4suggest/

The main features are:

- Backend independant meaning you could use XML, Javascript or even SOAP as response from your GET call
- Multiple input fields allowed on a single page
- Design is not hard-coded so you can use stylesheets

That's it.
Guillaume




Enter Comments^


Email addresses provided are not made available on this site.





You can use UUB Code in your posts.

[b]bold[/b]  [i]italic[/i]  [u]underline[/u]  [s]strikethrough[/s]

URL's will be automatically converted to Links


:-) :cry: :-\ :huh: ;-) :cool: :grin: :emb: :laugh: :-p :lips: :-( :rolleyes: :-o :-D :angry: :-x
bold italic underline Strikethrough





Remember me    

Disclaimer & Copyright
Monthly Archive
Contact me...
Racing sponsors and such...

Thank you sponsors!

GABlogLogo.jpg

GOODAero

GOODAero specializes in building aerodynamic products for racing cars. Our first product, the GOODAero Raptor wing is available at a surprisingly reasonable price (under a grand) for a full carbon, full-sized, racing wing. Check it out.


Infinite Fiberworks Co, a great source for high-quality Porsche fiberglass parts

Infinite Fiberworks Co.

If you are looking for fiberglass for Porsches, IFC is the place to go. I have used parts from most of the major suppliers and IFC's are easily the highest quality and the most reasonably-priced. Contact Mike at Infinite Fiberworks for more information.

Located in Racine, OH (so far Southeast they're almost in West Virginia), IFC's goal is to be The Best. Give 'em a try.


Bent or ugly wheels? Call Wheel Medic!

Wheel Medic & The Round House

Whether you need to repair, repaint, refinish or just replace your wheels, the guys at Wheel Medic/Round House can get you back on the road in no time!

Wheel Medic, Inc is a family-owned company which specializes in the repair and restoration of aluminum wheels.

The Round House was founded to service Wheel Medic's clients looking for more than just repair work...from custom wheel colors to high-end wheel applications and body kits, the Round House is there to serve the discriminating automotive enthusiast.


Used Porsche parts, great prices!

A Part Above

Looking for used parts for 944s, 924s, 968s or other late-model water-cooled Porsches? Contact John at A Part Above.

Located in Strongsville, OH (20 miles south of Cleveland) their goal is to provide top quality parts and services. I can tell you, John is great to work with and the prices? Very hard to beat.


SMRT Motorsports wants you!

SMRT (that's short for Skid Mark Racing Team), a very-

loosely organized band of fun-loving friends who enjoy auto racing (heck, cars in general), and the occasional adult beverage, wants you to be a part of our team.

Go here to find cool T-shirts, sweatshirts, caps and mugs with the SMRT team logo.

The BlogRoll
Lotus Domino ND6 RSS News Feed RSS Comments Feed Geo URL RSS Validator Blog Admin Lotus Geek Open Notes Picture Database OpenNTF BlogSphere
Calendar
February 2012
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
By Category
What I do for a living


I am the President of Teamwork Solutions a long-time Lotus, now IBM, Premier Partner.

With offices in Columbus and Cincinnati, Ohio, we specialize in custom application development for IBM Lotus Notes, Domino, and related technologies. Our software product, ProcessIt! (see below), is quite possibly the world's best, most powerful and easiest-to-use workflow tool for Notes and the web.

Our clients are some of the world's largest corporations along with others that aren't so big.

We do excellent work, quickly, and often on a fixed-fee basis. We'd love to talk to you about your next project.




I am a Contributing Author to Lotus Advisor Magazine, with more than 40 articles under my belt.

I've written how-to series (serieses?) on LotusScript, JavaScript, Cascading Style Sheets (CSS), and now, AJAX (Asynchronous JavaScript and XML), as well as a bit on miscellaneous web development topics.


TheView.jpg

I also write for The View as of the July/August issue where I showed how to take an ugly Notes applications and make it beautiful with just a few minutes' (careful) work.



I am the chief architect and one of two primary developers for what many consider the best all-around workflow tool for Notes/Domino, anywhere, regardless of price.

It's called ProcessIt!, and you can read all about it at www.notesworkflow.com but the bottom line is this: ProcessIt! is fast and easy to learn, extremely powerful, and can be used by mortals. Even--dare I say it?--common users.

You can spend a lot more on a workflow tool but you won't be able to do a lot more for all the extra money.

Don't believe me? Download and try it for free for 60 days.



GTSLogoSm.gif
Copyright Porsche and NASA...not me!

I race a Porsche 944 S2 in National Auto Sport Assocation events and am the 2008 National Champion in NASA's GTS2 class.

Blame this event, a few years ago, for starting that particular money drain all over again.

In support of my habit, I am the NASA Great Lakes Region's GTS (German Touring Series) Director.

I'm also a Nationally-Certified Instructor for the Porsche Club of America and am in charge of classroom sessions for the Mid-Ohio region when we are doing high performance driving events.

In a prior racing life, I was the Midwestern Regional Formula Atlantic Champion and, in 1991, the Ohio Vally Region of SCCA's Regional Driver of the Year (but that, alas, went away when my credit cards let go of the rope!).




I'm writing a book...or at least trying to.

It's murder mystery in which, not too surprisingly, the main character runs a small software company and races cars for fun. Oh yeah, and lives near where I do.

Just where do they come up with these crazy ideas?

Facebook