Forum OpenACS Development: new post-it package
We/UNED are starting to develop a package for short message mailing between OpenACS/dotlrn members.
The main idea is to have an area on the screen where you can nessages that other users have sent you, it'll work offline (reading the piled messages after login) or online (at browser reload). Messages will be short, basically oneliners, such as chat invitations within a community.
Users will be able to block/authorize message reception as we don't like it to be another way to spam users, probably using an allow/deny user list.
I have a couple of questions, though:
Is there any other develop in progress to provide this functionality or something similar?
What do you think could be interesting features/aditions for this package? I will gladly wellcome new ideas/advices on this subject.
Thanks in advance
As far as I know, there isn't anything like what you describe, but there is certainly a demand for it, imo.
I think in general we want to allow multiple messages, this would be very handy, for example, if you installed a new package, and the package needed to give you additional information.
See the exsting apis
1. User 1 wants to invite another online user named User 2 to a chat session.
2. User 1 enters a brief message in a text box at the top of the page.
3. User 2 receives the message at the top of the page without issuing another page request (via Ajax).
4. User 2 should be able to block User 1's messages.
Is there already a package that accomplishes this?
My idea is more an sms substitute than an email one, so I'll look at the existing api and probably start the work from there, My idea is basically what Ryan posted and what dave posted seems also a good Idea. I think multiple messaging is a must, as I said before the idea is something quite like sms.
Jeff Lu developed a private messaging package for http://www.netlondon.com
It has SMS as a possible delivery or deliver the message internally. I am not sure if was ever put in into CVS, but I am sure Jeff will be willing to share it.
Roel Canicula wrote a private messaging package based on acs-messaging for a client of Solution Grove.
I can dig up the code and send you a copy if you're interested. I beleive this will handle the backend part for you.
But that's only half the battle. Devising a nice UI and how to present it to users is another.
However, if you have the luxury of time I would recommend that you look into COMET.
COMET is different from polling because it establishes a persistent connection between the browser and the server.
This is possible with OpenACS thanks to Gustaf's background delivery proc on the server side. On the browser side, you need to implement "page streaming". Gustaf may have already implemented this (and polling too) on his Ajax Chat app inside xowiki.
Examples of real world web apps that use the concept of COMET include Meebo (www.meebo.com) and Gtalk integration with Gmail.
Furthermore, to enhance UI, you might also want to look into
I agree "post it" isn't probably the best name choice but I don't like private messaging either, as private messaging is closer to what Torben posted than to my idea. let's see if we come with a better choice of name, however, it's just the name, as I think the main goals of the package are more or less clear in the above messages.
Comet seems a good idea, if not for the first version of the package, for the second. Thanks a lot for the links, I have started recently digging for ajax info and will surely bookmark those (although the second one's server seems to be down), again thanks ;)
I have also in mind to take a look to Gustaf's work with chat as it is the reference in ajax server-browser communication in OpenACS, I also think both packages will benefit from the other one.
And yes, I will gladly appreciate if you send me the code as it will probably give me more time to focus on UI.
This is also described in a recent article from the Ajaxian Blog
This is a great idea. I hope you are able to reuse some of the work Solution Grove did on the messaging package. You are working in oracle correct? Our package worked in postgres and was delivered via the dotFolio framework, which basically gives you one subsite per user.
My request is to please don't call the package "post-it". I think "post-it" refers more to little yellow "stickies". There are a number of web services that let you post stickies on pages (google "Stickies"). This would also be an interesting feature to add to OpenACS but its a completely different one.
I see it mostly being used to send brief messages to other online users, for chat invites, or to direct a user to a forum post for example.
How can I take a look at SG's messaging package? What kind of features does it have? I'd like to offer Instant Messaging to online and offline users, via a good UI. Anyone have any ideas how to achieve this?