0

I am setting up a website where you click a category which takes you to a page listing various items under that category. How can I make it where after a user selects a category the webpage is dynamically built around that category. Example: After clicking Beer category the next page will say "List of Beer", had they clicked wine it would say "List of Wine."

4

1 回答 1

0

您需要使用检索方法设置某种数据存储。

例如,您可以创建一个数据存储(SQL、XML 等),并在其上放置服务(在这种情况下,您的服务可能是 /category/{name})。然后,您的网页可以调用该服务,并动态显示数据存储中的数据。

有一些很好的资源可以帮助您入门,例如 codeigniter (php)、spring (java) 和 ASP.NET MVC

于 2012-10-09T02:24:31.420 回答