Top "Model" questions

Part of the MVC pattern, the Model manages the behaviour and data of the application.

Tensorflow: how to save/restore a model?

After you train a model in Tensorflow: How do you save the trained model? How do you later restore this …

python tensorflow machine-learning model
Accessing MVC's model property from Javascript

I have the following model which is wrapped in my view model public class FloorPlanSettingsModel { public int Id { get; set; } …

c# javascript jquery asp.net-mvc model
How to load json into my angular.js ng-model?

I have what I think is probably a very obvious question, but I couldn't find an answer anywhere. I am …

javascript ajax angularjs model
Ignore mapping one property with Automapper

I'm using Automapper and I have the following scenario: Class OrderModel has a property called 'ProductName' that isn't in the …

c# model viewmodel automapper object-object-mapping
AngularJS - Binding radio buttons to models with boolean values

I am having a problem binding radio buttons to an object whose properties have boolean values. I am trying to …

angularjs data-binding model radio
How should a model be structured in MVC?

I am just getting a grasp on the MVC framework and I often wonder how much code should go in …

php oop model-view-controller architecture model
CodeIgniter PHP Model Access "Unable to locate the model you have specified"

I have been trying to load some models for this website I am building. However, for an unknown reason, it …

php model codeigniter-2
How to set a hidden value in Razor

I know that what I'm trying to do is bad idea, but I have specific constrains for now. I have …

asp.net-mvc-3 razor model-view-controller model setdefault
ASP.NET MVC Yes/No Radio Buttons with Strongly Bound Model MVC

Does anyone know how to bind a Yes/No radio button to a boolean property of a Strongly Typed Model …

c# asp.net-mvc model radio-button boolean
Eloquent ORM laravel 5 Get Array of ids

I'm using Eloquent ORM laravel 5.1, i want to return an array of ids greater than 0, My model called test. I …

php laravel laravel-5 eloquent model