Ask your own question, for FREE!
Computer Science
OpenStudy (anonymous):

In MVC Design pattern Where to place database and database connection, whether it come under Model or otherwise consider as separate entity.

OpenStudy (anonymous):

I don't think so you need put in anything for connection.Your model will find wen to connect ,controller will decide it. . .All database stuffs should be at model side. But to create database tables etc you will find in migrations in rails but in Django you will find in models. . .It depends on mvc framework,how much they adhere.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
axie: Does anyone here do welding? I need help on an asignment.
10 minutes ago 6 Replies 0 Medals
Joe348: HAPPY BIRTHDAY @Allison ;-;
5 seconds ago 78 Replies 8 Medals
karissafrazier: what is Oklahomas state song?
33 minutes ago 6 Replies 0 Medals
Extrinix: Theme Release Topic: Games
1 hour ago 12 Replies 1 Medal
Darfangel: why do some people sweat and others dont?
1 hour ago 2 Replies 2 Medals
SpaghettiTree: why does Austrailia want to ban anime
1 hour ago 4 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!