Hello, I've been studying web design and development for about a year and a half to learn to build myself a website to show my music and other artwork. I am wondering what is the best steps to take now, in terms of site architecture, to house what I am hoping will eventually be lots more content.
On my site (below), two pages ('music', and 'sketchbook') use php to script which items are visible. I experimented with using MySQL to house these, but became concerned because I don't really understand how to avoid SQL injection, so I just put variable markup into a php
switchstatement, until I come up with a better plan.
So in essence, I'd like to use js to house content 'blog-style', rather than php. From what I know, it seems doable - but is this ever done? Is there any reason not to approach the problem like this? Should I be concerned about load times?
Thanks for your thoughts on this! My site is: