Ask your own question, for FREE!
Computer Science 24 Online
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
XShawtyX: guys, wth is a python
3 seconds ago 35 Replies 1 Medal
RAVEN69: How many sentences is in a paragraph?
2 minutes ago 58 Replies 2 Medals
RAVEN69: what is 2+2
15 minutes ago 27 Replies 2 Medals
XShawtyX: Fish
18 minutes ago 65 Replies 1 Medal
XShawtyX: Art, give me more to add to this
30 minutes ago 16 Replies 2 Medals
CecePitbull: Who wants to debate about Trump I think he's horrible who doesn't.
1 hour ago 3 Replies 1 Medal
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!