(转帖)基于web2.0的网站创意

(转自:http://www.matrix.org.cn/resource/article/44/44089_web2.0.html)

基于web2.0的网站创意

cleverpig 发表于 2005-12-29

点击数:43 评论数:1 评价:0/0

关键词:网站创意,web2.0,blog

摘要:

本人是在一个偶然的机会看到这篇文章,文中对基于web2.0的网站创意进行了大胆的设想:使用blogger组将所有的blogger团结在一起互相交流,但并非RSS聚合、Trackback那样来源单一。引用一下原作者的话:“这个“组”则是建立这个“组”的人一开始就定义好了“组”的主题。并且建立一个“组”相当于建立起了一个网站,用经营网站的模式去经营这个“组”将会给建“组”的人和加入这个“组”的人带来收益。”。 文章工具

收藏

投票评分

发表评论

复制链接

内容摘要

本人是在一个偶然的机会看到这篇文章,文中对基于web2.0的网站创意进行了大胆的设想:使用blogger组将所有的blogger团结在一起互相交流,但并非RSS聚合、Trackback那样来源单一。引用一下原作者的话:“这个“组”则是建立这个“组”的人一开始就定义好了“组”的主题。并且建立一个“组”相当于建立起了一个网站,用经营网站的模式去经营这个“组”将会给建“组”的人和加入这个“组”的人带来收益。”。

原文如下:

一、基于web2.0的网站创意

请先看这个图图(画得不错吧,哈哈~),在上过很多的BLOG之后,我发现BLOGGER在写日志时会因为BLOGGER的兴趣、生活状态、客观现实对他的影响而产生日志主题的随意性。那么为什么不可以把这些随意性很大的日志重新排列组合呢?所以,我产生出这个“组”的概念。

这个“组”的功能与Flickr中Groups的运行方式是差不多的,当BLOGGER写好一个日志后,他可以到组里去,把他写的日志的引用地址,向组中提交,从而在组中把这个日志显示出来~

有些与tag类似但又不同,相对于tag是浏览者对所看日志进行定义,这个“组”则是建立这个“组”的人一开始就定义好了“组”的主题。并且建立一个“组”相当于建立起了一个网站,用经营网站的模式去经营这个“组”将会给建“组”的人和加入这个“组”的人带来收益。

“组”还与RSS在线阅读(如:Bloglines)类似但又不同,RSS在线阅读是订阅了全部BLOG中的内容,前面说过的写BLOG的人随意性很大,会写出我们不感兴趣的内容,通过这个组,因为写BLOG的人已经根据自己的文章内容进行了分类,所以不会出现我们不感兴趣的内容。并且因为是相关主题的日志是在一起的,所以可以让看的人看到不同方面的观点,集思广忆。

“组”还与trackback类似但又不同,BLOG向“组”发送日志就是基于与trackback相同的技术:XML(具体可能要用到XMLHTTP与XMLDOM)。便不同在与trackback是两个BLOG之间的交流,而“组”将是N个BLOG之间的。

“组”还与RSS聚合网站(如:BXNA)类似但又不同,RSS聚合网是自动聚合各个分开的BLOG内容的,而“组”则是BLOGGER自己去把自己认为合适的日志加到合适的“组”里去。但也有一些问题,就是有些麻烦,如果BLOG程式中可以加入这个“组”的选择就好了。

也许的也许,这会是一场革命!谁说不是呢?什么事都可能发生!

二、为什么这个创意可行?

通过对 《05年中国5城市互联网使用现状及影响调查报告》和 《網誌使用者與使用行為之研究》的研究报告分析我发现,上网者对网站内容的“有用性”和“易用性”很重视,当一个网站内容“有用”而且“易用”时,会产生一种“知覺愉悅”,那么这个“组”会最大限度的提高“组”内内容的“有用”性!但“组”的“易用性”还需要在设计这个系统时进行认真考虑!

在两个报告中都显示出,网龄比较长的用户喜欢使用BLOG这种模式,并且BLOGGER的飞速增长也是不可争事实,那么这么多的BLOG而产生大量的信息,通过对如何进行利用的分析可知“组”是比较合理的一种信息管理方式。

而且年輕、高學歷、且具有長期網路使用經驗與網頁製作經驗的人群是BLOGGER的主体人群,高学历,高智商会给他们代来高收入,那么针对这样的人群开发相关产品会代来很好的收益。

现有的技术发展也正好可以实现这种模式,基于XML相关的各种技术也在不断的开发出来,如AJAX,RIA,WEB2.0,网站重构,乃至IE7.0也要加入支持RSS的功能,基于XML相关技术的产品是很有发展潜力的。

三、实现创意需要什么?

创意很简单,也要需要精心分析和策划,特别是如果让本系统让BLOGGER和浏览者产生“知覺愉悅”将是一个要非常小心的环节,这需要一位非常厉害的交互设计师(注意:不是UI设计师)来全局把握!

当然还需要对XML应用技术非常了解的技术人员~

还有对本系统进行投资模型、设入成本预案、市场规划、启动计划、发展计划的商业规划~

四、他会产生什么后果?

他会对世界互联网的格局发生根本性转变

五、关键技术解答

为什么他是web2.0的?

因为他是集Blog、TrackBack、RSS、Wiki、Tag、六度分隔理论于一体的,本系统是站在以上技术的之上的,因为站在巨人的肩膀上,所以看得更远!

六、创意来源

以后再说。。。让我放松几天,这几天想得头都大了~

本页面地址:  

→投票评分

     非常好 还行 一般 扔鸡蛋          总得分:0 / 投票人次:0

→用户评论列表

#7314 评论作者: littlebat 发表时间:2005-12-29 06:05

我要认真读一下这篇文章,我发现我在学习日记上的创意可以上升到作者的创意高度。

状态图中初始伪状态是否可以有两条向外的转换?

  这两天为一个初始状态是否可以有两条向外的转换给难住了。朋友说看看规范,我看了2.0的规范上说:

An initial pseudostate is shown as a small solid filled circle (see Figure 15.16). In a region of a classifierBehavior state

machine, the transition from an initial pseudostate may be labeled with the trigger event that creates the object; otherwise,

it must be unlabeled. If it is unlabeled, it represents any transition from the enclosing state.

这没有明确说明是否可以有两条。

  在argouml的用户组和umlchina上发信,一个argouml的外国用户朋友回了信,可是全是长难句,只模模糊糊懂了些。

我把问题和信也贴在这里,有谁看了知道答案说一下:

  argouml用户组的回信:

users@argouml.tigris.org

CC: umlchina@yahoogroups.com, nirvanax@tom.com, users@learndiary.tigris.org, iuking@163.com

From: "Dashing Meng" <learndiary_dashing@yahoo.com>  Add to Address Book  Add Mobile Alert

Yahoo! DomainKeys has confirmed that this message was sent by yahoogroups.com. Learn more

Date: Thu, 29 Dec 2005 01:18:42 -0800 (PST)

Subject: [UMLChina] Re: [argouml-users] ArgoUML told me,the initial state should has only one outgoing transition in a statechart diagram

   

Thanks for your answer very much.I understood most part of your answer except those very long sentence:),my english isn't well.

 

This is something I will model:

User(userID,userName)

Goal(goalID,goalName)

MyGoal(userID,goalID,goalState)

the relationship between User and Goal is :M:N,and MyGoal is the association class.

MyGoal has three states:processing,quited,finished.

 

People will join an existed goal,and write diary under a goal,like the operation model of http://www.43things.com

 

From a user's view,there are two ways he can create a new object of class MyGoal:a user join a goal directly without posting diary under it, and a user post an diary under a goal, when he do these,a new MyGoal's record will be insert into database and with the state:processing.

 

From the system's view,in fact,user join a goal is the operation like:

User.joinGoal(int GoalID),then a new MyGoal is created;

user post a diary under a goal is the operations below:

User.postDiary(int GoalID),and,if this is the first posting diary under this goal,this operation will call the previous operation:User.joinGoal(int GoalID).

 

So,in fact,the object of class MyGoal's creating is caused by User.joinGoal(int GoalID) only.

 

But,I am modeling a business model now and only from the user's view to do so,what do you think to treat this kind of things?

 

Thanks.

 

/Dashing Meng

Leif Holmgren <sm4rpq@amsat.org> wrote:

Hi!

As I have been tought and what I can make out of the UML standard the

initial state symbol is there just to show which of the other states the

object end up in when it is created. So there is no real transition from

the "initial state" and another state other than the one taken from the

big void when the object is created. The UML standard also specifies

that you can have only one initial state in each (sub)state-machine!

Unfortunately the UML standard is pretty messed up when it comes to

state machines so you have to read the text carefully to understand

this, and don't stop at the 1.4 standard as the newer ones are more

clear but still messy.

Exactly what are you trying to state with your model? Can your object

start off in one of two different states or are you treating the initial

state symbol as a state of it's own?

I would not model (or program for that matter) a class that have it's

object start off in two different states at all. I would instead create

an initial state (created) from which I immediately transit to one of

those that I really want to be in after initialization. When an object

has something that needs to be initialized at object creation time it

tends to be the same initialization no matter what lifecycle you want

the object to go through later on.

If you are just thinking of the initial state as a proper state you

just have to add an extra state and then two outgoing transitions from

that one (properly named and guarded of cource) and you are back on track.

/Leif

Dashing Meng wrote:

> Hi,All,

> There are two path from the initial state can enter the state call

> "Processing".But when I draw two outgoing transition from the initial

> state,The ArgoUML said:

> This Initial state has an invalid number of transitions. Normally

> Initial states have at most one outgoing transition.

> Defining correct state transitions is needed to complete the

> behavioral specification part of your design.

> To fix this, remove transitions by clicking on transition in the

> diagram and pressing the "Ctrl-Delete" key.

>

> So I added a Junction between the initial state and state

> "Processing".Is this way all right?

>

> Thanks.

>

> ------------------------------------------------------------------------

  umlchina上的回答:

From: <alexzhang@...>

Date: Wed Dec 28, 2005  8:40 pm

Subject: RE: [UMLChina] Re: ArgoUML told me,the initial state should has only one outgoing transition in a statechart diagram  alexzhang@...

 Send Email 

Hi Dashing,

I think this quesiton is tool  independent. You should refer to the state chart specification to see how it is prescribed in UML.

I urgently recommend we should learn from UML specification as the root cause.

 

 

Regards,

 

Alex Zhang

___________

GDNT, G124

ESN: 554-8782

-----Original Message-----

From: UMLChina@yahoogroups.com [mailto:UMLChina@yahoogroups.com] On Behalf Of Dashing Meng

Sent: Wednesday, December 28, 2005 8:36 PM

To: UMLChina@yahoogroups.com

Subject: RE: [UMLChina] Re: ArgoUML told me,the initial state should has only one outgoing transition in a statechart diagram

But,is there anyone can answer my question? If a initial state can has outgoing transition more than one in a state diagram?

http://learndiary.tigris.org/source/browse/learndiary/old/documentatio

n/easy_diary/design/pictures/MyGoalInfoStateChart.gif?

rev=1.1&view=markup

I am a UML self-learner,please tell me all the errors of mine.

Thanks a lot.

Dashing Meng <learndiary_dashing@yahoo.com> wrote:

ArgoUML is 100 percent free open source UML tool,it has been developing for 10 years,the main reason I using it in our open source project-LearnDiary is the spirit of ArgoUML developing Team.

Because we use a UML tool only for open source non-commerial developing for learning purpose.So we don't need a very powerful commerial UML tool.

In fact,I found ArgoUML is a little hard to use at first,but after using it some days,I have known some little skills for avoiding its defects and do some model with ArgoUML happily.

Thanks for introducing Visual Paradigm for UML for all of us.

Alex Guo <Alex.Guo@BenQ.com> wrote:

Hi, everyone

脗 脗 脗  Have you try Visual Paradigm for UML, it芒鈧劉s a perfect tool for draw UML diagram.

 

 

 

 

 

-----------------

Alex Guo

2005

--------------------------------------------------------------------------------

From: UMLChina@yahoogroups.com [mailto:UMLChina@yahoogroups.com] On Behalf Of Dashing Meng

Sent: Wednesday, December 28, 2005 4:01 PM

To: UMLChina@yahoogroups.com

Subject: RE: [UMLChina] Re: ArgoUML told me,the initial state should has only one outgoing transition in a statechart diagram

 

All is in http://argouml.tigris.org

Here is its last version of all things:include source,binary distribution,user manual,etc..

:http://argouml-downloads.tigris.org/argouml-0.20.ALPHA_4/

alexzhang@gdnt.com.cn wrote:

Hi

Dou you have the User Guide to ArgoUML?

Regards,

 

Alex Zhang

___________

GDNT, G124

ESN: 554-8782

-----Original Message-----

From: UMLChina@yahoogroups.com [mailto:UMLChina@yahoogroups.com] On Behalf Of learndiary_dashing

Sent: Wednesday, December 28, 2005 11:15 AM

To: UMLChina@yahoogroups.com

Subject: [UMLChina] Re: ArgoUML told me,the initial state should has only one outgoing transition in a statechart diagram

 

  可能是我没有正确的表达自己的意思吧:)

ArgoUML有个模型正确性的自动判定功能,也就是他们说的:cognitive

support.

  当我在状态机图的初始状态后面画了两条进入下一状态的转换线时,它告诉

我一般初始状态只能有最多一条向外的转换线。

  于是,我在初始状态和下一状态间加了一个分支点:Junction,然后ArgoUML

就不报错了。状态机图见下:

http://learndiary.tigris.org/source/browse/learndiary/old/documentatio

n/easy_diary/design/pictures/MyGoalInfoStateChart.gif?

rev=1.1&view=markup

  我想问:从UML规范来说,一个初始状态是不是只能有一条向外的转换

线?如果不能,假设我的真实的第一个状态有两条路径都可以进入,我怎样来表

达这种需求呢?

  我没有在课堂上学过UML,用语不规范或其他的任何不当的地方还望给予

指出。

  谢谢。

http://www.learndiary.com

http://develop.learndiary.com

LearnDiay Develop Group

--- In UMLChina@yahoogroups.com, ZhangChaoYang <from_mfc@y...> wrote:

>

> 他的意思可能是认为initState只是一个虚拟状态,不是真实存在的,所以要

定义一个真正的初始状态,比如idel状态

>

> Dashing Meng <learndiary_dashing@y...> wrote: Hi,All,

> There are two path from the initial state can enter the state

call "Processing".But when I draw two outgoing transition from the

initial state,The ArgoUML said:

> This Initial state has an invalid number of transitions. Normally

Initial states have at most one outgoing transition.

> Defining correct state transitions is needed to complete the

behavioral specification part of your design.

> To fix this, remove transitions by clicking on transition in the

diagram and pressing the "Ctrl-Delete" key.

>

> So I added a Junction between the initial state and

state "Processing".Is this way all right?

>

> Thanks.

>

  

真是惭愧,至今也没有通读一遍Struts的教程

  电子教程倒是下了好几本,都是临到用时去翻。一些基本的东西的概念也是模糊的。像<html:link/>的用法。我就记不得了。书上说:

  The html:link tag renders an HTML anchor tag (i.e., a hyperlink). This tag uses a lot of the same common

attributes as described earlier.You have multiple options for rendering the URL of a hyperlink. You can use the

href, action, forward, or page attributes to specify the URL.

 The href attribute is used to specify a full

URL without any knowledge of the web context of this web application.

 The page attribute is used to specify a

web context relative link.

 The action attribute is used to specify a link to an action mapping, as described in the

Struts config file.

 The forward attribute is used to specify a link to a global forward, as described in the Struts

config file.

Tip: TIP: If you are following a Model 2/MVC architecture, then you should use the page attribute and

the href attribute sparingly. In fact, you should almost never use the page attribute. The href

attribute should only be used to link to resources that are not in the current web application. This helps

you separate the controller from the View by not letting the View select the next View directly. Only the

controller should select the next View. Using the action and forward attributes instead forces you

to delegate selection of the next View to the controller.

Here is an example of linking to an action (/html-link.do) with the page attribute:

<html:link page="/html-link.do">

Linking with the page attribute.

</html:link>

Notice that you do not have to specify the web context of the web application. Conversely, if you used the href

attribute, you would have to specify the web context as follows (where the context is struts-exercise):

<html:link href="/struts-exercise-taglib/html-link.do">

Using Href

</html:link>

Obviously, it is better to use the page attribute when you are linking to things in the same web application (thus,

the same context). You can also use the href attribute to create links that are not on the same server as follows:

<html:link

href="http://otherserver/strutsTut/html-link.do">

Using Href

</html:link>

Another way to link to the html-link.do action is to use the action attribute as follows:

<html:link action="/html-link">

Using Action attribute

</html:link>

(转帖)web中下拉列表的几种实现

转自:http://www.matrix.org.cn/resource/article/43/43809.html

Matrix首页 Java文栏 业界新闻 部落格 资源下载 Java 论坛 web中下拉列表的几种实现

wldandan 发表于2005-09-23 作者:wldandan 评价:0/0 评论数:4 点击数:1490 [收藏]

摘要:

总结一下关于web上使用下拉框的情况

本文Matrix永久镜像:http://www.matrix.org.cn/resource/article/43/43809.html

说明:本文可能由Matrix原创,也可能由Matrix的会员整理,或者由

Matrix的Crawler在全球知名Java或者其他技术相关站点抓取并永久

保留镜像,Matrix会保留所有原来的出处URL,并在显著地方作出说明,

如果你发觉出处URL有误,请联系Matrix改正.

总结一下关于web上使用下拉框的情况

从数据库中获得数据List,将数据放到Request里面

        使用setAttribute(”AList”,AList)

A中有2个属性(String id,String value)

1.        使用JSTL的forEach方式

<select name=”xx” ……..>

<c:forEach items="${AList}" var="p" >

        <c:choose>

                <c:when test="${xxx == p.id}">

                        <option value='<c:out value="${p.id}"/>' selected="selected">

                                        <c:out value="${p.value}"/>

                        </option>

                </c:when>

        <c:otherwise>

                        <option value='<c:out value="${p.id}"/>'>

                                <c:out value="${p.value}"/>

                        </option>

                </c:otherwise>

        </c:choose>       

<c:forEach>

</select>

2.        使用struts的标签

<html:select property=”xxx”>

<html:options collection="AList" labelProperty="value" property="id" />

</html:select>

查一下struts的api文档,可以看到select 中选项有3 taglib可以使用。

第一种直接使用把所有选项写在中间。

<html:option value="0-15">0-15</html:option> <html:option value="15-20" >15-20</html:option> <html:option value="20-30" >20-30</html:option> <html:option value="20 or above">30 or above</html:option>

第二种:把选项放在一个Collection中(这里使用List).在实际项目中,更多的是可能数据来源于db,文件等。这种情况用得比较多。

<html:options collection="AList" property="value" labelProperty="label"/>把option放在list中的过程在Action中作处理//prepare the age selector list.List ageList =new ArrayList();ageList.add(new LabelValueBean("0-15","0-15"));ageList.add(new LabelValueBean("15-20","15-20"));ageList.add(new LabelValueBean("20-30","20-30"));ageList.add(new LabelValueBean("30 or above","30 or above"));request.setAttribute("AList",AList);

这里使用了LabelValueBean,可以不用的,象

<html:options collection="AList" labelProperty="value" property="id" />

只要在AList中填入的bean有value和id属性就可以

第三种,把此list 作为Form 的一个属性.

<html:optionsCollection property="AList" />

在Form 中添加AList 的setter和getter. Form中作如下处理。

//the list can be a form property.

f.setAgeList(AList);

1.        从数据库中获得数据,你应该在Action里面取得数据后,将数据放到Request里面

2.        数据取出来后放在一个List或Collection或Map里面,我习惯用List

3.        从List或其它的容器中取数据应该用<html:options> 或<html:optionsCollection>

4.        <html:options> 和<html:optionsCollection>外层必须用<html:select property="">,所以这个属性你必须在FormBean里定义

5.        由于你要用到这些标签,所以你必须定义FormBean

6.       

从Action取数据,以List为例

List list = xxxxx;//从数据库中取得下拉列表中的数据

request.setAttribute("list",list);

在页面显示

<html:form action="xxxx">...<html:select property="xxx"><html:options collection="list" labelProperty="下拉框中显示的内容,一般是name或其它相似属性" property="各选项对应的值,一般是id" /></html:select>...</html:form>

补充一点点:

因为数据你要从 数据库去取, 所以一般在 action 里调用 DAO ,作为 request 的一个属性传到页面上; 这时一般用 <html:options .../> 标签

另外,如果数据不从数据库去取,而是代码固定的,则一般把这种放到 ActionForm 里,作为属性在页面上取,这时一般用 <html:optionsCollection ... />

我来评价此文: 非常好 还行 一般 扔鸡蛋 总得分:0 投票人次:0

→用户评论列表

#7269 评论作者: littlebat 发表时间:2005-12-27 10:34

正准备用它,对于我来说,上面的信息足够了。谢谢。

#6861 评论作者: jctr 发表时间:2005-12-09 03:59

还应该有第三种,Tapestry的实现,其实也不只这三种还有很多很多吧

#5288 评论作者:xuerldx 发表时间:2005-10-25 07:37

还是不错,就是 有点肤浅

#4811 评论作者: highfan 发表时间:2005-10-05 04:46

你可以把collection 作为

actionform 的

一个属性,在 actionform 中 初始化 也可以 ,在 action 中

初始化 也可以。这样更简单。同时减少view和 control 直接的命名依赖。

我们可以在一张活动图上画一个用例和用例的所有扩展

  今天,向umlchina讨论组和argouml用户讨论组发了一封信,请教是否可以在一张活动图上画一个用例和用例的所有扩展。很高兴收到了argouml开发者mvw的回复。他的意见是可以这样做,并且详细解释了用例图中“包括”和“扩展”的关系。从中可以看出argouml开发社区对用户的真诚和友好。这愈发坚定了我使用argouml进行设计的决心。

  附我的信件和mvw的回信:

From: "Michiel van der Wulp" <mvw@tigris.org>  Add to Address Book  Add Mobile Alert 

To: users@argouml.tigris.org

Date: Tue, 27 Dec 2005 09:28:35 +0100

Subject:  Re: [argouml-users] A question about drawing activity diagram for extends usecases

   

Hi Dashing,

 

Nice colourful diagrams!

 

>> Can I draw the activty diagrams of a usecase and

>> all its extends usecase in one activity diagram?

 

Yes. Since the extends are steps that only happen conditionally, it would be nice to show the condition in the diagram, too. You already did this in the other activity diagram in two ways: with a Junction state (the diamond), and with a Guard - I think both are OK. The junction slightly preferred if people that only know flow-charts have to read the diagrams.

 

One other remark on usecases, which seem to be confused by many, is the difference between include and extend.

An include is comparable with a subroutine: it is always executed, and (usually) only pulled out from the main usecase because it is common with other usecases. An extension is something that happens on a condition somewhere along the path.

 

Regards,

Michiel

 

----- Original Message -----

From: Dashing Meng

To: umlchina@yahoogroups.com ; users@argouml.tigris.org ; 炜 张

Sent: Tuesday, December 27, 2005 4:40 AM

Subject: [argouml-users] A question about drawing activity diagram for extends usecases

Hi,

  Can I draw the activty diagrams of a usecase and all its extends usecase in one activity diagram?here is my usecase diagram:

http://www.learndiary.com/pictures/easyDiary/easyDiaryUseCaseDiagram.gif

this is my activty diagram:

http://www.learndiary.com/pictures/easyDiary/PostADiaryactivityDiagram.gif

my unfinished ArgoUML0.18.1 model:

http://www.learndiary.com/pictures/easyDiary/easyDiary.zargo

 

thanks a lot.

搞不懂ultraEdit的汉字编码问题了

用ultraEdit8英文版,在它和eclipse之间复制汉字会成乱码,直接在各自的窗口中编辑同一个文件,不会成乱码;

用ultraEdit11中文版,eclipse用GBK默认保存的汉字,用它打开成乱码。用它编写的汉字保存后,在eclipse中成乱码,在编译后的程序中成乱码。

真是搞不懂了,只有不用ultraEdit11了,使用ultraEDIT8也不要使用粘贴复制功能了。

使写作日记更方便的具体改动

为了鼓励用户交流,鼓励发帖,特别的进行easy to write diary的改进。按实现的重要性排序:

1、当用户撰写成功一个目标的第一篇日记时,就加入了这个目标。以后在写这个目标下的日记时就不必再次加入这个目标了;

2、如果用户在已经退出或完成的目标中写日记完成后,目标自动转为进行中的目标;

3、既要提供用户专门写日记的链接,更要提供用户在相应的帖子中写日记的选择:

1)、在菜单栏中单独建一个最醒目的链接,文字提示为:今天我要写日记。里面为单独写日记的地方,如果一个用户没有加入任何目标,则提示他在主页上加入目标或者创建目标。怎么样判断一个用户没有加入任何目标呢?有两种方法来进行判断:

  (1)、在usergoal表中检测是否有这个用户的进行中的目标项;

  (2)、在user表中添加3个字段,分别为:进行中、退出的、完成的目标数目;

决定采用第(2)种方法,这里需要把userGoal表中的数据转到user表中的上面的3个字段。

2)、在目标的内容上加入添加日记的链接;

3)、在目标的所有日记列表中加入添加日记的链接;

4)、在目标的我的日记列表中加入添加日记的链接;

5)、在日记的内容上加入添加同类日记的链接;

4、完善用户添加目标的过程,新加一页名为:readyToAddGoal.jsp并且把它加入页面类型常量,建议先进行搜索目标的过程,如果用户点击先进行目标的搜索则在同一页进行目标的搜索同时在导航条中保留“准备添加新目标”的链接;如果用户点击“直接撰写新目标”,则正式撰写新目标。

Common conversation-life-food

faint

What do you say to dinning with me at reastaraunt?

Waiter,is there a vacant table?

waiter,bring us the menu.

Do you wish a regular meal or to order from menu?

What will you have to eat?

I am not sure what do your sugguect?

Well,their double cheesebulger is great.

How do you want your sneak?

Menium,please.

加入通过电子邮件取回密码和MD5加密密码的功能

  首先祝大家圣诞节快乐!祝大家天天快乐!

  学习日记开发小组(LDDG)在本着用户至上的原则,在V0.9.0.4的基础上,学习日记又有新功能如下:

  一、忘记密码的用户可以通过注册时填写的邮件地址获得重设密码的信件,然后根据这个信件中提供的用户ID和标记重设密码。流程如下:

  1、用户忘记密码,请求重置密码;

  2、检测用户是否在72小时内请求过重置密码,若是,给出提示消息,中止;否则继续;

  3、系统发一封包括用户ID和随机产生的8位Token到用户注册时留下的信箱,同时记下发送邮件的时间;

  4、系统每隔1小时检测取回密码的用户的邮件发送时间,如果没有超过72小时,则继续检测;如果超过72小时,则删除用户重置密码的记录,用户需要重新请求发送密码;

  5、用户收到重置密码的邮件,点击重置密码的链接,登录到重置密码的页面,用户输入新密码两遍;

  6、如果用户在重置密码页面输入的用户ID和Token都正确并且两次新密码一致,则系统接受新密码,并经MD5加密后,存入数据库,新密码生效,引导用户转往用户登录页面,同时,删除用户重置密码的记录;

  7、如果用户在重置密码页面输入的用户ID和Token有误或两次密码不一致或者密码字符非法,返回重置密码的页面,提示用户错误和重新输入新密码,直到用户输入正确或取消重置密码的过程;

  二、用户在数据库中的密码经过了MD5加密,任何人都无法知道您的密码,使您对自己的帐户安全问题更放心。  

  三、添加游客测试帐户(guest),使游客可以使用注册用户现有的全部功能(但是为了拥有自己的目标体系,建议注册自己的帐号,以后的注册用户会有更多的权限,具体内容暂时保密:))

  四、最新源码下载:

  1、单独的取回密码模块:使用“argouml+eclipse+struts+strutstestcase+junit(测试驱动)”的开发模式,下载地址:

http://www.learndiary.com/download/learndiary_login.zip

  2、在cvs库中下载最新源码:

  1)单独的取回密码模块:

  cvs -d :pserver:learndiary@cvs.tigris.org:/cvs login(密码:123456)

  cvs -d :pserver:learndiary@cvs.tigris.org:/cvs checkout -P learndiary/find_a_way/login

  2)全部完整的网站源码: 

  cvs -d :pserver:learndiary@cvs.tigris.org:/cvs login(密码:123456)

  cvs -d :pserver:learndiary@cvs.tigris.org:/cvs checkout -P learndiary/old

  

  五、本次更新主要参与者:ppig,dashing_meng(全部开发小组成员参见:http://learndiary.tigris.org/servlets/ProjectMemberList)

根据用户提供的rss地址同步更新用户在其它网站的帖子或

  因为大家在网上发帖和写blog多是为了有同道者加入进来讨论。但是学习日记目前没有几个人加入进来,这就形成一个恶性循环-人越少就越没有人。为了解决这个问题,可以提供把日记绑定到用户其它blog或帖子中的功能。也就是说,只要用户在其它网站上发了帖,我们通过定时检验rss地址,可以把用户的帖子复制过来。

  因为这是用户自愿的,所以应该不会侵权,但是,如果,其它网站禁止用户把文章绑到这里来那是用户与其它网站之间的事,与我们无关。

  这种形式,网上好像已经有了。像有个trans系统的雷达新闻系统就是,还有专门抓取其它网站文章的这种网站。

  要实现这个功能的前提是必须引入RSS技术,并且为了兼容于现在的两种主流rss技术,也许应该两种rss标准都要使用。当然,可以先实现大家使用最多的。