• Welcome to corMVC - My jQuery-powered Client MVC Framework.

    CorMVC is a jQuery-powered Model-View-Controller (MVC) framework that can aide in the development of single-page jQuery applications. It evolved out of my recent presentation, Building Single-Page Applications Using jQuery And ColdFusion, and will continue to evolve as I think more deeply about this type of application architecture.

    CorMVC stands for: Client-Only-Required Model-View-Controller, and is my laboratory experiment in application architecture held completely seperate from server-side technologies.

    corMVC Philosophy

    Building frameworks in jQuery (or any other language for that matter) is very new to me; I don't claim to be any good at it. In fact, when I started looking into jQuery-based frameworks, I had no intention of creating my own. As I started to do my research, however, I quickly encountered two major problems with what was avilable:

    1. Most examples were so small that I could not see how they might be applied to the kind of software I build.
    2. Most frameworks were enormous and required command line utilities and some additional server-side technology (like Ruby On Rails) just to experiment with.

    I didn't even know how to begin learning. So, rather than wade through what was available, I decided to try and create something from scratch. What I came up with is corMVC. The philosophies that I put into the corMVC framework are those that were hopefully a remedy to the problems I encoutered above:

    1. A large sample application. This whole demo site (including the contacts section) runs off of corMVC as a single-page application.
    2. No server required. This demo application does not require any additional server-side technologies. If you have a web browser, you can download and run this application immediately.
    3. No building required. This framework does not require you to build the application using scaffolding or any other command-line executables. You just download it and open it up in a browser.
    4. Small Framework. This framework is very small (and excessively commented). It doesn't do anything more than it is supposed to.

    While I want to keep the corMVC framework as small as possible, I am sure that as I begin to more fully understand the various needs of single-page applications, the framework will have to evolve as necessary. In the end though, I want the corMVC framework to be an aide and not a constraint- affording the programmer the freedom to pile their own jQuery magic on top of this foundation.

    What If Javascript Is Not Enabled?

    When dealing with Javascript and "progressive enhancement enthusiast," someone always asks how this should work / degrade if the end user does not have Javascript enabled. While this might be a contentious answer, if your target user does not have Javascript enabled, then I don't think they should be using a single-page application. That's like asking how a user should navigate a FLEX application if they don't have Flash installed; it doesn't make sense. I'm not talking about building "pamphlet" sites here - I'm talking about building complex, user-experience-oriented applications.

    • Contacts

      The contacts section is meant to demonstrate more complex interactions that involve the application's service layer (part of the Model) and potentially (thought not required in this demo) communication with the server.

    • Add / Edit Contact

      Please fill out the contact information below.

      ( Cancel )
  • Documentation

    This is the documentation page.

    Coming soon....

  • Resources

    This is the resources page.

    Coming soon....

  • 404 - Page Not Found

    Sorry, but the page you requested could not be found.

    Try going back to the home page.