It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I would like to know how to implement factories in domain driven design. (examples)
Where should be placed interfaces and implementations of factories ?
Do I need to create interfaces for Domain objects which factories creating ?
Do I need to create factories for repositories, services, ...
I am using Dependency Injection Containers how can I put them together with factories ?
Thanks.
Factories should be simple classes, usually static. They can also be implemented as static methods on the entity or value object they create. Factories should create domain objects directly and only domain objects. Moreover, factories should not be tied with dependency injection because domain objects shouldn't have dependencies injected into them.
Domain objects should not implement interfaces - that is a needless abstraction.
Services and repository implementations on the other hand do have dependencies and should be created by the DI container.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I need to share info to the social application through windows share. What I do: install application (Twitter, FB, Latermark) and try to post different types of information. But I want to check what user clicks (Twitter or Facebook, etc) and in this case I will post different description, add images....
For example if user select Twitter I will add short description
"I am playing .....bal-bla-bla"
If he shares through Mail it will be longer
"I am playing .....bal-bla-bla(very long description)"
How can I do this?
You can't do that. Share source application has no knowledge about Share receiver, and it is by design. What even more important - you can't change share content after share contract is started.
http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/cb31c30a-1a0a-4311-96b2-5e02459ba217 - thanks for quick response and explanation
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm a new user of node and Geddy.
How to access session variable in ejs view template?
I'm also looking for a good book, tutorial that can help me build a member area with Geddy.
If you upgrade to the latest version of Geddy (should be released tomorrow), you'll be able to access the session directly from the template. just use the session object from your view.
There aren't any books out there yet, but we have some examples and how toos in the Geddy wiki. The Geddy website was also just revamped to include 50+ pages of documentation to help get people started.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to create customized keyboard for IOS in my App.Is its possible if its possible please guide my with code example.Thanks in advanced.
As noted at: Create custom international keyboard for iPhone
"As per Apple's submission guidelines:
2.5 Apps that use non-public APIs will be rejected
2.6 Apps that read or write data outside its designated container area will be rejected
There are no public APIs to add an additional keyboard.
The files that store keyboard data are definitely stored outside of your app's container.
In short: There is no way to implement a custom global keyboard on a non-jailbroken iOS device at this point in time."
You can't access that page without a developer account, however I would think that the submissions would be the same.
However, I do know that on jailbroken devices... you can SSH or filemanage and make new keyboard layouts. I won't bother posting any code due to the fact that you won't actually be able to implement it.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I´m considering using Kooboo as an intranet management system. Are there same featured in Kooboo that are present in SharePoint?
Where I can find examples of Kooboo extensions' development? I haven't found any extension showcase as Umbraco has. Is there something alike?
One year ago, we launched a website powered by Kooboo CMS.
The deployment was easy and everything was OK. The problem is that a lot of modules are not set or not mature enough to be used under the production environment.
For example, there was a big bug in the forum module. As we couldn't wait future releases that would come with the fixes, we considered editing the code.
On the other hand, the admin interface is really awesome: Full AJAX and easy to understand.
But, unhopefully, I would not recommand this CMS as it is still IMO in a development process.
Kooboo is a good open source CMS, but IMO it's not possible to compare it with Sharepoint. Kooboo is not an enterprise level CMS.
You can found examples on the Kooboo forum
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
How does interprocess communication generate security holes? Examples appreciated.
Feels like homework, but I'll bite anyways.
Any time you have one process talking to another - whether it's via pipes, sockets, shared memory, etc. those processes either need to be coded very defensively or they need to be able to "trust" each other to ensure that the inter-process communications follow the protocol that they both expect.
You always have to consider the possibility that a rouge process could be created that attempts to use whatever IPC mechanism you have in place to crash, corrupt, or gain unauthorized access to whatever data you might be sharing via IPC.