slamb.org / projects / axamol  

Axamol Message Board

What is it?

Axamol Message Board is a web-based message board with a solid relational schema, a well-defined rich-text format for messages, and excellent code organization. Since it uses Axamol SAX Pipeline, I'm confident that it has no cross-site scripting vulnerabilities.

It is not a complete message board system—it may become one someday, but for now it is missing important features. If you just want a message board to use today, you should look elsewhere.

Where can I see it?

I've got a live demo here.

What's so great about this design?

Can I use the SQL libraries and AXP pages in my own projects?

Yeah, those are separate chunks of software called Axamol SQL Library and Axamol SAX Pipeline.

What needs to be done?

Test it with a large database and check the performance. I don't know how it will perform in this situation—SQL query execution plans are tailored to the data. The optimizers in databases such as PostgreSQL and Oracle not only look at the number of records before generating an execution plan, but also do a surprisingly sophisticated statistical analysis. Thus, it's difficult to create dummy data for performance testing. The currently-generated execution plans will perform well only for small databases, but this is normal.

I suspect there will be performance problems in some of the queries. It may be necessary to create triggers to maintain some denormalized data for speed. However, I will not do so unless (or until) the need is clearly demonstrated.

The security could be improved even more. The web application should have a RDBMS user with the minimum necessary privileges, as another layer of security. This is just a matter of adding some grant statements and possibly moving some things into views and stored procedures.

And there are tons of missing features: