Implementation Focus: Notifu
Kent Johnson is an engineer at Notifu, a startup that launched on October 29 with a group messaging service aimed at improving the routing and notification of personal messaging among individuals and groups. Notifu uses YUI for its interface, and Kent was kind enough to share his thoughts with us on building out the product using YUI.
Notifu is a "group messaging service." How does Notifu go beyond traditional messaging services like email, IM, and SMS?
There are four key differences from traditional email, IM, and SMS...
- Integration: Notifu allows you to send the same message to multiple recipients via email, IM, and SMS. So, you might send a message like "Let's move the meeting from 3pm to 4pm today" to Bob via email, Jim via Yahoo IM, Sarah via SMS, and Mark via voice phone.
- Delivery Confirmation: Notifu can ask the users to acknowledge receipt of the message so the sender can know exactly who did and who did not receive the message.
- Escalations: Notifu allows you to define alternative means to deliver a message to an individual. So, you might send a message "Please call me ASAP. 1 - Got it" to Mark first by email, then by IM, then by SMS, and then by home phone. The escalation automatically stops trying alternative addresses when Mark acknowledges receiving the message.
- Polling: Notifu allows you to optionally define a response menu when you send a message allowing you to make quick group decisions. So, you might send a message like "Which live chat solution did you want to choose? 1 - Boldchat or 2 - Liveperson" and Notifu will tally the responses instantly to make your group decisions.
The registration path and some of the core interactions happen within a small canvas that employs lateral animations to move from pane to pane, similar to the way a typical iPhone application works. What was the inspiration for this design? What made you choose it for the app you deploy to big-screen browsers?
Notifu has been designed as a widget that we plan to release across popular social and mobile platforms. As a widget, we designed Notifu to work within a limited amount of space.
Notifu does also leverage a side scrolling paradigm which we think is both a unique look and feel for a widget and an effective means to navigate pages. There is an obvious similarity to the iPhone user interface. What can we say...we love the iPhone user interface as well.
You've employed YUI Animation to handle the transitions, Connection Manager to do your Ajax data transport, and other YUI components in other parts of your app. Tell us a little bit more about the role YUI plays in the Notifu frontend.
YUI plays a critical role in the Notifu UI where we leverage...
- YUI Animation to do the side scrolling page transitions, the fade-in inserts as you add more To recipients to the Send New Message page, and the animated expand/collapse of messages within the View Messages page.
- YUI Connection Manager is used to make all the asynchronous calls to the Notifu server to send messages, add/edit/delete contacts, mark replies as read, etc.
- YUI Dom Collection and YUI Selector are used extensively in the plumbing to retrieve and manipulate elements on each page.
What aspects of your YUI implementation are you most proud of?
I scanned our client code for a snippet that I thought would be the most interesting to share. This snippet inserts a new item in a list by doing a chained animation (first making the vertical space for the item and then fading in the item).
What were the best and worst aspects of working with YUI on this project? Any frustrations?
The long YUI namespaces still trip me up from time to time. I refer back to the YUI documentation frequently just to get the right YUI namespace (is it
YUI.util.Dom.get()?). I realize we could create aliases for the long YUI namespaces but this seems like clutter to me.
What are the next challenges you intend to tackle as you evolve Notifu?
We just launched Notifu on 10/29/2008 as a public beta and have big plans going forward including...
- Implementing Notifu as a widget across popular social and mobile platforms (like OpenSocial for example)
- Adding the ability to receive message updates (replies, delivery failures, votes) via email, IM, SMS and phone.
- Integrating with popular sources of contacts to avoid re-entering contacts in Notifu.