I have created a blog for a friend.
I have heavily designed it around jQuery's
$.ajax() function and as a result it is only a single webpage asynchronously gets its data (title, article, relative image paths, etc.) from the database.
To navigate, a visitor can do the following:
- Type on a given search
<input>, site will give buttons, and then when a button is pressed, show the data asynchronously to the document area of the site
- Press on the default buttons, and the page will load the data asynchronously to the document area of the site
Being a single page website that does all this, I don't utilize the URL at all. All transfer of data is via POST.
My problem is this: will the page's CONTENTS, if ever published online, be searchable by search engines?
By contents I mean all of the sites available titles, written articles, comments, etc. be searchable if I code it in this manner?
A fellow programmer criticized me for this because, according to him I should have instead created an application that created the whole HTML files for the site whenever there are new articles are written, and use URL for navigation so google and other search engines can maximize searching. Is this true?
*by single page, I meant that the viewer can visit a single webpage of the site alone, and does not have to go anywhere else. There are other pages as well:
- For the admin to write new articles, there is a separate single webpage that performs CRUD operations.
- I also have a webpage that produces JSON when you POST to it.