If this system uses "short" messages, then what's so bad about listing
the entire message on each line of your "summary" interface?
If your concern is for the amount of space this would consume on the
client device, then you could restrict the display to the "first x"
dimension by using a style declaration (and the overflow property) on
the container.
This would keep the message in it's native form, reduce the amount of
second-guessing logic that the server would have to perform, and let you
adjust the preview space along with all the other style elements for the
given device type (browser, mobile, etc).
You could even perform some js/css slight of hand, to have the entire
message "fly-out" when one hovered over the preview.
At it's very core, it seems to me like you're performing stylistic work
here. Export the work to the client and use CSS whenever possible.
Al
On 11/17/2011 8:26 AM, Jason King wrote:
Hi Matt,
This is for a messaging app.
When users are viewing their inbox, I want a summary of the message to
be displayed. Since this is more of a short messaging system, not an
email client, I'm doing away with 'subject' and just having a message.
(snip)
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en