• Advertisement
Sign in to follow this  

Storing and displaying decorated text on multiple platforms

This topic is 2388 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm building an application which will be available on several platforms (web, iphone, android...). They all display data from the same database.

What's the best way of storing some decorated text in the database to easily display it on all platforms? By saying decorated text, I mean on decorations like bold, italic, underline...

One option might be writing a BB code parser for each platform and storing a BB Code decorated text in database, but it doesn't sound like the best solution to me.

Any opinions? :)

Share this post


Link to post
Share on other sites
Advertisement

I'm building an application which will be available on several platforms (web, iphone, android...). They all display data from the same database.

What's the best way of storing some decorated text in the database to easily display it on all platforms? By saying decorated text, I mean on decorations like bold, italic, underline...

One option might be writing a BB code parser for each platform and storing a BB Code decorated text in database, but it doesn't sound like the best solution to me.

Any opinions? :)




Since web is involved aswell you could just store it as html, all platforms should have a html render engine you can use.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement