Mobile MVC and multipanel UI

Recently I have received a few questions on a possibility of using the Mobile MVC framework with a “single form/multiple panels” technique when creating a mobile UI’s. This technique of having a single form with multiple panels instead of multiple forms is an old practice that existed at the time of eVB. At the time each…

2

Update to MobileMVC with Container

I’ve recently made a substantial update to the MobileMVC framework. I’ve added the ability to utilize a (D)epenendcy (I)njection container by adding IControllerProvider interface into the framework which looks like this: public interface IControllerProvider {      Controller GetController(string name);      Controller GetController(Type type);      Controller GetController<T>();      Controller GetController<T>(IView view);          void RegisterController(Controller controller); }…

2

Mobile MVC on codeplex

I’ve published the Mobile MVC framework on CodePlex: http://www.codeplex.com/MobileMVC   Feel free to post your comments, bugs, suggestions in the project’s discussions.   

1

Mobile MVC framework (part 4) - passing data between controllers

This is the part 4 of the series of the posts related to the Mobile MVC framework that I have described for you in my previous posts. I’ve updated the framework to handle the scenario of passing data between different controllers: the Controller class now implements two new methods: public void Initialize(params object[] parameters) and: protected…

6

Mobile MVC framework (part 3) - communicating with events

Just for people who are not comfortable with passing strings when notifiying the view or the controller, I’ve added the functionality to use events instead. You would not need to hook into the events explicitly because the controller will take care of this behind the scenes. In order to demonstrate how to use this functionality…

4

Mobile MVC framework (part 2)

Last time I showed you how to create a simple Login Form and pass the data between the View and Controller using ViewData dictionary. In this post I am going to show you how to pass a strongly typed data. We will continue working with code sample we created last time. We are going to add…

8

Mobile MVC framework (part 1)

In order to show you the Mobile MVC framework I came up with, let me walk you through the same excersise we did when I showed you the MVC pattern. Let’s create a simple application with the same login form. Let’s create a Smart Devices project and rename the Form1.cs to LoginForm.cs and add a few…

11

Implementing MVC pattern in .NET CF applications (Part 2).

Let’s continue on the way how-to implement the model-viewer-controller pattern in .NET Compact Framework applications that I started in my previous post. We stopped at the point where we needed to figure out on how to connect the LoginController with the concrete instance of the LoginForm. Of course we can create an instance of the LoginController class…

8

Implementing MVC pattern in .NET CF applications (Part 1).

I would like to start a series of posts devoted to best practices when designing mobile applications. So in this first post I will describe the MVC pattern that I have been using when creating CF applications for the customers. I realize that a lot has been written on the subject, explaning what the MVC pattern is. If…

3