惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
博客园_首页
博客园 - 聂微东
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
The Cloudflare Blog
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
D
Docker
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
B
Blog RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Jina AI
Jina AI
博客园 - Franky
D
DataBreaches.Net

博客园 - Ja

[转]Moving Your Access 2002 Database to SQL Server 新浪Blog支持手机Wap浏览了 AJAX是什么? [歌词]世界末日 无题 [JavaScript]给自己的网站添加简单文本日志 [HTML]标签的StyleSheet [ASP]Server.Execute 我的毕业设计(一)模型调度 在C++ Builder中调用FORTRAN生成的DLL 怎么取得DLL文件中的函数名列表? 解决Navihelper.dll(女生宿舍)病毒的方法一则 过去的2004 Gmail invitations 硕泰克SL-67fv1支持PIII800EB吗? 再来一个Email Logo 我的Gmail邮箱 Who can invite me to Wallop?Thanks! 被SQL Server 2005郁闷了
示例3:论坛主题搜索
Ja · 2005-11-23 · via 博客园 - Ja

    发现下面这个例子跟我正在实现的东西很相似。我正在做的FAQ系统就想引导用户靠自己找到问题的答案,而不是忽略掉已经解决的问题直接去点击“我要问问题”按钮。FAQ(Frequently Asked Questions)要真正起到它的作用。

Sample 3: Forums Subject Search

The last example we'll look at will be the modification of an existing app. I heard this idea first proposed by Josh Ledgard as a feature being played with for the MSDN forums. The goal of it is to try to help users with questions help themselves, as well as to curb the number of duplicate posts. Basically, when a user goes to ask a new question in the forum, he or she enters a subject and a question, all too often not doing a search to see whether the question was already asked and answered. Enter AJAX. After the user finishes entering the subject (and tabs out of the field), we'll asynchronously search the forums, based on the subject, and non-obtrusively present the results to the user. Sometimes the results will be helpful, sometimes not.

To accomplish this, we'll modify the asp.NETPRO Reader's Choice Award for Best Forum Application, CommunityServer. The downloadable samples doesn't include the code in this section (or the forums), but you can learn more about CommunityServer at http://communityserver.org/ and apply the following code snippets to it.

示例3:论坛主题搜索

    我们要看的最后一个示例是一个现有应用程序的修改。我第一次听到这个想法是Josh Ledgard设想在MSDN forums里 添加一个新特性,目的是尝试让用户自己找到问题的答案,来阻止以前那样贴很多重复的帖子。基本上用户要在论坛里提问的时候,他/她直接键入主题和问题,而 不去搜索这个问题是不是已经有人问过并且已经有了答复。输入AJAX,当用户输入完这个主题以后(或者切换到这个输入区外),我们基于这个主题异步地搜索论坛,然后不冒失的把结果呈现给用户。有时候这些结果会有帮助,当然也有时候不会。

    要实现这个,我们要修改asp.NETPRO Reader's Choice Award for Best Forum Application, CommunityServer。可下载的示例中不包含着一部分(或这个论坛)的代码,但是你能在http://communityserver.org/学到关于CommunityServer的知识,并且把下面这些代码片断应用进去。

翻译: Ja