Sorry for the Spam on the TaffyDB List. Yahoo didn't catch it. I've turned on some moderation to better prevent it in the future....
86
peter
peters@...
Nov 4, 2008 3:59 pm
Not so bad actually - I got a hot date out of it.... Peter Sorenson Quizzicle LLC _____ From: tacoman_cool [mailto:ian@...] Sent: Tuesday,...
88
focus2friends
Nov 21, 2008 6:08 pm
I've a Taffy collection where each row contains 2 fields (see snippet below). Now I want to retrieve the unique values of the "optgroup" field, so the...
89
focus2friends
Nov 21, 2008 6:08 pm
I've a Taffy collection where each item contains 10 fields. Is it possible to perform a query and retrieve only the fields I'm interested in? (e.q. only field1...
90
tacoman_cool
Nov 21, 2008 6:32 pm
The way to do that is using the Taffy Utility function TAFFY.gatherUniques. You'll need to build a bit of a wrapper though. Something like: ...
91
tacoman_cool
Nov 21, 2008 6:36 pm
Not really. It doesn't fit the style of TaffyDB and, in most cases, wouldn't be needed. Unless you have a function or library that automatically prints/uses ...
92
focus2friends
Nov 21, 2008 6:59 pm
It's very common to do a "select col1, col2 from table" and as such I consider my (normalized) Taffy collection. The collection has several widgets as...
93
focus2friends
Nov 21, 2008 7:08 pm
Wouldn't it be easier if you could select a specified field (column) values from the collection and do a gatherUnique on that resultset?...
94
tacoman_cool
Nov 21, 2008 7:08 pm
Right, that is true for a normal database. But in JavaScript you are just caring along references to the original objects rather than the objects themselves....
95
tacoman_cool
Nov 21, 2008 7:14 pm
It very much would. The reason it hasn't to date is to save space in the .js file and to focus on the API more on the things people have been asking for....
96
focus2friends
Dec 7, 2008 6:21 pm
Ok, the "borders" of TaffyDB are now clear. I'll finish my "client data broker" app, see what I come across and share my thoughts. cheers....
97
focus2friends
Dec 8, 2008 4:51 pm
I'm retrieving JSON content from various web services that I'm collecting into a Taffy. Sometimes, parsing of the JSON string fails due to: - line breaks -...
98
tacoman_cool
Dec 8, 2008 4:54 pm
I don't personally have know of one. I know there are various "isJson" functions out there that may meet your needs. Can you post a short example of a JSON...
99
focus2friends
Dec 8, 2008 11:46 pm
I'm retrieving the JSON payload of various keywords on: http://spy.appspot.com Here's a sample (retrieved via a server proxy that performs a POST): ...
100
tacoman_cool
Dec 8, 2008 11:50 pm
Yeah, it is tough to tell. I just copied the JSON from the URL and tried to put it in a .js file as JavaScript and couldn't get it to work. It is a huge JSON...
101
Bruce
bfr348
Dec 11, 2008 3:11 pm
Why does sort toggle work correctly on only the first column? If you identify multiple columns as sortable, the first will toggle correctly ...
102
tacoman_cool
Dec 11, 2008 3:13 pm
Hey Bruce, I think there is a bug with this. I was noticing a problem with two column sorting yesterday, just haven't had a chance to track it down and fix it...
103
martin_seidel
Dec 20, 2008 4:20 pm
... Actually, a function to get only unique values out of a TAFFY would have been convenient for my mini-catalogue app too, but gatherUniques(array) is also...
104
martin_seidel
Dec 20, 2008 4:20 pm
Great work, btw....
105
Bruce
bfr348
Dec 22, 2008 7:25 pm
Any progress with this? TaffyDB looks like a very interesting idea but it appears to not have much momentum or active development....
106
Bruce
bfr348
Dec 22, 2008 7:25 pm
So - this project is already dead?...
107
tacoman_cool
Dec 22, 2008 7:28 pm
Nope. The project isn't dead. I'm working on a new release to fix the sorting bug (sorting with one column works, sorting with more than 1 is unpredictable....
108
tacoman_cool
Dec 23, 2008 8:22 pm
OK, so I thought there was a bug with multi column sorting. But I can't duplicate it. Anyone have any ideas? Here are my quick tests:...
109
Bruce
bfr348
Dec 23, 2008 9:10 pm
None of what you posted is relevant. You didn't even TRY to duplicate the problem. The problem is with dynamic, click-to-sort column heads. None of your...
110
tacoman_cool
Dec 23, 2008 9:16 pm
Ok, hold your horses. What error are you talking about? TaffyDB is a data wrapper and doesn't have any official click-to-sort functionality. You'd need to add...
111
Bruce
bfr348
Dec 23, 2008 9:44 pm
Yes, the fact that the grid tutorial cannot perform multi-column sorting is the problem we are talking about. I described that I had tried to extend the...
112
tacoman_cool
Dec 23, 2008 9:49 pm
Ahh, I got you. I thought you had a problem within TaffyDB itself. That is what I was trying to duplicate as I had a similar problem to what I understood...
113
Bruce
bfr348
Dec 23, 2008 10:27 pm
Just make any other column sortable; and have it actually work. For example change this: { name: "food", display: "Fruit", sortable: true}, "water", "fiber", ...
114
himebriny
Dec 26, 2008 5:45 pm
Can you have multiple collections work together? Like have a collection be a work as a table? I'm trying to set up a comic cms with one collection for...
115
tacoman_cool
Dec 26, 2008 5:51 pm
You may need to give us a little more detail, but in short you can have more than one collection and they can work together. You need to code it out in your...