开发者

Javascript loading xml, searching, and good practice

I'm new on this whole web design business, and I am beginning to think I am going against good practices, so I had some questions.

I am making a website for a family company. We have a great deal of products that often change, and I need to make the site in a way that it will be editable by someone else less tech savy when I leave the company. My plan was to keep each product in an xml file loaded via javascript on each page. Later, I might attempt to write another script to make editing these xml files easy.

I am worried about two things. First, I am getting a sense that this is bad practice because some users disable javascript. Second, I am worried that search engines will not be able to find content on my site because all they will see is some template html and some javascript. I would like to be searchable and use good practice, but I have no idea how to solve the issue of dynamically changing content that is easy to edit in another way.

I would really appreciate if someone would point me in the right direction so that I know what I sh开发者_JAVA技巧ould be researching.

Thanks

RShom


There are many good free, open-source software products that let you create a customizable content management system (CMS). Drupal and Joomla are very popular ones.

Try searching for "free cms" and see what you find.


I bet you must have heard of PHP, even if you are not using it. I suggest you use PHP to parse your XML into HTML and present. Then your content will be searchable because PHP is server-side scripting. You are going to be using javascript, too, but it shouldn't be for the XML. It is to me for enhancement of a webpage (aside AJAX).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜