nerdexam
IBM

C2050-725 · Question #145

An application developer needs to add Web 2.0 features to the Consumer Direct store model. This involves registering events that respond to AJAX calls. Which dojo function must be used to register…

The correct answer is D. dojo.connectPublisher(topic, object, event). See the full explanation below for the reasoning.

Question

An application developer needs to add Web 2.0 features to the Consumer Direct store model. This involves registering events that respond to AJAX calls. Which dojo function must be used to register an event and the JavaScript function that triggers it?

Options

  • Adojo.listen(topic, context, method)
  • Bdojo.connect(topic, context, method)
  • Cdojo.subscribe(topic, context, method)
  • Ddojo.connectPublisher(topic, object, event)

How the community answered

(24 responses)
  • A
    8% (2)
  • B
    13% (3)
  • C
    4% (1)
  • D
    75% (18)

Community Discussion

No community discussion yet for this question.

Full C2050-725 Practice