Model Questions

Ad
Ad

Where are the Business Rules in MVC

Now that everyone is talking about mvc, i notice that the business rules are not being addressed. in the old days of the 3-tier architecture, the
Ad
Ad

To use views or not to use views

I seem right now to be embroiled in a debate with another programmer on this project who thinks that views have no merits. he proposes a system

Call Specific Value from SQL Table

Seeking your assistance i've a website laravel based where i need to have multi-lingual support for pages i've the following code to view pages

How to get LiveData from Room?

I'm trying to get livedata from room. so my recycleview can have live updates if anything in database is changed i have tried with out
Ad

what is ViewModelFactory

What is viewmodelfactory and when and why should i use it i am new to android and actually i can't understand these concepts in mvvm

Dagger2 + ViewModel + Repository

I am new to dagger 2 and trying to implement it in kotlin. here i am trying to inject my repository object into viewmodel. i am successfully able
Ad

How to get masklen from model

The model as below to store the ip address in postgres. from django.db import models from netfields import inetaddressfield,
Ad

How add multiple fliters to a model

I have inventory, status and transaction tables. transaction has many to one inventory link and inventroy has one to one relation to status.
Ad
Ad

Android Room + ViewModel usage

I want to use android's room + viewmodel components for my app, but i'm not quite sure how. one of my database tables is going to represent

Repeat Mutators

I'm using several mutators that are basically the same on different models and within the same models, for different fields. eg: to tidy
Ad
Ad

Blog Categories

Ad