I know this isn't on topic to YAF, but I have a question how it works with BBCode.
I wrote a fairly nice bbcode parser. It automatically gets the page title if you post a url, resizes images automagically.. etc. It's a fairly advanced system AND fast.
Now, when someone posts a comment (for example) it's parsed when the datarepeater is loaded. For some reason, my pages are loading extremely slow when I do this?
So:
User Posts->Save to DB->User loads page->Parses all the messages (caches the data too)
How does YAF work? Does it save the BBCode directly to the database then parse it when the message is loaded?
I have a custom written SQL code, it's made up of 5 different classes that can interact together. So you call 3 lines of code to page, bind, cache, etc. It's pretty good, and I wrote it around 3 years ago... so it's stable... but I think the bug exists within it. Since in order to parse the messages in the repeater, I have to get the dataset, parse it, then set the data repeater.
Any idea on this?