Questions tagged [shared-data]
63 questions
0
votes
1 answer
Generic component in Angular with creation/deletion API specific for several context
I would have a generic component for comments. This component has complex graphics implications and I need reuse for two different context with the same data model.
I want explain by an example. I have two different API for adding new comment to a…

70X
- 320
- 1
- 5
- 14
0
votes
1 answer
CompanyMask - GroupMask to sharing data between companies ACUMATICA
I'm researching for sharing data from Parent Company to another child company and has read 2 blog below but I don't know that how It's work and how can I implement it.
This is the link of blog:
Company Mask
Group Mask
What I'm expecting is share…

Trương Long
- 100
- 1
- 11
0
votes
2 answers
Windows Forms Application in c# for online/offline Data Update
Greetings.
I was working on a project which will consume a REST API located at a server say www.this-server.com and there will be a Windows Forms Application using C#, let's call this application X.
This X will be installed on several machines at…

Coder Marine
- 73
- 10
0
votes
2 answers
C++ Design: How do I set up two classes that share a set of variables?
This may be a stupid question, but what is the best way to program 2 classes that share a set of variables?
Class A and Class B both need access to int x and int y.
If class A changes x or y, the changes should be reflected in class B
My…
user9150170
0
votes
1 answer
How do I go about writing an app that writes to and reads from a centralised data-store?
I've been asked at work to write a simple iPhone app that allows people to write ideas that go to a central depository, which then allows other people in the office to view.
So I'm just wondering what would be the best way to store such data, should…

alamodey
- 14,320
- 24
- 86
- 112
0
votes
1 answer
Mounted Volumes for IBM Bluemix CF Apps
IBM Containers on Bluemix has the support for mounting volumes and use across containers. Is there any way we can have a similar shared volumes kind w.r.t Bluemix CF Apps?

krckumar
- 544
- 4
- 21
0
votes
1 answer
java concurrency Shared Data with Runnable vs Callable and local data
First Case: Lets say you have a lot of tasks that all return a result of some kind, lets just call it `result' for now, and these all have to be stored in an arraylist. There's two options:
1) Create one arraylist in the main method and use…

Martin
- 11
- 1
0
votes
1 answer
Two Application's using sharedUserID - createPackageContext issue
I have two separate applications. I would like appB to have access to the database within appA's code. I do not want to use a content provider in this instance.
I have read the post on SO regarding this and followed the instructions
(Share SQLite…

greysqrl
- 937
- 3
- 13
- 31
0
votes
1 answer
Shared data between controllers using factory and promises
Ok so there is a lot out there about sharing data between controllers using factory/service, but I'm not finding what applies to my issue. Either I'm interpreting the answers incorrectly or this is a valid question I'm about to ask! Hopefully the…

abigwonderful
- 1,797
- 1
- 12
- 10
0
votes
1 answer
Send http response object to the newly forked process / webworker
I have a node http server.It has a main process and i have forked child process / webworker in it.
I want that the main node process handle the http request and pass this request to the forked process or web worker so that they can independently…

Jayshree Chaudhary
- 21
- 1
- 4
0
votes
1 answer
How can Apple Watch listen to data change on iPhone?
Let's say the iPhone has a text field or any internal data, upon the data change, I want to push it automatically to the Apple Watch. I know I can use the share data. But that seems to require user to initiate the call (e.g. pressing a button) on…

murvinlai
- 48,919
- 52
- 129
- 177
0
votes
2 answers
Why using static classes to share global data is not a good practice?
I have heared that sharing data using static class properties is not a good practice. Although I haven't seen any one using this approach but I can't find out what are the drawbacks for such appraoch!
To be more clear, Let's consider a WPF…

Benzara Tahar
- 2,058
- 1
- 17
- 21
0
votes
2 answers
Maintaining logs in a StringBuffer class across multiple instances of the application
I have been struggling with this problem for the past few days.
Requirement
In our application, we are uploading a file through UI developed through nodejs and then the file records are processed via amazon simple work flow (SWF). The call to…

cooler
- 753
- 4
- 9
- 18
0
votes
1 answer
Shared Data Problem
I am working on an ASP.NET Online Shop. every products has an entity and even a user sells it, its entity should be decreased.
because this field is shared between all users, it may be negative (because of the shared data problem).
Now, how can I…

Mehdi Dehghani
- 77
- 1
- 1
- 3
0
votes
4 answers
In Objective-C, how does one share data among functions in a view controller?
Aiming for simplicity, how does one share data among functions within a view controller? Ideally, I would like to use a NSMutableDictionary, but my approach doesn’t seem to work (below):
In ViewController.m:
- (void) viewDidLoad{
...
…

0--
- 221
- 1
- 6
- 16