Tag: model

57 votes
10 answers
1.9K views
How can I temporarily disable a foreign key constraint in MySQL?

Is it possible to temporarily disable constraints in MySQL? I have two Django models, each with a foreign key

avatar
Hildegard
0 1 0 9
asked 07 September, 2021
62 votes
5 answers
2.6K views
Why split the View in MVC into a view class and a template

I'm relatively new to design patterns but I feel that I've got a good understanding of the MVC patte

avatar
Denese
0 1 0 9
asked 07 September, 2021
67 votes
1 answers
2.1K views
What are the differences between Joomla Model Types?

I'm trying to get to grips with the power behind Joomla (3.x)'s framework. I've noticed that th

avatar
Benton
0 1 0 9
asked 07 September, 2021
66 votes
3 answers
2.6K views
How does Joomla Model View Controller (MVC) work?

I am new to Joomla, I want to know how the Joomla controller passes data to the model, model to controller and

avatar
Suzan
0 1 0 9
asked 07 September, 2021
57 votes
4 answers
3K views
Does Drupal comply with the MVC paradigm?

Drupal is frequently referred as a Content Management Framework, does it comply with the MVC paradigm? If it d

avatar
Nereida
0 1 0 9
asked 07 September, 2021
60 votes
15 answers
3.1K views
What is ViewModel in MVC?

I am new to ASP.NET MVC. I have a problem with understanding the purpose of a ViewModel. What is a ViewModel

avatar
Xavier
0 1 0 9
asked 07 September, 2021
61 votes
18 answers
2.8K views
How to get all Errors from ASP.Net MVC modelState?

I want to get all the error messages out of the modelState without knowing the key values. Looping through to

avatar
Dusty
0 1 0 9
asked 07 September, 2021
59 votes
2 answers
834 views
Yii: Render action using different layout than controller's layout

In Yii, is there a way to render a single action using a different layout than that defined for the controller

avatar
Dorinda
0 1 0 9
asked 07 September, 2021
58 votes
14 answers
2.8K views
Yii model to array?

How can I convert the result of Trips::model()->findAll() to an array?

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
52 votes
30 answers
709 views
Passing data between view controllers

I'm new to iOS and Objective-C and the whole MVC paradigm and I'm stuck with the following: I have a

avatar
Vi
0 1 0 9
asked 07 September, 2021
62 votes
8 answers
1.4K views
What's the difference between ng-model and ng-bind

I'm currently learning AngularJS and am having difficulty understanding the difference between ng-bind an

avatar
Jeff
0 1 0 9
asked 07 September, 2021
60 votes
23 answers
3K views
What are metaclasses in Python?

In Python, what are metaclasses and what do we use them for?

avatar
Boyd
0 1 0 9
asked 07 September, 2021