by Ossi Hanhinen, @ohanhi
with the support of Futurice 💚.
Licensed under CC BY 4.0.
| package mathema | |
| import "errors" | |
| type Config struct{ | |
| ExtraPoint float64 | |
| IsExtra bool | |
| } | |
| type Calculate struct{ |
| import { Component, OnInit } from '@angular/core';'; | |
| import { FormBuilder, FormGroup, Validators, AbstractControl, ValidationErrors } from '@angular/forms'; | |
| import { Router } from '@angular/router' | |
| import { CommonValidators } from '../service/CommonValidator'; | |
| import { Response } from '@angular/http'; | |
| import { Observable } from 'rxjs/Observable'; | |
| import { GlobalService } from '../../shared/service/global.service'; | |
| import { AuthHttp } from 'angular2-jwt' | |
| declare var $: any; | |
| import 'rxjs/add/operator/delay'; |
This is my response to an email asking about Domain-Driven Design in golang project.
Thank you for getting in touch. Below you will find my thoughts on how golang works with DDD, changing it. This is merely a perception of how things worked out for us in a single project.
That project has a relatively well-known domain. My colleagues on this project are very knowledgeable, thoughtful and invested in quality design. The story spelled out below is a result of countless hours spent discussing and refining the approach.
Conclusions could be very different, if there was a different project, team or a story-teller.
Thanks for watching my talk, Domain-Driven Desire at Øredev 2016. Here's a list of resources that inspired me, and will hopefully inspire you:
| import { FormControl } from '@angular/forms'; | |
| import { AsyncValidatorFn, ValidatorFn } from '@angular/forms/src/directives/validators'; | |
| import { Control } from '@angular/common'; | |
| import { Injectable } from '@angular/core'; | |
| import { Http } from '@angular/http'; | |
| import { Observable } from 'rxjs/Observable'; | |
| import { ReplaySubject } from 'rxjs/ReplaySubject'; | |
| import { API_USER_URL } from '../services/constants'; | |
| @Injectable() |
| import {Component} from '@angular/core' | |
| @Component({ | |
| selector: 'test-app', | |
| template: '<div>hello {{name}}</div>' | |
| }) | |
| export class App { | |
| name: string; | |
| constructor(){ | |
| this.name = 'electron!' |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| //http://www.siraj360.com/ng2/ :: A single page application developed with Angular 2 (beta) and Bootstrap 4 (alpha). | |
| <div class="row"> | |
| <div class="jumbotron bg-inverse" style="background-color:#eb7d00"> | |
| <div class="container"> | |
| <h5><b><span class="label label-primary label-pill">Let's Do Something Awesome!</span></b></h5> | |
| <h1 class="display-3">ng2 & BS4 in action!</h1> | |
| <h4>A sample single page application developed with Angular 2 (beta) and Bootstrap 4 (alpha).</h4> | |
| <h4> | |
| Code snippets/files are at <a class="label label-danger" | |
| href="https://gist.github.com/SirajGadhia" |
| 'doctrine' => array( | |
| 'driver' => array( | |
| __NAMESPACE__ . '_driver' => array( | |
| 'class' => 'Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver', | |
| 'cache' => 'array', | |
| 'paths' => array(__DIR__ . '/../src/' . __NAMESPACE__ . '/Document') | |
| ), | |
| 'orm_default' => array( | |
| 'drivers' => array( | |
| __NAMESPACE__ . '\Document' => __NAMESPACE__ . '_driver' |