Click here to Skip to main content
15,908,115 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Code First Pin
Member 1126470618-Oct-18 20:33
Member 1126470618-Oct-18 20:33 
GeneralRe: Code First Pin
Richard Deeming11-Oct-18 1:35
mveRichard Deeming11-Oct-18 1:35 
GeneralRe: Code First Pin
Jacquers11-Oct-18 2:10
Jacquers11-Oct-18 2:10 
GeneralRe: Code First Pin
raddevus11-Oct-18 2:22
mvaraddevus11-Oct-18 2:22 
GeneralRe: Code First Pin
F-ES Sitecore11-Oct-18 2:45
professionalF-ES Sitecore11-Oct-18 2:45 
GeneralRe: Code First Pin
raddevus11-Oct-18 3:56
mvaraddevus11-Oct-18 3:56 
GeneralRe: Code First Pin
F-ES Sitecore11-Oct-18 4:30
professionalF-ES Sitecore11-Oct-18 4:30 
GeneralRe: Code First Pin
raddevus11-Oct-18 4:45
mvaraddevus11-Oct-18 4:45 
F-ES Sitecore wrote:
Nowhere in the agile manifesto does it dictate what technology you can use,

I agree. I was trying to say that this is Microsoft's attempt to create a technology to help lead devs into this by providing a "design on the fly" type of thing. Design on the fly isn't quite right either and is a variable depending upon the team. Also thinking more about Agile Scrum here.
The point is, create one domain model into class model and Code-First it and you are on the steps toward iterative design.


F-ES Sitecore wrote:
There is no reason that code first is better for agile than database first

Also agree. However, as I mentioned Code-First is a dev-first type of view - a technology that is an attempt to make it easier for devs to quickly design using Models and having them serialized to the database.
If the dev were to create the DB table first it could be seen as the model and design coming from that too. But devs are more code-centric and it is more common that when someone designs a database they do more than one table at a time -- just a convention.


F-ES Sitecore wrote:
and if your project management is driving your technology then your project management is bad.


I think that this code-first idea has little to do with project management because it is coming from the devs viewpoint. This is probably used more in cases where there is no project management.
Which goes back to my original post that I am saying that this whole Code-First thing was a way to lure devs into at least creating models first (very minimal design) and allow them to design one model at a time (iteratively) and is generally so loose that it would be mostly for prototyping or first run design.

Also throughout all this I'm not saying that the Agile Principles mean that there is no design. I really like the original Agile Principles[^]. I'm saying that they do say, "Working software is the primary measure of progress." so code-first is an attempt (however good or terrible it may be) to help devs design iteratively to get to running code (serialized to db) as quickly as possible.

Also, of course, I am saying that all design is not done up front as another principle states, "Deliver working software frequently, from a
couple of weeks to a couple of months, with a
preference to the shorter timescale. "

Good discussion.
GeneralRe: Code First Pin
Member 1126470618-Oct-18 20:42
Member 1126470618-Oct-18 20:42 
GeneralRe: Code First Pin
Eric Lynch11-Oct-18 5:18
Eric Lynch11-Oct-18 5:18 
GeneralRe: Code First Pin
raddevus11-Oct-18 9:10
mvaraddevus11-Oct-18 9:10 
GeneralRe: Code First Pin
R191112-Oct-18 3:14
R191112-Oct-18 3:14 
GeneralRe: Code First Pin
Gerry Schmitz12-Oct-18 4:00
mveGerry Schmitz12-Oct-18 4:00 
GeneralRe: Code First Pin
raddevus12-Oct-18 4:04
mvaraddevus12-Oct-18 4:04 
GeneralRe: Code First Pin
Gerry Schmitz12-Oct-18 4:35
mveGerry Schmitz12-Oct-18 4:35 
GeneralRe: Code First Pin
Foothill11-Oct-18 3:18
professionalFoothill11-Oct-18 3:18 
GeneralRe: Code First Pin
MarkTJohnson11-Oct-18 3:25
professionalMarkTJohnson11-Oct-18 3:25 
GeneralCode Last Pin
Marc Clifton11-Oct-18 3:50
mvaMarc Clifton11-Oct-18 3:50 
GeneralRe: Code Last Pin
Mycroft Holmes11-Oct-18 11:57
professionalMycroft Holmes11-Oct-18 11:57 
GeneralRe: Code Last Pin
Marc Clifton11-Oct-18 13:43
mvaMarc Clifton11-Oct-18 13:43 
GeneralRe: Code Last Pin
R191111-Oct-18 19:57
R191111-Oct-18 19:57 
GeneralRe: Code Last Pin
Marc Clifton12-Oct-18 4:05
mvaMarc Clifton12-Oct-18 4:05 
GeneralRe: Code Last Pin
R191113-Oct-18 21:19
R191113-Oct-18 21:19 
GeneralRe: Code First Pin
MadMyche11-Oct-18 4:12
professionalMadMyche11-Oct-18 4:12 
GeneralRe: Code First Pin
theokr11-Oct-18 21:31
theokr11-Oct-18 21:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.