Download DDDIntro Free Java Code
Description
Code sample to demonstrate some DDD/CQRS styles I use.
Icons
Source Files
The download file DDDIntro-master.zip has the following entries.
.gitignore// w ww . ja va 2 s . co m
DDD Demonstrated - Chch DNUG July 2012.pdf
Gemfile
Gemfile.lock
Rakefile.rb
Source/.nuget/NuGet.Config
Source/.nuget/NuGet.exe
Source/.nuget/NuGet.targets
Source/.nuget/packages.config
Source/Application.Services/Application.Services.csproj
Source/Application.Services/Application.Services.ncrunchproject
Source/Application.Services/Properties/AssemblyInfo.cs
Source/Application.Services/TestDataGenerator.cs
Source/ComponentRegistry/ApplicationServicesFacility.cs
Source/ComponentRegistry/ComponentRegistry.csproj
Source/ComponentRegistry/ComponentRegistry.ncrunchproject
Source/ComponentRegistry/DomainServicesFacility.cs
Source/ComponentRegistry/InMemorySqlLitePersistenceFacility.cs
Source/ComponentRegistry/PersistenceFacility.cs
Source/ComponentRegistry/Properties/AssemblyInfo.cs
Source/ComponentRegistry/SqlServerPersistenceFacility.cs
Source/ComponentRegistry/packages.config
Source/DDDIntro.crunchsolution.local.xml
Source/DDDIntro.ncrunchsolution
Source/DDDIntro.sln
Source/Domain.Services/CommandHandlers/RecordDeliveryCommandHandler.cs
Source/Domain.Services/Commands/ICommand.cs
Source/Domain.Services/Commands/RecordDeliveryCommand.cs
Source/Domain.Services/Domain.Services.crunchproject.local.xml
Source/Domain.Services/Domain.Services.csproj
Source/Domain.Services/Domain.Services.ncrunchproject
Source/Domain.Services/Factories/CountryFactory.cs
Source/Domain.Services/Factories/IEntityFactory.cs
Source/Domain.Services/ICommandHandler.cs
Source/Domain.Services/IQuery.cs
Source/Domain.Services/IQueryHandler.cs
Source/Domain.Services/Properties/AssemblyInfo.cs
Source/Domain.Services/Queries/MatchesForPlayerQuery.cs
Source/Domain.Services/Queries/PlayersForCountryQuery.cs
Source/Domain.Services/QueryHandlers/PlayersForCountryQueryHandler.cs
Source/Domain/Abstract/EntityWithGeneratedId.cs
Source/Domain/Abstract/IAggregateRoot.cs
Source/Domain/Abstract/ValueObject.cs
Source/Domain/BatterInnings.cs
Source/Domain/BowlingSpell.cs
Source/Domain/Country.cs
Source/Domain/Delivery.cs
Source/Domain/Domain.crunchproject.local.xml
Source/Domain/Domain.csproj
Source/Domain/Domain.ncrunchproject
Source/Domain/Match.cs
Source/Domain/Over.cs
Source/Domain/Player.cs
Source/Domain/Properties/AssemblyInfo.cs
Source/Domain/Team.cs
Source/Domain/TeamInnings.cs
Source/IntegrationTests/App.config
Source/IntegrationTests/ContextSetUpHelper.cs
Source/IntegrationTests/IntegrationTests.crunchproject.local.xml
Source/IntegrationTests/IntegrationTests.csproj
Source/IntegrationTests/IntegrationTests.ncrunchproject
Source/IntegrationTests/IoC/WindsorInstaller.cs
Source/IntegrationTests/Persistence/GeneralPersistence.cs
Source/IntegrationTests/Persistence/MatchPersistence.cs
Source/IntegrationTests/Persistence/PersistenceTestSuiteBase.cs
Source/IntegrationTests/Persistence/TeamPersistence.cs
Source/IntegrationTests/Properties/AssemblyInfo.cs
Source/IntegrationTests/Services/CommandHandling/DeliveryRecording.cs
Source/IntegrationTests/Services/QueryHandling/MatchesForPlayer.cs
Source/IntegrationTests/Services/QueryHandling/PlayersForCountry.cs
Source/IntegrationTests/Services/ServiceTestSuiteBase.cs
Source/IntegrationTests/packages.config
Source/Persistence.NHibernate/INHibernateConfigurationProvider.cs
Source/Persistence.NHibernate/MappingConventions/DefaultMappingConfiguration.cs
Source/Persistence.NHibernate/MappingConventions/IdGenerationConvention.cs
Source/Persistence.NHibernate/MappingOverrides/MatchMappingOverride.cs
Source/Persistence.NHibernate/MappingOverrides/OverMappingOverride.cs
Source/Persistence.NHibernate/MappingOverrides/TeamInningsMappingOverride.cs
Source/Persistence.NHibernate/MappingOverrides/TeamMappingOverride.cs
Source/Persistence.NHibernate/NHibernateConfigurationProviders/InMemoryNHibernateConfigurationProvider.cs
Source/Persistence.NHibernate/NHibernateConfigurationProviders/NHibernateConfigurationProvider.cs
Source/Persistence.NHibernate/NHibernateConfigurationProviders/SqlServerNHibernateConfigurationProvider.cs
Source/Persistence.NHibernate/NHibernateIsolatedUnitOfWorkFactory.cs
Source/Persistence.NHibernate/NHibernateRepository.cs
Source/Persistence.NHibernate/NHibernateUnitOfWork.cs
Source/Persistence.NHibernate/NHibernateUnitOfWorkFactory.cs
Source/Persistence.NHibernate/Persistence.NHibernate.csproj
Source/Persistence.NHibernate/Persistence.NHibernate.ncrunchproject
Source/Persistence.NHibernate/Persistence.crunchproject.local.xml
Source/Persistence.NHibernate/Persistence.ncrunchproject
Source/Persistence.NHibernate/Properties/AssemblyInfo.cs
Source/Persistence.NHibernate/QueryHandlers/MatchesForPlayerQueryHandler.cs
Source/Persistence.NHibernate/packages.config
Source/Persistence/Core.crunchproject.local.xml
Source/Persistence/Core.ncrunchproject
Source/Persistence/IIsolatedUnitOfWorkFactory.cs
Source/Persistence/IRepository.cs
Source/Persistence/IUnitOfWork.cs
Source/Persistence/IUnitOfWorkFactory.cs
Source/Persistence/IUniversalRepository.cs
Source/Persistence/Persistence.csproj
Source/Persistence/Persistence.ncrunchproject
Source/Persistence/Properties/AssemblyInfo.cs
Source/UnitTests/Domain/Abstract/ValueObjectTests.cs
Source/UnitTests/Domain/scoring_an_over.cs
Source/UnitTests/EntityExtensions.cs
Source/UnitTests/Properties/AssemblyInfo.cs
Source/UnitTests/UnitTests.crunchproject.local.xml
Source/UnitTests/UnitTests.csproj
Source/UnitTests/UnitTests.ncrunchproject
Source/UnitTests/Web/Infrastructure/AutoMapperConfigurationVerifier.cs
Source/UnitTests/packages.config
Source/Web/Content/Site.css
Source/Web/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
Source/Web/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
Source/Web/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
Source/Web/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
Source/Web/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
Source/Web/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
Source/Web/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
Source/Web/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Source/Web/Content/themes/base/images/ui-icons_222222_256x240.png
Source/Web/Content/themes/base/images/ui-icons_2e83ff_256x240.png
Source/Web/Content/themes/base/images/ui-icons_454545_256x240.png
Source/Web/Content/themes/base/images/ui-icons_888888_256x240.png
Source/Web/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
Source/Web/Content/themes/base/jquery.ui.accordion.css
Source/Web/Content/themes/base/jquery.ui.all.css
Source/Web/Content/themes/base/jquery.ui.autocomplete.css
Source/Web/Content/themes/base/jquery.ui.base.css
Source/Web/Content/themes/base/jquery.ui.button.css
Source/Web/Content/themes/base/jquery.ui.core.css
Source/Web/Content/themes/base/jquery.ui.datepicker.css
Source/Web/Content/themes/base/jquery.ui.dialog.css
Source/Web/Content/themes/base/jquery.ui.progressbar.css
Source/Web/Content/themes/base/jquery.ui.resizable.css
Source/Web/Content/themes/base/jquery.ui.selectable.css
Source/Web/Content/themes/base/jquery.ui.slider.css
Source/Web/Content/themes/base/jquery.ui.tabs.css
Source/Web/Content/themes/base/jquery.ui.theme.css
Source/Web/Controllers/CountryController.cs
Source/Web/Controllers/HomeController.cs
Source/Web/Controllers/TestDataController.cs
Source/Web/Global.asax
Source/Web/Global.asax.cs
Source/Web/Infrastructure/AutoMapperConfiguration.cs
Source/Web/Infrastructure/BootStrapping/ControllerFactoryBootStrapper.cs
Source/Web/Infrastructure/BootStrapping/GlobalActionFilterRegister.cs
Source/Web/Infrastructure/BootStrapping/IBootStrapper.cs
Source/Web/Infrastructure/BootStrapping/MasterBootstrapper.cs
Source/Web/Infrastructure/BootStrapping/RouteRegister.cs
Source/Web/Infrastructure/BootStrapping/ValidatorFactoryBootstrapper.cs
Source/Web/Infrastructure/GlobalFilters/SessionPerRequestActionFilter.cs
Source/Web/Infrastructure/WindsorControllerFactory.cs
Source/Web/Infrastructure/WindsorInstaller.cs
Source/Web/Infrastructure/WindsorValidatorFactory.cs
Source/Web/Properties/AssemblyInfo.cs
Source/Web/Scripts/jquery-1.5.1-vsdoc.js
Source/Web/Scripts/jquery-1.5.1.js
Source/Web/Scripts/jquery-1.5.1.min.js
Source/Web/Scripts/jquery-ui-1.8.11.js
Source/Web/Scripts/jquery-ui-1.8.11.min.js
Source/Web/Scripts/jquery.unobtrusive-ajax.js
Source/Web/Scripts/jquery.unobtrusive-ajax.min.js
Source/Web/Scripts/jquery.validate-vsdoc.js
Source/Web/Scripts/jquery.validate.js
Source/Web/Scripts/jquery.validate.min.js
Source/Web/Scripts/jquery.validate.unobtrusive.js
Source/Web/Scripts/jquery.validate.unobtrusive.min.js
Source/Web/Scripts/modernizr-1.7.js
Source/Web/Scripts/modernizr-1.7.min.js
Source/Web/ViewModels/Country/CountryIndexViewModel.cs
Source/Web/ViewModels/Country/CountryViewModel.cs
Source/Web/ViewModels/Country/CreateCountryViewModel.cs
Source/Web/ViewModels/Country/Validation/CreateCountryViewModelValidator.cs
Source/Web/Views/Country/Create.cshtml
Source/Web/Views/Country/Index.cshtml
Source/Web/Views/Home/Index.cshtml
Source/Web/Views/Shared/Error.cshtml
Source/Web/Views/Shared/_Layout.cshtml
Source/Web/Views/Web.config
Source/Web/Views/_ViewStart.cshtml
Source/Web/Web.Debug.config
Source/Web/Web.Release.config
Source/Web/Web.config
Source/Web/Web.crunchproject.local.xml
Source/Web/Web.csproj
Source/Web/Web.ncrunchproject
Source/Web/packages.config
Source/WebAPI.TakeTwo/App_Start/AppHost.cs
Source/WebAPI.TakeTwo/App_Start/WebServiceExamples.cs
Source/WebAPI.TakeTwo/Content/js/ss-validation.js
Source/WebAPI.TakeTwo/Infrastructure/GlobalFilters/SessionPerRequestFilter.cs
Source/WebAPI.TakeTwo/Infrastructure/GlobalFilters/WindsorLifestyleScopeFilter.cs
Source/WebAPI.TakeTwo/Infrastructure/WindsorContainerAdapter.cs
Source/WebAPI.TakeTwo/Infrastructure/WindsorInstaller.cs
Source/WebAPI.TakeTwo/Properties/AssemblyInfo.cs
Source/WebAPI.TakeTwo/README.txt
Source/WebAPI.TakeTwo/Resources/Country.cs
Source/WebAPI.TakeTwo/RestServices/CountryRestService.cs
Source/WebAPI.TakeTwo/Web.Debug.config
Source/WebAPI.TakeTwo/Web.Release.config
Source/WebAPI.TakeTwo/Web.config
Source/WebAPI.TakeTwo/WebAPI.TakeTwo.csproj
Source/WebAPI.TakeTwo/default.htm
Source/WebAPI.TakeTwo/jqunback-1.51.min.js
Source/WebAPI.TakeTwo/packages.config
Source/WebAPI/Assets/CSS/application.css
Source/WebAPI/Assets/CSS/lib/bootstrap.css
Source/WebAPI/Assets/Scripts/application.js
Source/WebAPI/Assets/Scripts/lib/jquery.js
Source/WebAPI/Assets/Scripts/lib/jquery.tmpl.js
Source/WebAPI/Assets/Scripts/lib/spine/ajax.js
Source/WebAPI/Assets/Scripts/lib/spine/local.js
Source/WebAPI/Assets/Scripts/lib/spine/spine.js
Source/WebAPI/Infrastructure/NancyBootstrapper.cs
Source/WebAPI/Infrastructure/PipelineSteps/SessionPerRequestPipelineStep.cs
Source/WebAPI/Infrastructure/PipelineSteps/WindsorLifestyleScopePipelineStep.cs
Source/WebAPI/Infrastructure/WindsorFluentValidationValidatorFactory.cs
Source/WebAPI/Infrastructure/WindsorInstaller.cs
Source/WebAPI/Modules/CountryModule.cs
Source/WebAPI/Modules/HomeModule.cs
Source/WebAPI/Modules/MatchModule.cs
Source/WebAPI/Properties/AssemblyInfo.cs
Source/WebAPI/Resources/Country.cs
Source/WebAPI/Resources/MatchResource.cs
Source/WebAPI/Resources/Validators/CountryValidator.cs
Source/WebAPI/Views/Home/Index.html
Source/WebAPI/Views/Web.config
Source/WebAPI/Web.Debug.config
Source/WebAPI/Web.Release.config
Source/WebAPI/Web.config
Source/WebAPI/WebAPI.csproj
Source/WebAPI/packages.config
readme.md
Download
Click the following link to download DDDIntro-master.zip.
DDDIntro-master.zip