convention-over-configur

What are your Common Magento Configuration Mistakes? [closed]

巧了我就是萌 提交于 2019-12-03 12:44:50
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 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 configuration errors for a future project that's I'm close to launching. I'm

Convention over configuration in ASP.NET MVC

空扰寡人 提交于 2019-11-30 11:48:04
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 say return View(); I am calling a helper method that returns an ActionResult, and makes some assumptions about which view to present, route values, etc. But lately I have been writing code that looks more like this: return View("Index", new { id = myID }) because it is immediately clear to me what's happening by reading that single line of code. Lately I have been struggling with the fact that I can