Re: [flask] Is there a ranking system for flask available
- From:
- Alex
- Date:
- 2011-05-27 @ 05:29
Hi Wilson,
You are right.What i need is just a 'five stars ranking' system.Maybe i
should look at jquery.
Thanks for replying.
2011/5/27 Wilson Xu <im.wilson.xu@gmail.com>
> Hey Alex,
>
> That sounds you might wanna assign a property "scores" to post object and
> post table, then "select * from post order by scores desc" if relationship
> database used.
>
> Please correct me if I am wrong. My understanding of "module" is to fix
> universal (sort of) problems, which are a few abstracted codes to stop from
> typing again and again, such as SQLAlchemy for ORM.
>
> However, your needs look specific (compared with ORM) and simple enough to
> implement on your own.
>
> By the way, if you wanna use the "five stars ranking" (hey, this is quite
> universal), there should be a few jQuery plugins available.
>
> Best,
> Wilson
>
> On Fri, May 27, 2011 at 12:17 PM, Alex <gfreezy@gmail.com> wrote:
>
>> Every post can be marked as 'like' or 'unlike'.
>> A 'like' might be regarded as 1 point and 'unlike' -1 point;
>> The post with the highest point will be showed in the first.
>> Others come after it.
>>
>> Sorry for the poor english.I hope i have explain it clearly.
>>
>>
>> 2011/5/27 Amirouche Boubekki <amirouche.boubekki@gmail.com>
>>
>>> Hi Alex,
>>>
>>> what do you mean by ranking ?
>>>
>>>
>>> 2011/5/26 Alex <gfreezy@gmail.com>
>>>
>>>> I want to rank my posts.Is there a module available now?
>>>> Thanks.
>>>>
>>>
>>> regards,
>>>
>>> Amirouche
>>>
>>
>>
>
>
> --
> Think and code @ imwilsonxu.net
>
Re: [flask] Is there a ranking system for flask available
- From:
- Amirouche Boubekki
- Date:
- 2011-05-27 @ 07:29
2011/5/27 Alex <gfreezy@gmail.com>
> Hi Wilson,
>
> You are right.What i need is just a 'five stars ranking' system.Maybe i
> should look at jquery.
> Thanks for replying.
javascript is for showing to score but you still have to store somewhere the
score.
>
> 2011/5/27 Wilson Xu <im.wilson.xu@gmail.com>
>
>> Hey Alex,
>>
>> That sounds you might wanna assign a property "scores" to post object and
>> post table, then "select * from post order by scores desc" if relationship
>> database used.
>>
>> Please correct me if I am wrong. My understanding of "module" is to fix
>> universal (sort of) problems, which are a few abstracted codes to stop from
>> typing again and again, such as SQLAlchemy for ORM.
>>
>> However, your needs look specific (compared with ORM) and simple enough to
>> implement on your own.
>>
>> By the way, if you wanna use the "five stars ranking" (hey, this is quite
>> universal), there should be a few jQuery plugins available.
>>
>> Best,
>> Wilson
>>
>> On Fri, May 27, 2011 at 12:17 PM, Alex <gfreezy@gmail.com> wrote:
>>
>>> Every post can be marked as 'like' or 'unlike'.
>>> A 'like' might be regarded as 1 point and 'unlike' -1 point;
>>> The post with the highest point will be showed in the first.
>>> Others come after it.
>>>
>>> Sorry for the poor english.I hope i have explain it clearly.
>>>
>>>
>>> 2011/5/27 Amirouche Boubekki <amirouche.boubekki@gmail.com>
>>>
>>>> Hi Alex,
>>>>
>>>> what do you mean by ranking ?
>>>>
>>>>
>>>> 2011/5/26 Alex <gfreezy@gmail.com>
>>>>
>>>>> I want to rank my posts.Is there a module available now?
>>>>> Thanks.
>>>>>
>>>>
>>>> regards,
>>>>
>>>> Amirouche
>>>>
>>>
>>>
>>
>>
>> --
>> Think and code @ imwilsonxu.net
>>
>
>
Re: [flask] Is there a ranking system for flask available
- From:
- Alex
- Date:
- 2011-05-27 @ 07:45
Got it. Thank you.
2011/5/27 Amirouche Boubekki <amirouche.boubekki@gmail.com>
>
>
> 2011/5/27 Alex <gfreezy@gmail.com>
>
>> Hi Wilson,
>>
>> You are right.What i need is just a 'five stars ranking' system.Maybe i
>> should look at jquery.
>> Thanks for replying.
>
>
> javascript is for showing to score but you still have to store somewhere
> the score.
>
>
>
>>
>> 2011/5/27 Wilson Xu <im.wilson.xu@gmail.com>
>>
>>> Hey Alex,
>>>
>>> That sounds you might wanna assign a property "scores" to post object and
>>> post table, then "select * from post order by scores desc" if relationship
>>> database used.
>>>
>>> Please correct me if I am wrong. My understanding of "module" is to fix
>>> universal (sort of) problems, which are a few abstracted codes to stop from
>>> typing again and again, such as SQLAlchemy for ORM.
>>>
>>> However, your needs look specific (compared with ORM) and simple enough
>>> to implement on your own.
>>>
>>> By the way, if you wanna use the "five stars ranking" (hey, this is quite
>>> universal), there should be a few jQuery plugins available.
>>>
>>> Best,
>>> Wilson
>>>
>>> On Fri, May 27, 2011 at 12:17 PM, Alex <gfreezy@gmail.com> wrote:
>>>
>>>> Every post can be marked as 'like' or 'unlike'.
>>>> A 'like' might be regarded as 1 point and 'unlike' -1 point;
>>>> The post with the highest point will be showed in the first.
>>>> Others come after it.
>>>>
>>>> Sorry for the poor english.I hope i have explain it clearly.
>>>>
>>>>
>>>> 2011/5/27 Amirouche Boubekki <amirouche.boubekki@gmail.com>
>>>>
>>>>> Hi Alex,
>>>>>
>>>>> what do you mean by ranking ?
>>>>>
>>>>>
>>>>> 2011/5/26 Alex <gfreezy@gmail.com>
>>>>>
>>>>>> I want to rank my posts.Is there a module available now?
>>>>>> Thanks.
>>>>>>
>>>>>
>>>>> regards,
>>>>>
>>>>> Amirouche
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Think and code @ imwilsonxu.net
>>>
>>
>>
>