Ah another thing i wanted to mention, if it's ok with the people who are
using such a stat system, once some time has passed after the gadget
publishing and it has had time to atract some users, we can share our user
stats in a thread such as this to compare numbers of users, how much they
keep our gadgets, etc. and maybe we can come up with some cool conclusions
that will help us make better gadgets :)

On Fri, Aug 29, 2008 at 12:03 PM, Teo <[EMAIL PROTECTED]> wrote:

> Hi, sure you can post code :)
>
> About the unique ID though, the unique ID that i generate isn't generated
> every time the gadget starts, only on install, because i use the *
> putDefaultValue* method. It would have happened every time if i used *
> putValue*.
>
> Thanks,
> Teo
>
>
> On Thu, Aug 28, 2008 at 9:41 PM, austin gaster <[EMAIL PROTECTED]>wrote:
>
>> Good Response- I know my rambling has been heard (sometimes I get lost-
>> the hazard of being a self taught shut-in), so nuff said on that. :)
>>
>> I want to focus on the unique ID. Your method generates a new ID *each
>> time the gadget is loaded*. This includes computer reboots. But I can not
>> think of a better way either. Wish I could grab the MAC address, that would
>> be unique and static. Anyway.
>> That is why I set my server side php script up as I did. When the gadget
>> closes for any reason, it notifies the script and that ID gets set as
>> inactive. I added an OS check also. So the result is I have a little php
>> block (using phpnuke) on a page that can display (very real time) active
>> gadgets and a breakdown of operating systems. The unique ID would give me a
>> better idea of how long a user keeps the gadget and also reduce database
>> clutter. If I don't come up with a persistent ID method, I'll probably set
>> my script to delete an entry on gadget close to keep database clean. I have
>> no need of inactive entries if they don't reflect true gadget life spans.
>> The way I wrote it right now is it looks for the entry with a matching ID
>> and then updates it's status- active or inactive.
>> Here's a newby question- can I post my code in this medium (this thread)?
>> I didn't see [] tags for code. Anyone that finds this thread might find my
>> approach as useful reference also.
>> Once again- thanks. Your idea really gave me a great inspiration. I think
>> my little block is neat. :)
>> Austin
>>
>>
>> >>
>>
>
>
> --
> Teo (a.k.a. Teodor Filimon, Teominator)
> Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com
> GMT +2 (or PDT +10)
>



-- 
Teo (a.k.a. Teodor Filimon, Teominator)
Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com
GMT +2 (or PDT +10)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to