Click here to Skip to main content
15,911,896 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, do you like it? Pin
Duncan Edwards Jones10-Feb-16 4:42
professionalDuncan Edwards Jones10-Feb-16 4:42 
AnswerRe: Code First, do you like it? Pin
Dave Kreskowiak10-Feb-16 4:29
mveDave Kreskowiak10-Feb-16 4:29 
GeneralRe: Code First, do you like it? Pin
Slacker00710-Feb-16 4:37
professionalSlacker00710-Feb-16 4:37 
AnswerRe: Code First, do you like it? Pin
Marco Bertschi10-Feb-16 5:24
protectorMarco Bertschi10-Feb-16 5:24 
AnswerRe: Code First, do you like it? Pin
pkfox10-Feb-16 5:32
professionalpkfox10-Feb-16 5:32 
GeneralRe: Code First, do you like it? Pin
PIEBALDconsult10-Feb-16 12:44
mvePIEBALDconsult10-Feb-16 12:44 
AnswerRe: Code First, do you like it? Pin
dazfuller10-Feb-16 20:49
dazfuller10-Feb-16 20:49 
AnswerRe: Code First, do you like it? Pin
Flo Lee10-Feb-16 20:54
Flo Lee10-Feb-16 20:54 
I was raised with manual DB creation and then creating code that accesses the DB. This worked well with the waterfall model, where (theoretically) no changes would appear after planning and design (on paper) were over.

But in recent years, as things became more "agile" (read: people do not want to make decisions, people want to change their mind very often, people just lack knowing the full story) I started to change my mind.

We had lots of problems in our application when we were adding fields to an already existing complex DB and then implementing the handling code. Sometimes datatypes were wrong. Sometimes fieldnames were misspelled etc especially when the change was not implemented by just only one person.

Another strong point for code-first entities design was the thing with SVN: While we had good practice already with versioning our code, the DB was hard to track in SVN. Ultimately people started to checkin binary backups from SQL Server, but you could not diff them etc.

With code-first we now have a singular, unique description of the Db in Plaintext, with matching datatypes and compile-time error checks. Our test cycles are much easier now.

BR Florian
AnswerRe: Code First, do you like it? Pin
dietmar paul schoder10-Feb-16 21:38
professionaldietmar paul schoder10-Feb-16 21:38 
AnswerRe: Code First, do you like it? Pin
Quirkafleeg10-Feb-16 21:42
Quirkafleeg10-Feb-16 21:42 
AnswerRe: Code First, do you like it? Pin
boarderstu11-Feb-16 0:53
boarderstu11-Feb-16 0:53 
AnswerRe: Code First, do you like it? Pin
Member 1223953511-Feb-16 1:12
Member 1223953511-Feb-16 1:12 
AnswerRe: Code First, do you like it? Pin
Nathan Minier11-Feb-16 1:42
professionalNathan Minier11-Feb-16 1:42 
GeneralRe: Code First, do you like it? Pin
Slacker00711-Feb-16 2:17
professionalSlacker00711-Feb-16 2:17 
GeneralRe: Code First, do you like it? Pin
Nathan Minier11-Feb-16 2:27
professionalNathan Minier11-Feb-16 2:27 
AnswerRe: Code First, do you like it? Pin
Josh Go11-Feb-16 3:51
Josh Go11-Feb-16 3:51 
GeneralRe: Code First, do you like it? Pin
Slacker00711-Feb-16 6:01
professionalSlacker00711-Feb-16 6:01 
AnswerRe: Code First, do you like it? Pin
canoeman11-Feb-16 14:00
canoeman11-Feb-16 14:00 
AnswerRe: Code First, do you like it? Pin
rjemp11-Feb-16 17:00
rjemp11-Feb-16 17:00 
GeneralFOSW OTD - Feb 10, 2016 - We have a winner Pin
Brittle16189-Feb-16 22:14
Brittle16189-Feb-16 22:14 
GeneralRe: FOSW OTD - Feb 10, 2016 Pin
Jochen Arndt9-Feb-16 22:39
professionalJochen Arndt9-Feb-16 22:39 
GeneralRe: FOSW OTD - Feb 10, 2016 Pin
Brittle16189-Feb-16 22:49
Brittle16189-Feb-16 22:49 
GeneralRe: FOSW OTD - Feb 10, 2016 Pin
Jochen Arndt9-Feb-16 22:54
professionalJochen Arndt9-Feb-16 22:54 
GeneralRe: FOSW OTD - Feb 10, 2016 Pin
Brittle16189-Feb-16 23:06
Brittle16189-Feb-16 23:06 
GeneralRe: FOSW OTD - Feb 10, 2016 (Corrected number of characters) Pin
Kornfeld Eliyahu Peter9-Feb-16 22:53
professionalKornfeld Eliyahu Peter9-Feb-16 22:53 

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.