by mark
11. September 2010 08:50
I have the need to pick up the MVP pattern for my job, so that means a lot of the new HardwawreArmory features are going to be designed using that pattern.
I can only think of one task, currently, that will be "Hello World" easy and that will be the creation of new computers (and accessories) since it is mostly data->form->data and doesn't require too much fanciness.
The only challenge I see is that the IHardware interface that all of the Hardware components use as a contract are going not going to be easy to integrate as they don't really work as a View the way they are designed.
There are a few benefits to this pattern:
- Test Driven Development makes more sense. No code is written until I have created my tests. I could do this now, but it doesn't fit my current development flow.
- Seriously separated concerns. UI is nothing but UI (Model). View is nothing but functionality (View). And the Presenter is the object handed between the two (Presenter).
- I will learn this pattern which should be a good feeder into MCV (or just upgrading to a framework designed to assist MVP like Castle).
I think that I am going to start to put code snippets in here.
0f5cd6b3-0b09-4cad-be66-666272f926c1|0|.0
Tags:
code | General
by mark
1. September 2010 16:40
I worked all night long and was finally able to get the site up and running with SqlMembershipProvider instead of my home-grown solution.
Why?
- It integrates really well with a lot of available applications written in .Net.
- It is a well-received standard.
- The heavy lifting is handled by the time-tested framework.
- It is just THAT MUCH less code that I have to maintain.
- I really like the administration (roles, specifically) interface that it gives me.
Now that I am starting to expose my WCF services to the world, I wanted to make sure that my login interface uses a standard of some kind. I will probably also upgrade to OpenID or something similar in the very near future as a secondary option to creating an account on my page.
Another cool benefit to my using SqlMembershipProvider is that it gave me a chance to re-evaluate how I was handling accounts in general. Previously, I was requiring lots of information to create an account. I simplified that down to simply take the email, username, password. I may have to integrate a CAPTCHA once people really start using the site to keep things spam free, but am at a stopping point for the login engine as of now.
a29640c2-6f9a-4641-9070-02962f7c3840|0|.0
Tags:
General | code
by Admin
12. August 2010 13:14
I am going to use this blog to keep everyone (who cares) up to date with the features that are currently in brainstorm, development and beta.
I don't expect that I will want to spend the time required to truly get every feature documented via blog, but I will try to capture the majority of the features I feel are important.
eef6c101-aad0-43ec-b0be-3a8ecfdd0fca|0|.0
Tags:
General