The fast paced advancements in education and technology require us to keep up to date in the chosen field. We also need to improve our skill sets or study a...
Hi, I can't figure out how the template system work ... Here is my code : var record = new TAFFY([]); record.config.set("template",{title: "none",sub_title:...
I am new to Taffy and fairly new to javascript. I am working with a server which only allows javascript in the html.. no php or asp. I have pulled data into...
Hey Walt, You have it spot on. This is a very good use case for TaffyDB. One thing to be aware of is that you won't be update the hard copy (the file) using...
Thanks Ian, I'll go forward with it and let you know how it works out for me. The file doesn't need to be dynamic. Very rarely updated. Walt ... php. ... ...
Hi, I want to know if we can use the methods like find(), has() or like() to return boolean instead of Collection? Actually, I call find() and test the lenght...
I'm sorry, I missed your first post. Calling find and testing the length is really your best options for seeing if the collection contains any matches. You...
Hello I want to print a Taffy collection as a table, but I don´t want to write the code for every single table. There´s a way to write a javascript function...
Thanks for the question, Sorry for the slow response. It prompted some ideas in my head and I ended up putting together a whole tutorial on the topic. I want...
That is really easy and is covered in the getting started article: http://taffydb.com/index.cfm?oa=gettingstarted#create In short though, as long as your JSON...
Not so bad actually - I got a hot date out of it.... Peter Sorenson Quizzicle LLC _____ From: tacoman_cool [mailto:ian@...] Sent: Tuesday,...
peter
peters@...
Nov 4, 2008 3:59 pm
88
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...
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...
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 ...
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...
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....
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....
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 -...
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...
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): ...
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...