art-ist/onYOURway

Add a fully open source server stack (additionally)

Opened this issue · 9 comments

The first approach is testing the existing service stack under mono and using PostgreSQL + PostGIS as a database.
Other approaches like directly having the breese layer talk to Node.js/NoSQL or an other OData complient server will be evaluated.

Currently investigating MariaDB (the still truly open source alternative to MySQL).

Pros:

  • easy to get started with
  • free connectors for Entity Framework (few changes needed to the rest of the server stack)
  • spacial datatypes included
  • "binary drop in" compliant to MySQL

Cons:

  • will see ;-)

https://github.com/tjanczuk/edge may provide a porting/migration path.

MIT - Licensed .NET 5 (see Github Repos) is something we definetley will port to as soon as possible. This schouldn't be too much effort (hopefully ;)

I advice doing so within an empty VM, so all neccessary installation steps can be reproduced.

Don't mix up development and deployment. But, yes, documented deployment to a dedicated VM, mabe collaborativley, is something we should do as soon as any server stack, is in beta state.

@art-ist Indeed, I do mix them up, by reason: http://lmgtfy.com/?q=DevOps

Please also refer to http://12factor.net/.

There's a ASP.NET 5 Preview Docker Image now
https://registry.hub.docker.com/u/microsoft/aspnet/
@almereyda: maybe you whant to check that out.

Refactored the EntityFramework Code to use Code First. So it is much easier to implement DB (and API) cahnges. It also should be easier to use this implementation as a template for other ones.

Server perfectly compiles under Xamarin Studio and checks fine with MoMA but still has PlatformNotSupportedException to need integrated pipeline mode. Maybe this will help in migration of server and DB: http://www.mono-project.com/docs/web/porting-aspnet-applications/