[thelist] bbCode or HTML in DB?

Zeljko Dakic mlist at dakic.com
Thu Oct 13 12:38:21 CDT 2005


Hello John,

actually I would always prefer to have bbCode in the database (memo 
field) so that when user wants to edit, he gets what he typed, change 
that and again save as bbCode. Before display it is then converted to 
html. Does this makes sense?

Regards,
Zeljko Dakic
Brooking, John wrote:

>thought through the following design decision: Should I translate the
>bbCode to HTML *before* storing it in the DB, so that the HTML tags are
>stored in the DB, or should I store the bbCode in the DB and translate
>it to HTML after retrieval? Are there more security issues one way than
>  
>


More information about the thelist mailing list