How do i implement a database for my ios app? [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
So i created my first app which allows users to track there fitness information (workouts, routines, etc). I want take my app to the next step by allowing the user to create there own account and be able to access their workouts from any ios device (all they have to do is log in). I know i have to use databases, but I just don't know where or how to start this process.
Could you recommend any tutorials or perhaps a resource you used to teach yourself? I'm familiar with sql (took a course on it in university.
thanks guys, I apologize for the newb question.

There are many third-party services you can use that can take care of the backend for your app so that you don't need to worry about managing the database yourself. Two of the most popular ones are parse and stackmob. Take a look at their documentations. I personally use parse and would recommend it.

I've never written any os apps, but for applications in general.
There are many ways, one of which is getting a server/website (you can get free ones) and set up the MYSQL database to have the tables you need like users etc.
Then simply send requests via POST/GET to the server which will enter it into the database.Then when they want to login just do the reverse.
I would personally uses sockets, and probably encrypt the data. You may as-well send information such as how long they've used the app for etc.

Related

stock register VC & confirmation password? Available? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
before i go off and code my own, it seems like a natural that Parse supplies a proper password scenario for the register view controller, which includes the password confirmation textbox. I see the example setup in AnyWall but prefer not to go with the xib if possible. I see no mention of it, but realizing they took pains to create it for AnyWall, i went looking.
Perhaps because of their desire to have "Done" disabled until all was ready, and the required NSNotification setup made them decide not into include it? Just guessing. Thoughts?
{edit: is there any active parse forum, where those of use who are using parse can simply free-flow questions and thoughts? I understand this is not an official parse asset but they do direct us here now that the "forum" they offered is archived. But this is not very active, and many of us refuse to use Google assets.
SO is awesome, but would there be traction to setup a standard web forum where there is not as rigid a process and perhaps more people would just "talk"?}

Use of Developer's key for an API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am new to the shared API technologies. I have noticed, that almost every API has a developer key. For Example, facebook, Google Plus, Googe Maps, Apple iOS, etc...
Well I am not able to understand what is the use of this developers key.? If I am hosting an API how would developers key would benefit me.?
From what I perceived is: The API hosting company is aware of the total transactions from the developers product from which they can charge them.
Is there something more about the developers key.? Does it also maintains the security of the API, if yes, then how.?
A developer key is simply an authentication of who is using the API. If I have an API that I provide to you, and suddenly you start hitting my API with 1000 requests per second, I want an easy way to be able to measure that it is you causing all this load, so I can give you a call and ask you to fix the bug or even revoke your access.
The opposite would be an open API that anyone can hit without credentials. This would limit my options if suddenly bad actors started abusing my API. The only recourse I would have would be to look at what IP address all the requests are coming from, which is a dubious way to identify a consumer of my API. And how would I get ahold of you to ask you to stop?

Real time messaging application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am curious to know the advantages between using parse or a custom xmpp server. I am curious if parse has the capability of being used for creating a real time chat application, because I have never used parse for that use. Or would it be easier and better to use a custom xmpp server to handle messages. I am also curious if parse would be able to completely delete data off the server because that is what my application requires. As background info I have already started the project with parse, but I could switch over to another option if it is necessary.
Thanks
In my experience with working with Parse, I don't believe that it's the correct solution for your needs.
You may get things up and running at first, but as you try to scale your application, you're going to need to ramp up your servers (and cost!) greatly to handle so many requests. Parse's pricing is based on your requests count for the month. Imagine how many requests you expect one user to make in a month. Now times that by 1000.... Not very scalable, huh?
Now I don't know much about xmpp servers, but I've heard from some colleagues that applications like WhatsApp are using Erlang and TCP servers (just like Call of Duty) to handle message requests. In fact, here's an article that talks about the logistics of WhatsApps technology https://www.erlang-solutions.com/about/news/erlang-powered-whatsapp-exceeds-200-million-monthly-users
Best of luck!

Web Scraping Automation programs [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
This may be off topic but if anyone can help or point me in the right direction.....or the correct place to put this question?
Can anyone suggest a good Automated Web Scraping program for use on a windows machine?
I would like to be able to automate the process and set it to be able to "scrape" the site every 5 mins or so and have the resulting xml exported to another website or database?
If the actual process is taking too long, those 10 seconds or more likely to being the network latency rather than actual parsing and scraping its self. If that is the case, you probably want to have them executing in parallel rather than sequentially if you have not already done so.
It would help if you had a more specific issue as there is several ways about going about this. You could have it still parsing on the phone. If that is too problematic for whatever reason, in my opinion, I would instead build a separate HTTP REST server for the phone client to have it interact with to get the data it requires.
There is many ways about going about this, and these are simply recommendations. If you want a more specific answer, you'll need a more specific question. Consider then asking a more speific programming issue if you run into one.

Best practices for managing pricing/discount business rules on rails [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am fairly new to Rails and I have never developed a large application. A friend of mine and I are developing two separate applications and we found out we both have a need for a way to generically manage pricing / discount rules.
Scenario:
Say you have a conference registration application and depending on who uses the application, they may choose to offer different pricing plans.
$50 1 attendee
$40 >5 attendees
Exhibitor gets 3 free attendees and $30 each additional
Instead of baking in the specifics of these rules, it would be nice to abstract it in some way so rules can change over time and by conference.
What are the best practices for handling this? Are there Rails plugins? We have both searched, but have yet to find the solution.
I think you should have a look at RuleBy. I haven't used it myself, but am still meaning to find the time to experiment with it. It should solve precisely these problems.
I also don't know of an existing plugin for this but since you have at least two apps that need this why not try and make it a rails engine?
That way you and your friend can halve your effort and have something you can open source and show off and improve via community feedback.

Resources