• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is this called reverse Engineering

 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when we doing projects class most of time we first create Database and then create the entity from database?

1)what most of time we use this other than coding business logic and then create database?
2)is this called the reverse Engineering?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) What?
2) No, it's called "reverse engineering", but is a subset of what reverse engineering can imply.
 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1)i mean what is the most populer and best way from forward engineering or reverse enginerring
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Totally depends; both have their uses. It often boils down to who drives database development: the Java developers, or the DBAs.
 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think reverse enginerring is much easir than forward engineering, because we can get the code automatically if we use IDE.
Also if we know database it is very easy to creat buiness logic?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or you can generate the schema automatically if you have either mapping files or annotated classes. Same difference.

You need to know the *class* structure to create the business logic; the schema itself may or may not matter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic