|
You seem to be describing Table Data Gateway pattern (Fowler, Patterns of Enterprise Application Architecture). This class inserts or updates records in a particular table. The convention is to name the class after that table. e.g. The class that updates rows in User table is called UserGateway (or simply User).
Hence, the association between the class (which contains code in C++/C#/Java language to update the table) and the table is described by the name itself. There is no need to explicity show the relationship.
However, there is no restriction to show tables in a class diagram. For example, you may want to describe database schema in UML. All you need is to create a new stereotype, e.g. <>. This stereotyped class can then represent database tables.
|
|
|
|
|
|
Hello everybody,
I'm very new to all this. I'm learning a lot however I feel like there are certain fundamental concepts that I'm not understadning and that is holding me back. Right now, what I really don't understand is how files containing programs and directories on my operating system work.
On my Windows operating system, It seems like whenever I download something new it goes to a file called C:\Program Files. Each file in there will have a lot of little files named bin, lib, include, db, and other things like that. All of THOSE file have files with extensions .dll and .exe. What are these?? Why cant i open them? How do they all work together to produce a single functioning program?
When a computer program is executed how does it know what files to read, where to look for them, what to do with them and so forth?
Can anyone explain this to me?
Thank you very much in advance
|
|
|
|
|
That's rather a long question for a forum like this. Files (which usually have extensions) are held in directories, which may themselves be held in directories. Directories are generally now referred to as folders. Think of it as a set of filing cabinets. Each cabinet has drawers and each drawer has sections, and within each section are individual documents. When you click on a file the shell knows what to do with it by looking up the extension name in a table. So a file with a .exe extension is sent to the program loader and starts running as an independent program. A file with the .doc extension causes the loading of a program that can process it (probably Microsoft Word), and so on.
Take a look at http://windows.microsoft.com/en-GB/windows-vista/Windows-Basics-all-topics[^] for some far better explanations.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
sorry for the length of the question.
that was very helpful, thank you so much!@
|
|
|
|
|
strrom7 wrote: sorry for the length of the question. What I meant was that it would take quite a few pages to explain it clearly and in full detail. However, I hope the link I provided will help you.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I am a bit confused, that is I want to create an api (for example an api for a charging gateway) using WCF and RESTful api. So what will be the good approach suggest by Microsoft, any fremework?
I would request to you guys please help me on that, any suggestion, article, could be anything is appropriated.
Thanks
Md. Marufuzzaman
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
|
Thanks ? What do you think on the security issues?
Thanks
Md. Marufuzzaman
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
Md. Marufuzzaman wrote: Thanks ?
You're welcome?
Md. Marufuzzaman wrote: What do you think on the security issues?
I think that they are well documented and despite that, still poorly understood. Guess I'm not really understanding the question here.
There's examples on authentication, which is what most customers refer to as security. OTOH, you'd also want to limit the number of consecutive requests, prohibit malformed requests, and log everything that seems "out of the ordinary".
|
|
|
|
|
Thanks for your prompt response, well Do I must use the SSL & data encryption is required?
What is your opinion on that?
Thanks
Md. Marufuzzaman
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
Md. Marufuzzaman wrote: Do I must use the SSL & data encryption is required?
For "private" data, always. That might even include a translation-service like Google Translate.
|
|
|
|
|
Thanks,
Thanks
Md. Marufuzzaman
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
Suppose there are two separate systems connected to each other just by a common storage say a hard disk then what can be the ways we communicate between the two systems?
|
|
|
|
|
IMO, a simple file read mechanism should be enough.
|
|
|
|
|
Thanks Abhinav for the reply.
but how to sync the two process on the two systems reading a common memory say a file?
|
|
|
|
|
A publisher subscriber mechanism perhaps?
As soon as a file is published (pushed to the local storage), all subscribers read the file and process that data.
Just a thought. There might be other better ways of doing the same thing.
|
|
|
|
|
If the communication needs to be 2-way then I would suggest that each system (you seem to be describing 2 but there could be more) have its own private output file which is read by the other(s). Each system writes its 'output' info to the file which would be seen as 'input' to the other(s). This avoids problems with 2 or more programs trying to write to the same file.
--
Harvey
|
|
|
|
|
I have created a nice desktop application and I have no time (or money) to port it to metro. The good thing is that windows marketplace is selling desktop application too. Do you know the procedure and the cost of money that is needed to publish such a desktop application to windows 8 marketplace?
|
|
|
|
|
Menelaos Vergis wrote: Do you know the procedure and the cost of money that is needed to publish such a desktop application to windows 8 marketplace?
No idea on the cost, but the procedure is here[^]. There are two types of accounts that you can create, a "individual" and a "company" account. Docs say that only the company-account supports the old desktop.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Hello,
sory no idea about this.
[url=http://www.egomedia.ca/index-fr.html]IT SERVICES SOLUTION[/url]
|
|
|
|
|
Hello,
sorry no idea about this.
[url=http://www.egomedia.ca/index-fr.html]IT SERVICES SOLUTION[/url]
|
|
|
|
|
You have to sign up as a company account to do this. The cost is $99 + applicable taxes.
|
|
|
|
|
Thank you both for the information. $99 is not such a problem since the it will reach thousand of users and it will repay the investment for good, the problem is that I don't own a company and I cannot create a company account.
|
|
|
|
|
If you are expecting to make a decent amount of money out of this, then creating a company is probably a good idea. If you can't, have you considered selling your app through the Intel AppUp Store[^]? That allows you to sell as an individual.
|
|
|
|