Search the web
Sign In
New User? Sign Up
taffydb · TaffyDB Support and User Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 137 - 166 of 201   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
137
Sometimes I am using TaffyDb with some larger amounts of data, so I am always concerned with speed, and I assume speed improvements when dealing with Taffy...
berg.matt
Offline Send Email
Apr 13, 2009
8:22 pm
138
Hey Matt, That is an excellent suggestion. I've played around with a couple of ways of speeding up the loops before, but when the order is important you kind...
tacoman_cool
Offline Send Email
Apr 13, 2009
8:52 pm
139
Is there a getByIndex method for Taffydb? Such a method would be very usefull in combination with the find method. The find method returns an array of the...
paulvoors
Offline Send Email
Apr 17, 2009
7:38 pm
140
Actually, that is built right into .get() All of these should be valid: collection.get({field:"somevalue"}); collection.get(0); collection.get([0,1,2,3]); As a...
tacoman_cool
Offline Send Email
Apr 17, 2009
7:47 pm
141
I also use collection.first quite a bit with collection.find, as I am usually searching for stuff by an ID....
berg.matt
Offline Send Email
Apr 19, 2009
3:02 pm
142
That helps, thank you for the answer. But I still have a problem handling the result. Here is some code: var favorList = linksStore.get(2); ...
paulvoors
Offline Send Email
Apr 20, 2009
3:25 pm
143
Another option is to use first(). I built the various methods to always return the same type of data to allow people to program predictably without having to...
tacoman_cool
Offline Send Email
Apr 20, 2009
3:30 pm
144
At JSConf. The talk I gave on TaffyDB seemed to go pretty well, I'm hoping they'll have it up online within a few weeks. Anyway, I was inspired to implement...
tacoman_cool
Offline Send Email
Apr 25, 2009
1:22 pm
145
Ian, Awesome, I can't wait to try it out. Were you able to do any speed comparisons? Matt...
berg.matt
Offline Send Email
Apr 28, 2009
7:49 pm
146
Matt, Just in a broad sense comparing speeds of the loops. Performance in TaffyDB will vary, but it should be faster. Ian...
tacoman_cool
Offline Send Email
Apr 28, 2009
7:53 pm
147
Is there a way in taffydb to reference an attribute of an item in a second collection when doing a "find"? To extend the "friends" example a bit, suppose that...
Paul Lynch
pauleglynch
Offline Send Email
May 7, 2009
8:07 pm
148
Hi Paul, Ahh, you can do something like this. If you structure your data like this: var friendsbystate =...
tacoman_cool
Offline Send Email
May 7, 2009
8:17 pm
149
Looks like the TaffyDB site is down. Is this yet another promising but abandoned project? Or did the site get hacked?...
Bruce
bfr348
Offline Send Email
May 26, 2009
2:07 pm
150
I haven't had much experience with Javascript arrays. I've read the taffy getting started guide but it's not clear how to get data out using "get". I have...
massatse
Offline
May 26, 2009
2:08 pm
151
Should be back up. My server crashed :-(...
tacoman_cool
Offline Send Email
May 26, 2009
2:15 pm
152
It depends a little what you want to do with the data. If you just wanted to display it (to prove you could do it) via an alert() you could do this: ...
tacoman_cool
Offline Send Email
May 26, 2009
2:16 pm
153
Tried this, didn't work var init2 = function () { newFruit = TAFFY(fruits); fruit2 = gridPrinter2({ containerID: "displayGridDiv2" }, newFruit.find(...
Bruce
bfr348
Offline Send Email
Jun 9, 2009
11:47 pm
154
I'd like to see more examples. For instance, in the existing grid example, I have tried to find a place to insert a statement like this but nothing I try...
Bruce
bfr348
Offline Send Email
Jun 9, 2009
11:47 pm
155
Hey Bruce, So I think this is where you need to do. Mind you it has been a while since I wrote the grid example. The gridPrinter expected the element ID you...
tacoman_cool
Offline Send Email
Jun 10, 2009
1:34 pm
156
Actually it was this that I tried. (Second set of {} ) But at any rate it illustrates why I'm asking for real working examples. var init2 = function () { ...
Bruce
bfr348
Offline Send Email
Jun 11, 2009
3:16 pm
157
Tried this, including correcting unmatched brackets from your example; but it didn't work. I'd really like to see a working example. var init2 = function () { ...
Bruce
bfr348
Offline Send Email
Jun 11, 2009
3:16 pm
158
Ahh, sorry. I forget that fruits isn't a TAFFY collection at this point. Try this: var init = function () { var fruits =...
tacoman_cool
Offline Send Email
Jun 11, 2009
3:33 pm
159
Seems like the taffy tables that have label rows ought to be built using TH elements, thus making CSS for the header row simpler?...
Bruce
bfr348
Offline Send Email
Jun 11, 2009
6:36 pm
160
OK, I was able to get that to work, thanks....
Bruce
bfr348
Offline Send Email
Jun 11, 2009
6:37 pm
161
You're write, although that is really only an example of how someone could build a data grid using TaffyDB. It isn't meant to be production ready code. Using...
tacoman_cool
Offline Send Email
Jun 11, 2009
6:48 pm
162
TaffyDB seems like it ought to be getting more attention; and I still need to see more examples. I don't see activity on Twitter, which I think might help....
Bruce
bfr348
Offline Send Email
Jun 12, 2009
7:01 pm
163
I agree completely. I'd love to see TaffyDB grow and see greater adoption. There are a few ways I could see that happening and all of them take a whole lot of...
tacoman_cool
Offline Send Email
Jun 12, 2009
10:03 pm
164
For me, having it not integrated into one of those frameworks is why it is a tool I would use. Since everything else I'm using is YUI based, then I can use...
Jonathan Buford
jonb@...
Send Email
Jun 12, 2009
11:23 pm
165
For me, TaffyDB/jQuery integration might work but I think instead good examples of using them together might work. FWIW my principal application of TaffyDB...
Bruce
bfr348
Offline Send Email
Jun 13, 2009
1:39 am
166
Yeah, keeping it separate is a strong selling point in my opinion, although it may reduce adoption. Unless there was interest from one of the Ajax library...
tacoman_cool
Offline Send Email
Jun 15, 2009
12:03 pm
Messages 137 - 166 of 201   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help