convention-over-configur Questions

6

Solved

What are the benefits of the "Convention over Configuration" paradigm in web development? And are there cases where sticking with it don't make sense? Thanks
Catherine asked 3/12, 2010 at 15:30

3

Solved

Is there a convention in Rails to put Sweeper classes in a particular directory location? UPDATE: Since observers are put into app/models, I'm assuming sweepers are no different, as long as the na...
Chaqueta asked 26/1, 2012 at 19:21

1

Solved

So Im using autofac in a MVC so my controllers can have there dependencies injected on there constructor, I have in my Global.asax I have the following snippet of code, which works. // Register yo...
Liegnitz asked 20/5, 2016 at 12:18

1

Apart from auto mapping CLR Classes to EDM models, what are the advantages or use-cases for the ODataConventionModelBuilder ? What specific set of pains does it make go away? With sample code if p...

2

Solved

I have a service which takes an IMyDependency in its constructor. IMyDependency, MyDependency and the service all live in the same assembly. MyDependency has a single, public, parameterless constru...

1

I have a lot of endpoints annotated with @WebService(targetNamespace = "mynamespace"). Every @WebResult and @WebParam has the same definition of targetNamespace = "mynamespace". Is there a way to ...

2

Solved

Just curious about the best practices for Rails in where I put a custom constraints class that's used as a constraint in config/routes.rb. Seems like Rails.root/lib is where all user classes go. Is...

1

Solved

I'm playing around with Sharp Architecture Lite, which emphasizes convention over configuration, and trying to understand how the NHibernate ConventionModelMapper works. Specifically, I can't tell ...

1

Solved

Is there a product/project that would allow you to define conventions for say an MVC Project to statically check for naming conventions like Controller being appended on the end of classes that inh...

3

Solved

If there's something that everybody hates about Magento it's endlessly configuring your modules before being able to write some code. I'm trying to collect a list of common Magento configurat...
Bluecollar asked 16/3, 2010 at 0:45

2

Solved

I know some DI frameworks support this (e.g. Ninject), but I specifically want to know if it's possible with Autofac. I want to be able to ask an Autofac container for a concrete class, and get ba...

1

Solved

I am relatively new to ASP.NET MVC, and am very impressed with the clarity of the platform so far. However, there is one aspect that I find uncomfortable. At first, I accepted the fact that when I...
Anticlinorium asked 2/7, 2009 at 4:24
1

© 2022 - 2024 — McMap. All rights reserved.