domain

Repositories for Aggregate Root Only!

Hi, I have Category and Product entities. The relationship between the two is one to many. Since, Category is aggregate root I think I should only make a single repository ICategoryRepository which should also handle products. Ideas? ...

How to handle and identify multiple sub-domains

Hi, I am planning for multiple sub-domain names based on city, something like city1.mydomain.com, city2.mydomain.com, ... All sub-domains will point to same file structure on main domain. Then in my program I would like to capture the city name and display content based on city. What is the best approach to identify the city (based on ...

methods in DDD entities vs services

Our team is fairly new to DDD, and are trying to implement some of the concepts in our current project. One question that has come up is whether to put methods into entity objects, or service objects. Some team members feel that entities should only hold values and all functionality should be contained in services. Others feel this ...

Renaming and/or copying domains in Amazon SimpleDB

Hi all, My client decided to change the name of the project and requires that I change the domain names in our SimpleDB. I could not find any way, service, API call or tool to allow me to do that. I tried using the AWS tools for Eclipse as well as some other 3rd party tools. At most, they allow you to delete a domain or export its conten...

Are there any good domain whois privacy services for dot name domains?

.name domains can be registered at the third level (ie: first.last.name can be registered in a way that last.name is shared [email protected] is forwarded, and separate people own different *.last.name domains). However so far the only registrars I've found that support third-level .name domains don't support whois privacy (putting their ...

Combined Data from 2 Domain Models

Hello everyone, im trying to implement the Data Gateway / Domain Pattern. I understand the basics and its a fantastic pattern to separate domain logic from the persistent data layer. Now i have following requirement: Lets say i have 2 domain-models: User(s) and Company(ies). When i wanna retrieve a user list with all users, i would do ...

How do I get the host domain name in ASP .NET without using HttpContext.Current.Request?

Hi all, I've got an ASP .Net application running on IIS7. I'm using the current url that the site is running under to set some static properties on a class in my application. To do this, I'm getting the domain name using this (insde the class's static constructor): var host = HttpContext.Current.Request.Url.Host; And it works fine on...

Postfix - Virtual Domains: 550-Mailbox unknown

I'm creating new email accounts through Godaddy Simple Control Panel. After creating email account, trying to send test email n i'm getting below error. The mail system <[email protected]>: host ip.secureserver.net[/var/lib/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name...

How to simulate a large network of machines for testing?

Currently, I am writing an application that utilizes WMI to scan all the computers on our Active Directory network. I'm interested in testing the program against all flavors of Windows machines in a testing environment. Is there a way to similuate this environment in VMware or something? Any ideas? ...

Check domain availability Java

Is there a relatively simple way in Java to check if a domain is available or not? I need a reliable method, so only checking if the connection can be made is not enough. ...

forwarding from domain names whithout using frames.

Hi, I own a Domain name e.g. www.mydomain.com I also own a webserver e.g. www.myserver.com After navigating to my webserver via www.myserver.com clicking on links to different pages within my servers file structure will result in a change in URL... For example Clicking on a link to main.html will result in www.myserver.com/main.htm...

.htaccess rules with a second domain to use a different directory than root?

Domain1 uses root / I am trying to have Domain2 use /domain2 When I visit domain2.com, I want it to appear as domain2.com and use the files from /domain2 instead of root / The closest I got was: RewriteEngine on RewriteCond %{HTTP_HOST} ^domain2\.com$ [NC] RewriteRule ^/?$ /domain2/$1 [L] But if I try to go to some page at doma...

Overriding setter on domain class in grails 1.1.2

I have following two domain classes in Grails 1.1.2: class A implements Serializable { MyEnumType myField Date fieldChanged void setMyField(MyEnumType val) { if (myField != null && myField != val) { myField = val fieldChanged = new Date() } } } class B extends A { List children void setMyField(MyEnumType val) { if (m...

CMS or framework that offers reseller hosting

just doing some preliminary research on a project. do any frameworks like django or ruby on rails offer a way of creating a web app which allows you to sell web hosting to clients and sell domain names? i have looked at sites like hostgator but want to make some more customized. my clients wouldnt need all the bells and whistles of a n...

Dynamic apache setting using PHP

Hi, starting new project where users can register and system will automatically install cms system for users registered domain and need to solve dynamic setting of the server (apache). Registration information and info about the associations between domains and actual paths to the cms installation on the server will be stored in Mysq...

Want to use 1 rails app for multiple sites/domains

I have a client who needs the same custom CMS developed for about 5 apps. All apps will have a "similar" but different look and feel and I'd really like to have 1 rails application handle this and just modify the layout/views as needed. Is there a gem/plugin or a precedent for this? ...

How does domain registration works?

I searched Google and Wiki a lot, but I could't find answers for these questions. 1) What exactly registrar company do? They update an root DNS and set there IP of my DNS? 2) How come the registrar can update records in the root DNS? How did they get this priviledge? How could I get this priviledge too? 3) What exactly we pay the regi...

PHP - same server, different domains require different sessions.

Hello, I'm implementing login and registration for multiple domains that talk to a single database - we'll call them i.domain-a.com and i.domain-b.com. Both these subdomains have A records in the DNS that point to a single server - thus making i.domain-a.com/hello.php and i.domain-b.com/hello.php run the same thing. So, if I create a s...

Property interception of Grails domain classes

Hello, I would like to intercept calls to properties of domain classes to implement access control. My first try was to override setProperty and getProperty. By doing this, I disabled all nice functionality of Grails domain classes, such as domainClass.properties = params and the automatic conversion of data types. The next try was...

Possible for hacker to force redirection from a given domain?

Hey everyone, I've got a section on my site which allows users to upload a link in their profile, to their MySpace account. In order to secure other users, I want to to hard code the domain name (www.myspace.com/) and append the user's (sanitized) input. To me, this seems pretty secure and ensures that it always goes to MySpace.com. How...