How MySQL works in iOS [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Following Question is not for Negative voters, Infect I have to program an iOS app in Objective C, which works with MySQL Database on server side, since app requires to communicate with server(needs user to input few text boxes and to attach in Image).and on the otherside users can track a number to see results(uploaded by other users). hence I am restricted to use json coz json retrieves over all file and then extract required result from that file,
That's why I needs to use serverside MySQL and needs to run few queries(POST) to submit information provided by users and also needs some query to retrieve required number's row from MySQL Database.
Now the problem is that I am quite unknown from MySQL installation on serverside, and also unfamiliar that how to connect MySQL with my iOS app using Objective C.
Since there are lots of tutorials on the internet forums and as well as at youtube, but I am not able to make final selection that, which tutorial will be the best suitable for me to quick & Detailed learn these things, and Since last two days I am spending my lots of time but still unable to find any easy, quick & Complete tutorial for this purpose.
your quick help will be highly appreciated.
Thanks

In such kind of applications, their are Web API's / Web Services interface provided by using some server side scripting language coupled with a database, in your case the database is MySql.
A web service is a collection of open protocols and standards used for
exchanging data between applications or systems. Software applications
written in various programming languages and running on various
platforms can use web services to exchange data over computer networks
like the Internet in a manner similar to inter-process communication
on a single computer. This interoperability (e.g., between Java and
Python, or Windows and Linux applications) is due to the use of open
standards.
These web services provide API's in form of some URL's with specific parameters and on the behalf of those parameters it communicate with the database and return some data either in XML or in JSON. And on the behalf of that data the user's app can perform various tasks.
Web Service Reference

Related

Which API to use for realtime document collaboration [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I am currently building a virtual classroom website and so far I have successfully added webcam & audio functionality.
The next thing that is on my list is to add realtime document collaboration.
So how this would work is:
Two people join a private session
These two people have a shared document that they can both edit and changes are displayed in realtime to the other user.
An example of this would be google docs where you can be multiple people on one document.
Anyway, I have seen a few APIs that do this, for example I have looked into google docs api, but it requires you to have a google account which is not optimal. (Registering both on my website and on google docs can be a hassle or too much work for some people).
I have also looked into Zoho, but I am unsure if it can fill my needs.
Does anyone of you know an API that can do this? Preferably both document and sheets(excel looking).
Thanks!
The Google Realtime API is especially well-suited for document collaboration, but it sounds like it's not a good fit. There are a few other options out there:
ShareDB is an open-source realtime database backend, used in the DerbyJS framework.
Mozilla's TogetherJS provides view-level collaboration features.
Convergence (disclaimer: I am a founder) is a new hosted platform providing APIs for this sort of functionality. We have identified the most common pain points when implementing realtime collaboration features, and provide high-level APIs to solve them.
Multiplayer is concurrent editing database, it looks like it is based on Operation Transforms and they are planning to launch on Kickstarter. Looks like it can do exactly what you need, and they use Websockets to send changes in real-time.

Creating a Image-Heavy iOS App- Online DB?- Swift [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Objective/ Problem: I'm beginning to build an iOS app which will have a ton of images. It's not a photo app (it's a trivia type app) so the photos are not user photos. The app-size can't be huge as then it will take a long time to download from the App Store and take up space on the phone.
Question: If I'm not an expert developer or backend developer, what is my best option for storing the photos online and retrieving them as needed with simple code?
Research:
What I'm looking for seems to fall under the umbrella of "backend". The easy answer used to be Parse, which is a BaaS company (backend-as-a-service). However, they are shutting down. There also used to be PayPal's "StackMob", a BaaS company but they shutdown in 2014.
Both Parse and StackMob were built for people like me, indie-developers with no backend knowledge. Yet, as two of the biggest services shutdown choosing BaaS as a solution is now viewed as risky.
Big companies and expert backend developers will just build their own database, load the photos onto it, and query it as needed.
Yet, I'm no expert. Can anyone let me know what replaced Parse as being the easiest/turn-key solution? After I upload the original photos, the user will never need to add/change any.
If you can make your file names unique you don't even really need a back end. You can just use generic web services. I handled a very similar problem using Amazon Web services S3 which just provides basic HTTP downloads.
I package groups of image file into
zip files and then request a download of the zip to download the group of files. I found a third-party wrapper for zip decompression in Objective-C and use that to unzip the packages into the application documents directory.

Alternatives to Parse for a Social App? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I recently delved into app development on Xcode, and decided to develop a social app. I was using Parse as my mbaaS for a while, but unfortunately they are closing down. I was wondering in your experience what is(are) the best alternatives to Parse. Im basically using looking for something
1) easy to use
2) Well documented
3) Lots of tutorials
4) Can handle lots of RPS and users.
The app I am developing is a social app, so if you have any specific recommendation for an app of that type, that would help tremendously. Also it is important to note that I have no backend development experience, so it would be a challenge to develop my own.
Thanks again
There are several Parse alternatives out there right now:
AWS Mobile Hub - this is a direct Parse replacement that recently came out by AWS. Although this is in Beta, AWS is a well respected platform that supports many huge companies like Netflix and Yelp
Firebase - (acquired by Google) Firebase offers a great solution for real time communication and data storage. It's perfect if what you are doing is mainly data & realtime (chat, game, collaboration, etc...) but it's not very flexible for other things (e.g. payment, SMS, push notifications etc...) firebase.com
RapidAPI - a backend platform that allows for saving data and integrating APIs. It is based on blocks so each basic action is represented by a block. You can combine blocks to create logic. It has a bit of a higher learning curve but it's probably more flexible
BackAnd - a platforms that allows you to create an AngularJS ready backend for your app. Its really good of you are working on AngularJS web apps and your data is stored on Amazon RDS.
Baasbox is a good alternative to Parse. A lot of features used in Parse are there (Push messaging etc), so migrating an app is relatively straightforward. They provide an API for Android, iOS and Javascript.
One of the main advantages it has over Parse is that it can be hosted yourself (Although there is a hosted option available, but it's not free).
http://www.baasbox.com
Out of all the available backends, we found this to be most similar to Parse.

Is There A Library of Public API Swagger Definitions? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
So I've been building a service that taps into popular APIs around the web and I've found Swagger to be a huge asset to the project. Instead of writing a ton of custom code that is difficult to maintain, I've been able to use Swagger definitions to dynamically create all my requests to the public APIs our service supports.
This has been working well for ~1 year, but we want to continue adding services to our platform and we ended up trading one maintenance burden for another. While there are a lot of public APIs out there, not many of them are nicely packaged in a computer consumable form such as Swagger.
I was wondering if anyone knew of a central location on the internet where a library of Swagger, RAML, API Blueprint, etc are stored.
If such a thing doesn't yet exist it probably should.
There's nothing yet - probably your closest thing would be ProgrammableWeb (just a generic API directory), PublicAPIs (another directory), and APImatic.io (they pull in APIs from several different sources), but there is no set collection of API Blueprint, Swagger, and RAML APIs as these are all open specs.
However, you may be able to contact the different API providers (API Blueprint - Apiary, RAML - MuleSoft, and Swagger - Apigee/ 3Scale) to see if they can provide you with the APIs created in their tools.
Good luck!

Companies to do code review of crypto in an ActiveRecord / Ruby on Rails webapp? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We have written a Ruby on Rails application that allows a visitor to fill out a form with personal information (name, address & other confidential details), which is stored in a database until the information can be collected by a batch process running inside institution's firewall.
To prevent attackers from getting this confidential information in the event of a database compromise, we have devised a mechanism for automatically encrypting the user's input using OpenPGP before storing it in the database.
Where can I find a company that will assess this code and provide us with a report that we will be able to show to our customers? They would need to be familiar with both cryptography and with ActiveRecord.
We do, www.comsecglobal.com, or www.codefend.com.
Best,
Sharone
Matasano are a good security research firm, and they're a Ruby shop.
Is there a particular reason why the database is vulnerable in this case?
If your database is protected by a firewall, you don't gain a great deal from encrypting the data.
If the encryption mechanism is on the same system as the database, a compromise to the box will probably mean the data can be accessed regardless.
If the encryption mechanism is not on the same system, then you are in a bit better situation, but with this architecture, you can easily control who has write and read access to the database quite effectively - your web application db user can be granted very limited write permissions, and the firewall can control network traffic between the app and the db. Communication between the webapp and the secure database can be uni-directional and over SSL.
Update
Security Enhanced PostgreSQL might also be worth a look:
Security Enhanced PostgreSQL
(SE-PostgreSQL) is an extension of
PostgreSQL relational database
management system, based on Security
Enhanced Linux (SELinux)'s security
model and policy.

Resources