This question is intended as a follow up to this question: FileIOException in Blackberry
I'm getting the same out of resources IOException but would like a way to internally track how many handles are open at a time. Is this possible?
Related
Is it possible to get a list of media resources for my account online without writing code. I have stumbled around and failed to find the list. Surely there must be a way.
Which URL structure should I use for my Web-app?
Clean URLs like this
http://dashboard.company.com/sales/john-doe/2017/32
or with URL parameters?
http://dashboard.company.com/sales?person=john.doe&year=2017&week=32
Are there any guidelines for this?
Edit to explain my question better From the user perspective, the two ways are identical in ways of sharing the url. For the programming part they are not, I use Flask. I want know if there's a standard way of handling it, what is the better way?
Background
I am developing a Sales Dashboard for internal use at my company. It display the sales of every sales person. I want to make the reports shareable so that my colleagues can send their own page for a certain weeknumber with each other, or whatever. Or the boss can easily get the page for a meeting with the sales person.
No SEO
Just to stress this point. I don't need clean URLs for SEO.
It doesn't matter at all, by adding the parameters as GET or POST they will be visible but if you use a framework for your app, you should use clean as possible because the parameters to the controllers must be specific and not by data. Otherwise if is not a big project you can use like that but you need to make sure that soon you wont have something like lang?en or something which will be as main parameter. It's up to you, read GET x POST differences and you'll figure it out better.
I have read that you can track individual resources being downloaded for use in loading a webview, see here. What I want to do is intercept and save each resource to file. Then, if the user wants to save the webpage, I will take the saved resources and html and store them in a permanent location. But I am a newbie and don't know how to set this up. Can someone help?
Look at URLProtocol subclassing for caching the entire network traffic, plus there are too many libraries for this.
Let me google it for you
I'd like to retrieve the list of top 1000 apps (specifically games) in the iOS App Store in real-time. This information is public (at least the top 300), but Apple doesn't offer any API or automated way to fetch these lists. Does anyone know a good service for this?
I've listed similar topics in forums below, as well as different useful resources. Most of these help you track your own applications, but I'm interested in following trends for ALL apps in the App Store.
Thanks!
Similar topics:
How can I use Appstore API to get top100 list? What is the common architecture to build a appstore application website?
https://stackoverflow.com/questions/2689711/itunes-app-store-api
http://www.cocos2d-iphone.org/forum/topic/13167
Solutions:
http://www.appfigures.com
http://majicjungle.com
http://itunes.apple.com/rss/generator
There appears to be no documented public API, but you can (currently) still get at the data.
You can use wireshark (or similar) to figure out the URL sequences and the user agent that iTunes on a Mac or PC uses to get all the popularity sorted pages that it displays when manually clicking through the pages. It's all (currently) done in plain HTTP. You can get 100's of pages for many 1000's of apps this way. Then parse and decode the XML returned for these URLs to get the app names displayed on each page. A bunch of perl scripts driving wget or curl might work.
Note that the URLs, user agent and the format of the XML returned often changes when Apple updates iTunes. So you will need to periodically re-adapt your retrieval mechanism.
I'm curious what would be the best approach for synchronizing data found on a website like craigslist where an API is not available.
Let's say you have already downloaded a set of posts. When you want to update the posts, what is the best way to compare what you already have with what is there, and then determine which ones are new to download and which ones should be deleted because they no longer exist on the server?
Please note my question isn't specific to craigslist, as this is just an example. I'm interested in general principles/techniques with specific regards to iOS.