Geeks With Blogs

@neh123us
  • neh123us T4 sould be your outsourcing strategy https://t.co/1ZceCUKWKE T4 - The Insource Code Monkey about 418 days ago
  • neh123us Had a need for Dynamic Views in MVC today. Wanted to use a Partial view on two different views with different ViewModels about 466 days ago

News Google

Nick Harrison Blog<Nick>.Next() September 2008 Entries
Model View Presenter / Passive View Benefits
Model View Presenter / Passive View Benefits A hot topic near and dear to my heart is Model View Presenter (MVP) or Passive View design pattern. This design pattern forms a good model for keeping a strong separation between UI logic and business logic. In the MVP model, the data access objects constitute the model, the View is the UI components kept as simple as they can be and the Presenter is where the business logic is. These three components interact with other through interfaces to further reinforce ......

Posted On Monday, September 22, 2008 6:44 PM

What Can We Do For Meaningful Variable Names?
What can we do for meaningful variable names? You hear much about naming conventions and some shops still have some arcane rules in place. Fortunately most of us have stepped beyond Hungarian notation. I have seen some shops define rules that the method name should include the number of parameters. I have seen shops define rules that would ban overloading and insist on a sequence number for methods that should be overloads. I have seen shops that wanted the Requirement Number embedded in method names, ......

Posted On Monday, September 22, 2008 6:43 PM

SQL Tips for Learning a New Database
SQL Tips for Learning a new Database The hardest part of writing SQL statements is in understanding the database that you are working with. The raw mechanics of SQL for the most part are fairly straight forward. Often times really complex SQL statements point to business logic showing up where it doesn’t belong. The hard part about learning a database is the lack of consistency and documentation. Data diagrams are often of little help. Diagrams are good for an overview and to get a list of tables, ......

Posted On Saturday, September 20, 2008 10:11 PM

Reflecting on Software Metrics
Reflecting on Software Metrics At the risk of sounding pedantic, I like software metrics. They can prove to be invaluable in analyzing source code. To be clear, I am not proposing that developers be bonused based on metrics and their use in estimating and scheduling should be limited at best. I am however a fan of software metrics as benchmarks for evaluating design and understanding how software works. There is an add-in for reflector called CodeMetrics that allows you to easily calculate a wide ......

Posted On Saturday, September 20, 2008 10:10 PM

Passive View and Cyclomatic Complexity
Passive View and Cyclomatic Complexity We have previously talked about cyclomatic complexity and set forth the goal of keeping the complexity for our methods down below 10. We have also talked about the goal of systematically refactoring any methods that we find to lower complexities whenever we make code changes. These are good and admirable goals for business logic. But what about Passive View? Passive View is a slight variation on the Model View Presenter pattern designed to drive home the fact ......

Posted On Saturday, September 20, 2008 10:04 PM

Pronouns
Using Pronouns This may not be very technical, but hopefully it may generate some discussion and provide some insight. Pronouns can be very enlightening about our attitudes towards work. How long do you work for a company before you start thinking of the company as “we” instead of “they?” Consider: We are the number 1 producer of product X. Vs. They are the number 1 producer of X. Do you ever make that pronoun switch? What does it mean if you switch back from “we” to “they?” What does it mean if ......

Posted On Saturday, September 20, 2008 10:03 PM

Copyright © Nick Harrison | Powered by: GeeksWithBlogs.net | Join free