August 29, 2007
Bailing on the database

I\\\'ve decided that as I get more into JavaScript programming that I should have the capability of including JavaScript into my blog entries. This of course is an issue if the location the content goes is into a database backend that may cause problems for rendering items like curly brackets or semi-colons into a text entry field that would get parsed and into a database. Currently if I wanted to have an ampersand on the page I\\\'d have use & for it to get interpreted into the database and then rendered back to the page. Of course then it would cause JavaScript errors as it was sent back to the web page for actual processing.

This does mean a little less convenience in posting new articles but in general it\\\'s worth it. What it also means is that I may go ahead and throw out the full site styles. What fun is it to have the entire website with the exact same look and feel, when I can go to town with different layouts on all the different pages.

I will keep the user\\\'s posting part in the database. So you commenters out there will be stuck posting with limited availability for special characters and no availability for javascript or HTML, sorry.

Sean

permalink  comment