Ask your own question, for FREE!
Computer Science 32 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
Ferrari: today's my birthday!!! im 17 lol
7 minutes ago 1 Reply 0 Medals
nitro1: Rate my singing
13 hours ago 9 Replies 2 Medals
breiadabrattzz: So was i the only one tht was getting difficult time to load this app
12 hours ago 11 Replies 1 Medal
Skyler14: is it a bad thing if u cant hardly breath
1 day ago 6 Replies 0 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!