Hello Everyone, here is my problem and I'm considering to use factory method in C++, what are your opinions ?
There are a Base Class and a lot of Subclasses.
I need to transfer objects on network via TCP.
I will create objects in first side, and using this object I will create a byte array TCP message, and send it to other side.
On t...
Hi.
I have a following situation in my android app.
I have an app that fetches messages from inbox, sent items and drafts based on search keywords. I use to accomplish this by fetching cursors for each manually based on selection by user and then populating them in a custom data holder object. Filter those results based on given keywo...
The very first step i created a DFD. Then i moved on to create a Class Diagram. And while doing that i felt that i should create the ER diagram first. As there were many details which could not be captured in a Class diagram.
So, my question should i create ERD first OR Class Diagrams ?
your valuable inputs are appreciated guys!!! than...
It seems that the large majority of tutorials, samples and in fact out of the box templates guide devlopers new to RIA Services towards building a simple CRUD / table editor app.
I realize that CRUD is simple to communicate and gets a big round of applause but I can't believe that real line of business applications are all that simple.
...
Hey guys.
Im working on an assignment, where I want to design an AI for a mp3 player. The AI must be trained and designed with the use of a HMM method.
The mp3 player shall have the functionality of adapting to its user, by analyzing incoming biological sensor data, and from this data the mp3 player will choose a genre for the next son...
I'm creating a website for a client in which he wants a link that people can click on to go back to the previous website design and go to that design every time they go back to that website.
How would I go about doing this?
Would I need to create a cookie and if I do how do I do that?
Thanks for all your help, I'll come back to this...
I am going to be working on a project, a web application. I was reading 37signals getting real pamphlet online (http://gettingreal.37signals.com/), and I understand the recommended process to build the entire website. Brainstorm, sketch, HTML, code.
They touch on each process lightly, but they never really talk much about the coding pro...
I'm writing a messaging layer that should handle communication with a third party API. The API has a bunch of classes that cannot be easily (if at all) instantiated in a test harness. I decided to wrap each class that I need in my unit tests with an adapter/wrapper and expose the members I need through this adapter class. Often I need to...
I need to maintain a list of userids (proxy accounts) which will be dished out to multithreaded clients. Basically the clients will use the userids to perform actions; but for this question, it is not important what these actions are. When a client gets hold of a userid, it is not available to other clients until the action is completed....
Requirements:
multiple sources of input (social media content) into a system
multiple destinations of output (social media api's)
sources and destinations WILL be added
some pseudo:
IContentProvider contentProvider = context.getBean("contentProvider");
List<Content> toPost = contentProvider.getContent();
for (Content c : toPost) {
...
Customer has asked for a system that involves a set of pdf forms, a web UI and some various functions (log-in, administration, permissions, the usual) and there's a few rubs I've identified and would like some feedback or maybe even completely different ideas on how to go about it. The main focus is the data contained within these forms...
Hello,
Just out of curiosity, for applications that have a fairly complicated module tree, would something like sqlite/sql compact edition work well for message passing?
So if I have modules containing data such as:
\SubsystemA\SubSubSysB\ModuleB\ModuleDataC, \SubSystemB\SubSubSystemC\ModuleA\ModuleDataX
Using traditional message pas...
Hi,
I have a C++ library that should expose some system\ resource calls as callbacks from the linked application. For example: the interfacing application (which uses this library) can send socket management callback functions - send, receive, open, close etc., and the library will use this implementation in stead of the library's imple...
The question is, basically: what would be more preferable, both performance-wise and design-wise - to have a list of objects of a Python class or to have several lists of numerical properties?
I am writing some sort of a scientific simulation which involves a rather large system of interacting particles. For simplicity, let's say we hav...
What does it mean when you have something as the following picture?
Each Customer has none, one or more Orders while each Order has only one Customer?
And in relationship to the following one:
What does the black diamond mean in this context? How is that black diamond called?
Thanks
...
Hello guys
I am a web developer and sometimes I have to do some design myself for my customers but design actually is not my best thing to do. I am looking for a program that can help me getting fast and reliable design ideas but I am not looking for code generator like Artisteer.
Actually design is a hard task and my designs always look...
I am the technology director for a small nonprofit, and I have a website that needs to be reviewed and commented on by the other staff members. Is it better to send out the design to everyone for individual/private comments, or just have a meeting and present the design to the whole group?
...
I have several WCF services which use castle windsor to resolve their dependencies. Now I need some of these services to talk to each other.
The typical structure is service --> Business Logic --> DAL
The calls to the other services need to occur at Business Logic level.
What is the best approach for implementing this?
Should I simp...
Hello,
In an application I'm designing, the user has to be able to specify rather complex event scheduling (continuous time-block vs. daily time-blocks, exception date/times, recurrence patterns etc.)
Does anyone know of a good design page for such a thing online? For example, I was highly impressed with this page's description of how...
While programming on Android, I end up writing a parent activity which is extended by several others. A bit like ListActivity. My parent activity extends Activity. if I intend to use a Map or a List, I can't use my parent activity as superclass - the child activity can only extend one activity obviously. As such I end up writing my paren...