How to sync the data with web server once device came into network? [closed] - objective-c

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
In my app which is data collection app i need offline support. Let's say when i am gathering user's data there is no connection on device but once the device comes in network the whole data should automatically goes to the server.
How should i implement this kind of functionality.
Thanks,

Your question is pretty vague, but I assume you're wondering HOW to persist data and not how to automatically send it to the server.
If the data is very simple, NSUserDefaults may suffice.
If you need a bit more complicated data structures, you can use archives.
If you need to store complex object graphs you need to use Core Data.
There's a pretty good guide explaining all of these here.

Related

Is sharing the same database between two programming languages possible? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 11 days ago.
Improve this question
Program A is good at collecting data while Program B, in another language, is good at creating REST APIs. Is it possible to connect these two with a single database that A and B will read and write to? Performance for database operations is not really an issue in my case.
Sure this is possible. Databases typically can handle multiple connections from different programs/clients. A database does not really care which language the tool that is making the connection is written in.
Short edit:
Also most databases support "transactions". Which are used to cover that different connected clients do not break consistency of your application data while reading and writing in parallel.

Firebase vs Google Cloud SQL for Laravel [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I've already read a lot about it, but I'm particularly interested for Laravel and its price difference.
We run a web application based on Laravel and this already with the Google Cloud App Engine. For our web application we need a solid database. Here the question arose, which one?
What are the main differences between Firebase and GCP SQL? How is this reflected in the price?
I'd recommend heading into this GCP Databases page which has a cool matrix on what are the differences between solutions on GCP. It really depends on what kind of data you have and how scalable the solution needs to be.
There is also a nice decision diagram on this blog post which can be seen below. It feels like instead of using Firebase Realtime DB or Cloud Datastore, one should now be using the Firestore which is also integrated into the GCP UI experience.

How to write SRS for a particular task/enhancement in an application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I need to prepare a Software Requirements Specification Document for a small enhancement within an JAVA application.
I have tried goggling for the same but found the samples for whole application whereas I am preparing SRS for a small enhancement within an application.
Can anybody suggest the links or suggestions for preparing the SRS.
As you realized by yourself what you're asked isn't a Requirements Specification, which usually covers the whole set of requirements for a software.
What you've been asked is a Change Request, and it must be merged in the existing SRS. However something tells me that there's no SRS for the software you're dealing with, as your management doesn't know the difference between both...

migrate my project to use Core data [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i have developed an ios application (not finished), and know i would like to migrate my project to use core Data, it's this possible ? if yes How ?
without giving any specifics it is difficult to be specific in an answer.
What you need to do is to link to the binary of the CoreData Framework in your solution.
You need to decide which storage you wish to use (sqlite etc). Is the information to be persisted user preferences? Is is a mini database? Is is one flat file store?
At the end of the day you'll need to do some reading based on which of the types of backing store you choose.
Hope this helps as a starting point.

Read/Write safe file based storage for local or network shared data. (SQL CE?) [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
We have a need to have a datastore of some form that has the following properties.
Relocatable, local or remote systems.
Capable of multiple readers/writers, new queries should contain updates.
De-centralized, no server would be required.
Capable of holding at least 16 Mb of data.
SQL CE seems capable, but I'm not sure I'd understand what technologies would go into integrating such a solution as I don't really have an SQL background.
Is there anyone that has tackled a problem like this? what solutions have worked for you?
For point #1, do you want to be able to access the SQL CE database remotely on a share? If so I do not believe you want to do this as CE is not targetted for this. See this link for some details. I think it would be fine for the other 3 items if I am understanding you properly.