Objective-c app for iPhone and mysql [closed] - mysql

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm planning to build an iPhone application in Objective-C that will require to be connected to an MySQL database.
Should I,
Use a framework and query the database directly from the application
Go through a PHP page that will get the data, transform it into JSON and send it to the application?
Is the first solution secured ? Which framework do you recommend?
How can I secure the server and the access to the database as it will be open to anyone on the internet?
Thank you for your precious answers.

Most probably point 2 is used in mobile appliction.

Personally, if the MySQL DB is based on the internet, I would expose a Webservice to interact with it.

It is depends on your database size. If it is very large then you should use Webservice to received data from server. You can use secure HTTP base server connection. Very large size database is not recommended to stored in local(phone memory).
If your database is small in size and not frequent updating then you can use Sqlite as your database. This is most preferable.

Related

Database for Web Application [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to start a web project in ASP.Net and still not decided which database to use. I have had experience with MSSQL and Oracle, but I want one that is free to the end user.
My options are: MySQL, Firebird and PostgreSQL.
What do you recommend and why?
Thanks for the support.
I've used MySql, PostgreSql, and MS Sql extensively. I would recommend MySql. It is easy to set up and configure, has all the features you will need, and is used by countless open source projects across the world, including Wordpress, which a ridiculous number of people use to power their websites.
I would use PostgreSql if you need more powerful and fine-grained support. It has been around a long time along with it's ancestors, and at one point powered the largest database in the world, a 2 petabyte database run by Yahoo.
For a simple web app, though, I would recommend MySql. It is used by more people, and is the de facto open source database.

What is the best approach to store a pdf file? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Good day all,
Please forgive me if this isn't the right forum to ask this question - but I couldn't think of a more resourceful community.
I handle IT stuff for a small firm where I built a PCI Compliant VB.net application to store credit card information. When a customer gives authorization to keep their card information on file, they are required to sign an Authorization Form. All has been successful thus far, but now they want to be able to store a pdf copy of this authorization form and make it accessible via the application.
I've been thinking of the following ways accomplish this task:
FTP (separate from the DB)
BLOB (directly in the DB)
What's the best approach to achieve this and how would I go about coding this in VB.net? I'm using a MySQL database.
//Kismet
Separate from the DB... just save the URL or file path in the database. In this case then you could split the PDF's up across multiple servers if needed. Also keeps the size of the DB smaller (which you want to backup more frequently).

Will Web Service / MySQL run in iOs Simulator [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm coding an app in XCode4, and am approaching a part of the development in which I use web services to connect to a MySQL database to both pull current and write new user account information.
Just wondering if this will work in the iOS Simulator that comes with the XCode bundle?
You don't need an answer for this question, as you have it right there in the same question.
I really think you should take home the following:
A web-service is an interface to a (possibly) remote entity that will answer to you with data/calculations etc.
There are two sides to a web-service: (1) the server side which is the real web-service, and (2) the client side which are the web-service libraries that you use to connect and use/get data from
A web-service to a MySQL database will encapsulate/hide the database from you. This is usually so that you don't need to deal with the query language/data conversion/relationships/etc. Keep in mind that there's no MySQL over web-services (out-of-the-box), so someone has to connect those two for you.
A MySQL server can run on your computer, on a virtual machine on your computer or on a remote computer.
The web service can run on the same places, but not necessarily on the same place
That said the iOS Simulator doesn't need to run the web-service or the MySQL server, It only needs to connect to them. As such they may be wherever, you just need to be able to connect to them.
The simulator is able to make HTTP(S) requests, so of course web services would work.

Browser based SQL tool for end-user data manipulation? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for a browser based tool (or a rapid development environment which could allow us to build a tool) which would allow users to edit data in MySQL tables. We would like to allow users to insert/delete rows, edit cells. Usability features like column sorting, or limiting entry in cells to a list of choices shall be possible.
It would be awesome if the tool allows customization (via php, javacript, python etc), user permissions, db version control (or backups).
We are looking for this sort of tool as we lack good db programming expertise.
Edit: users will not be able to create/delete tables, but only enter/remove data.
phpMyAdmin is probably the best there is for MySQL. But that is designed for DB admins not for end users.

Where can I get a large sample database for practising MySQL query optimization [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can anyone give a reference to a substantially large sample database which I can import into MySQL to test and learn optimization and benchmarking? The database should have at least 6-8 tables with lots of foreign keys in between them, i.e a complete database. The MySQL employees database looked promising, but the download page has 3 download links, clicking on any of which opens a page in a browser with a god-awful amount of binary data, dont know what to do with that.
StackOverflow itself publishes a database that could be used for this kind of testing. It's a fast download using BitTorrent since there's a lot of seeders.
there is large dataset on mysql website
Checkout https://launchpad.net/test-db/+download
it has about 6 tables i believe, suggest downloading the full archive.
The export data is around 167 MB.