I have never made a CMS before. I want the ability to place a varying number of images within the body of the text article on the page php will serve. So imagine a page top to bottom that has text, image, text, image, text and so on. Some pages may have a lot of images and some may have none.
I look at news paper sites like the huffington post to try and figure out how on earth they manage there content. I know there are programs like Word Press, but I just want something simple for my site.
So I look at the url: http://www.huffingtonpost.com/2015/01/27/iphone-6-sales_n_6557550.html
and I wonder do they store every news article as an html page in a folder directory like folder 2015 > folder 01 > folder 27 has the html. and store all images in one big image folder. There for the database does not hold the meet of the article. It holds only the title and image names?
Sometimes there is no .html at the end of the url. Does this mean the url fragments are for the sole purpose of accessing the database to retrieve the entire text of the article plus image names and a php template is used to contact the database and layout the whole article on the page?
Can someone with experience show me how this is done? Thanks.