So, instead of checking to make sure each post has a closed tag for every open tag before displaying it in the forum, they check this when it is entered into the database. Then when they pull it out of the database to display it, they only need to replace the tags because they no longer need to validate to make sure there is a closing tag for every open tag.
That makes since.
[BB Code: extra characters]
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
-
- Registered User
- Posts: 35
- Joined: Mon Jun 09, 2003 2:25 am
- Location: Chattanooga, TN
- Contact:
Re: [BB Code: extra characters]
What Is Real!? Coming 2005
Latest phpBB2 Styles: [What Is Real!?] [Avalanche]
Latest phpBB2 Styles: [What Is Real!?] [Avalanche]
- cyberCrank
- Registered User
- Posts: 560
- Joined: Wed Jan 28, 2004 3:38 am
- Location: Ethereal Bliss
Re: [BB Code: extra characters]
Indeed -- a very sensible process and efficient as well, and not to mention saves space and the inverse BBcode operations are simple mappings and apply globally in case someone wants to change the behavior subsequently. These type things are what make phpBB stand out as exemplar coding and design, and serves as a good learning tool watching the developers via CVS, seeing the methods used, etc.
** hats off to the phpBB development team for many great ideas and features and for a watchful eye for not only nice features, but for efficiency, performance, and security mindfulness **
** hats off to the phpBB development team for many great ideas and features and for a watchful eye for not only nice features, but for efficiency, performance, and security mindfulness **