dibley1973 / OpenRMS

Open RMS is an Open Source project with the intention of delivering a retail management platform that is free to install, use, modify and distribute.
GNU General Public License v3.0
9 stars 7 forks source link

Latest push: 2 BC's and EF migrations #35

Open johncollinson2001 opened 8 years ago

johncollinson2001 commented 8 years ago

Howdy folks,

Just pushed some stuff into develop. We now have 2 BC's - Item Management and Location Management. You need to use EF migrations from now on for all changes to the model which need to be reflected in the database. I've written the following guide:

https://github.com/dibley1973/OpenRMS/wiki/Entity-Framework-and-Migrations

Both BC's web api's spin up when you start the app. In the current debug environment they run on different ports in IIS Express, however the aim at some point would be spin up a dev web server using vagrant, and mirror more closely the intended setup (e.g. each BC's web api running on the same port but different "virtual directories" in IIS language).

As you'll see, both BC's do pretty much exactly the same thing - it almost seems a little pointless right now! But it helped solve and prove a number of issues around the architecture, and paves the way for the next tranch of work where we can start to get some useful stuff happening.

dibley1973 commented 7 years ago

Good work @johncollinson2001. Sorry I have been AWOL, but the house move has eaten most of my spare time of late. Just read the document, and will try to remember to follow that process going forward. However I do have a question in issue #36 about whether we should just focus on domain logic and leave the upper and lower layers on the back burner for a while?

dibley1973 commented 7 years ago

I'd like to highlight this question I have raised here about moving away from EF, and also this question here about database versioning.