Is there any way to display the content of an SQLite-Database (Created with core data) outside of your app?
Any DB-manager that can display it's data or any way of viewing the raw data in Xcode?
//OC
I've never used it, and from the command line I haven't been able to see all I wanted to see, but I lack the experience of DB interaction to rule that option out.
BUT, I've seen "Dr. Brad Larson" in a great tutorial about Core Data use an application call: "Base" that is available on the Mac AppStore. ( http://menial.co.uk/software/base/ )
Check out this Q/A: How view data stored in Core Data?
I second the recommendation of Base
Related
I am trying to implement this function with ArcGIS Server JavaScript API:
I have a web map created by ArcGIS Online (or a web map created on the fly using JSON). Within the web map, I have a point feature layer (or MapServer layer). Initially the entire layer is shown on the map.
Now I am receiving a list of feature IDs received from another server, and I need to hide those points with the feature IDs on the map whilst maintaining the visibility of other points.
I am receiving the lists of feature IDs every 5 mins. Once a new set of IDs is received, I need to make the corresponding point invisible. If a previously hidden point is not included in the new list, they need to be turned back on again on the map.
Any ideas on how to startthis?
Thank you!!
Eric
It sounds to me that you are trying to implement an AVL system.
Anyway, the best way for receiving data for another server is using AJAX. Then, every time you receive new points, you'll need to clear the feature layer point and then to add the newest information from the server.
If you put your code in a fiddle, I'll help you.
Rafael
So what are the cool kids using for displaying documents inside a SharePoint Hosted App Model? Right now, I'm doing rest calls and attempting to display the data using jquery datatables plugin. It works but isn't exactly usable, not to mention that I have to make additional async calls to get Author names, etc.
Should I dump REST and use CSOM and format the data accordingly? Build the hyperlink to the item, format date, build Author name.
Seems like I'm re-inventing the wheel here and want to make sure that I'm not overlooking something obvious.
Thanks
Out of interest, what about DataTables is not usable? If the data is in the JSON return, it can obtain the data directly. Sorry, I know this doesn't help you, but I'm trying to make DataTables better, so I'm interested to know what use cases it is failing to deliver on at the moment!
I created a module which displays filenames,size,time created etc of files in a directory . I showed this in table using openerp web framework. now i want search and group by options for this data. How can i achive this? I am not saving any data in db. Any one please help!!
Well Anuradha,
I see that you have done the thing purely using the web (qWeb) so you will be needing separate widget to enable the search facility over your view, similler example can be found on chatter wall i.e. messaging menu.
Thank You
I have following case to handle:
My mobile application ( Sencha Touch App wrapped in native container ) has around 5000 book titles. Now, I don't want application to ping server to get these books on his mobile. Application will need to access this data during run time. So should I
a) dump the data into sqlite at the time of installation of the application ? (First time run)
b) Fetch data from files only. ( I will be making sorting and querying operations over this data - may not be a good solution if I store the entire file in an array at once and process it further )
Kindly advice.
Create a JSON API to fetch your data from a database on the server.
You can store this data in JSON file and then use JSON proxy to load/sort/query it.
BUT its better to expose a web service, just like what Diodeus said.
I'm about to create an application that uses JSON to update its content.
This is how I planned it to work:
When application starts, it checks (with internet connection is available) if the JSON file set on remote server is newer than the one stored localy - if it is then it's downloaded.
Then, the application applies data from that JSON to the content. For example, to the "Contact" information - it applies data like phone numbers etc.
My question is, is it in your opinion, a good technique to update appliactions content?
Does anynone had an experience with building app with this kind of idea?
Best regards,
Zin
Of course you can do this. One thing that may lead to a better user experience would be to ask the user for his permission to download new content (if there is something new).
This is a normal thing to do. I have a phonebook app that does exactly this. On a side note, if you need a network class to handle the web-service interaction, see this SO post. I wrote a custom network class that works with AFNetworking.