9

Designing an application that connects to a database

 3 years ago
source link: https://www.codesd.com/item/designing-an-application-that-connects-to-a-database.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Designing an application that connects to a database

advertisements

I have made a website (php) and it connects to a database so it can have users and post material. Imagine it like a forum. Now how would I go about making an iPhone app that connects to the same database. I am already teaching myself c++ to make the app, but am not sure how I will connect it to the database.


To do web-based databases, the best practice*** is to use HTTP requests to a PHP script. That way you will not have to establish a database connection from the app, leaving Usernames and Passwords excluded from the actual project. Create some PHP scripts that will do what you need by sending POST and GET variables.

***In my experience and preference

Related Articles

How do I manage a Web application that connects to multiple SQL Server databases?

I am building an ASP.NET web application that will use SQL Server for data storage. I am inheriting an existing structure and I am not able to modify it very much. The people who use this application are individual companies who have paid to use the

VB.net, client application that connects to my main application

I was unsure how to word this in order to search for it. What I have is an Automated Control Center for the company I work for that runs on a Windows Server 2012 VM. This app that I created (that I incorporated several of the previous programmer's ap

.net Deploying desktop applications and connecting to the database

Actually i m confused and really need advice. In past i developed various web applications , where i give connection string in web.config and then deploy database and web files on a hosting company site. Now i started window desktop app development b

Java Desktop Application to connect to the database

I have a desktop application and it makes use of JDBC. I have no problem with JDBC whenever I use localhost. Now, I am to connect to a server that does not allow remote connection. I was advised to provide a web service to serve as a gateway between

Coding a & ldquo; test run & rdquo; in an iPhone application that connects to the AppStore

I have created an application and I have purchased an account in AppStore. I wish to configure the app such that it will run for free twice and after that the user will have to purchase the full version. I want to implement the purchase of the full v

How to design an application that transfers values ​​from txt to xml

I'm not looking for a code, just some design guide lines that i can follow and learn from. I have a text file that countains few or many lines with the following format: 0.021 0.123 12.332 1.501 . . . 5.555 0.132 i want to build a C# code that will p

How to design an application that requires synchronized notifications on all client computers

We have an asp.net application that needs to be expanded to notify users when an update occurs. All users need to be notified even if they don't have the asp.net app opened. All notifications must occur at the same time for everyone, so email is not

Deploying the C # application that connects to the Oracle database

simple question here. If I develop an app in C# which connects to Oracle, I need to have oracle client installed on the client machine. My questions are : Do I have to install the full client (or Instant client), or I can deploy just few dlls with my

How to secure a network folder containing an Access database, while allowing a WinForms application to connect to the database

I am taken over support on a VB.Net WinForms application and the company that I am doing the support for has lost the source code for the application. I have the installation CD for the application and the installation steps for a network install are

Creating a java applet or a Windows application that has an internal database

I want to make a form or applet that will serve as GUI to a "database". The basic outline of it will be just a menu where people can put in a date and then all of the items related to that date will show up. I also want to have an insert option

Global parameters of the Apache Wicket application for connection to the database

I wrote small web application with wicket and sql2o. I have several DAO classes where I create new Sql2o instances with hardcoded username and password: Sql2o database = new Sql2o("jdbc:oracle:thin:@127.0.0.1:1521:test", "test", "

How do I create a live query field in my Android application that queries my MYSQL database without having to press search

I have a working search function that inserts search results into a spinner, but i want it to be live without the need to press a search button just like google. Something like this: Well, first of all, you need to use an AutoCompleteTextView, that t

Single ASP.NET MVC application that uses multiple databases

I would like to build an application that connects to multiple databases. A customer would have an address to access your application (eg customer1.myproduct.com) and then this application accesses the database "customer1." Each customer would h

The Qt database application (mysql) does not connect to the database when it is deployed to another computer

I am fairly new to Qt so bare with me . I built a qt application that connects and queries a database using mysql . it works perfectly fine on my development computer (the computer with Qt Creator on it). but when I deploy it using windeployqt.exe an
HashFlare

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK