cathalmchale / ray Goto Github PK
View Code? Open in Web Editor NEWThe Ray Tracer Challenge in .NET Core
License: MIT License
The Ray Tracer Challenge in .NET Core
License: MIT License
Would like to be able to document the use of this Ray Tracer app imperatively.
Best way to do this, I feel, is:
Now documentation can be as simple as:
Have the DTOs written that will define the Json API. I now need to turn the Json information into a Ray.Domain World that can be passed to the renderer. To do this, I need a number of simple Factories that will interrogate the Json (C# DTOs) and spit out instantiated objects.
Put simply - I need a place for this logic. It doesn't belong in Ray.Domain and I'll strive to keep the Web API layer very thin. So where should it go?
I think a Ray.Command layer will suffice. However, then we have to consider the infrastructure code that goes with this (Command Pattern interfaces and plumbing). I've written it loads of times before, but first I decided to check Nuget and Google.
Discusses the Mediator pattern being used as a pipeline for the Commands/Handlers. This pointed me to a Nuget package by the trusted Jimmy Bogard (AutoMapper).
I'm immediately convinced that I'll use this, rather than roll my own!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.