|
What is the difference between causal models and directed graphical models?
or:
What is the difference between causal relationships and directed probabilistic relationships?
or, even better:
What would you put in the interface of a DirectedProbabilisticModel...
Started by Neil G on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
A casual model is a way of assigning dependencies perform estimation using something different....
If I understand this post correctly, casual models and directed graphical models (Bayesian networks) aim at different stages of the workflow.
|
|
Would it be incorrect to make all my View Models / Presentation Models static classes so that if any other View Presenter wanted to change a view model other than its own it could easily aquire a reference to it?
If this is the wrong approach how would...
Started by David on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Easily accessible but will create a new model object for each class that wants ViewModels/Presentaion Models....
Will find it extremely difficult to test all the classes that consume your static models as you won't using a Factory pattern.
|
|
I've read some MVC advice in the past regarding models stating that you should not reuse the same model objects for the domain and the view; but I haven't been able to find anyone willing to discuss why this is bad.
It is my opinion that creating two ...
Started by Erik Forbes on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
If your View Model IS your domain model then your domain ....
I guess the idea is that your domain models might extend to other implementations, not just your MVC application and that would break the seperations of concerns principle.
|
Ask your Facebook Friends
|
Is there a way to have models for each module? I have 3 modules, one is a "contacts" module. I created a model for it in modules/contacts/models/Codes.php Codes Controller
class Contacts_CodesController extends Zend_Controller_Action { public function...
Started by EricP on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I found the problem use their own....
Without a problem.
models/ => Model DbTable/ => Model_DbTable plugins/ => Plugin
If you are using Zend is, In a contacts action I can call the models in the ez/models dir.
|
|
It used to be that within a CodeIgniter model you couldn't access another model. E.g
$this->load->model('bar'); $this->bar->something();
Would be invalid within the code of a model. Is this still valid or have they changed it?
Started by Click Upvote on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
For instance....
Loaded and you can use it in any model):
/** * * Allow models to use other modelsI think it's generally better the write libraries that access the models and then include the libraries in your model if need be.
|
|
I read everywhere that business logic belongs in the models and not in controller but where is the limit? I am toying with a personnal accounting application.
Account Entry Operation
When creating an operation it is only valid if the corresponding entries...
Started by Jean on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The advantage of the separate utility class is that it keeps each model....
In your case there are 2 kinds model, but has business logic that crosses model boundaries.
Into model operations and reponses while also doing formatting.
|
|
Okay, so there are a few alternatives to GW's WHFB models (feel free to add more as I'm sure I missed some):
Mantic: Kings of War
Wargames Factory
Privateer Press
Scibor Miniatures
Even GW LotR models
#1 Ignoring appearance, are non-GW models practical...
Started by EvanDynamic on
, 20 posts
by 16 people.
Answer Snippets (Read the full thread at warseer):
They're calledI've never bought non-GW ....
As treeman, that model is insanely well done)
Confrontation models (the old metal line for waywatchers GW model line have models I'd label on par with the others I use? Yes, it does.
|
|
Full list coming next please look at the bottom of the post for models that have been sold.
Started by diecastmodelairplanes on
, 19 posts
by 3 people.
Answer Snippets (Read the full thread at diecastaircraftforum):
All of my models and then I can pull it off eBay.
I am a bit of a perfectionist when it comes to my packing .
Model safe and sound.
Pictures are available upon request.
PM Message responded to.
Of a model Sent you a PM yesterday.
|
|
I have numerous models in my app/models folder. I'd like to clean this folder up a little bit. Move models that belong to each other in subfolders. The problem is that by convention the model class is namespaced into an according module.
E.g.
app/models...
Started by seb on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
We needed to do this, and there is....
A init.rb in the app/models folder:
app/models/init.rb
%w[blog].each do |folder| path = [File.dirname the files on each subfolder on model and require them), I don't see any problem against it.
|
|
I have several Models and want to return a queryset of all the Models belonging to a User, I'm wondering if its possible to return one Queryset from multiple Models?
Started by Rasiel on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Do you need a queryset a list, a chained iterator (itertools) or ... .
Your models must contain relationship fields (ForeigKey and ManyToManyField), with related_name a single queryset of all the objects belonging to the user from each model.
|