Forums | Mahara Community

Developers /
Why Mahara's Wall plugin does not parse BBCode *before* DB insertion?


anonymous profile picture
Account deleted
Posts: 7

20 July 2012, 5:08

Hello,

I'm making a modified version of Mahara's Wall plugin, and I saw that when an user use BBCode, it's stored in Database, and when a page with the Wall is requested, the BBCode is parsed and converted into HTML. Why isn't it done before? I mean, why isn't it parsed and converted into HTML, then stored in database? I think it could be better for performances, because actually the BBCode is parsed every time an user requests the page.

1 result