18 responses to “Building a Proper MVC Pattern for the web”

  1. MVC Web Apps - glyphobet • глыфобет • γλυφοβετ

    […] Wulf, of the modestly named welcome.totheinter.net, has drunk the Browser-side MVC kool-aid! You too can drink this flavorful kool-aid here, here and here. Posted by glyphobet   Respond […]

  2. adam

    Very nice article. This is a very interesting approach to MVC, and I think it fits very nicely within the web application environment. I’m definitely going to take a closer look at this and see if there isnt a better method. Im curious, if there is an MVC framework on the SS, are you really using a full MVC framework in JavaScript, or is it more of a pattern, like Command, where a Controller exists but no model… I dunno.. some thoughts..

  3. MV

    Yes. Indeed.

    Do look at my article(s) regarding precisely the issue that you’re talking about http://is.gd/1iJE

    Also lookout for some work being done by some as TSA (Thin Server Archicteture), by others as SOFEA and others as RADAR.

    — MV

  4. Markas Read

    If you check out http://haxe.org/doc/intro, you’ll notice that the language compiles to JavaScript and Php, so you could build an MVC framework that would work on the server and client with the same codebase. PureMVC has already been ported. If you’ve got the acumen, you could target any language you need.

  5. Rob Ottaway

    Could you give an example of the ‘application’ running in the browser side which requires such an approach? Seems awfully heavy weight. At what point (as Javascript code in a page increases) should move to using this MVC approach? Do you think this is saner than leveraging Flash/Flex technology?

  6. the fractal nature of MVC « null pointers …

    […] This blog post that I came across partly reinforced my belief. […]

  7. Pims

    Nice article.
    You should take a look at: http://www.thinserverarchitecture.com/ &
    http://www.infoq.com/articles/rationalizing-presentation-tier

    Since I’ve implemented this at work, Javascript is now considered a first class citizen language 🙂 No more discrimination for us front-end dev 😉

  8. Jake

    This is the exact same architecture I use on my website: indieed.com

    invite code: !inviteme!

  9. David

    Very nice article!

    Implementing MVC in a webapplication(waterlevelmanagement and control so quite heavy) aswell, I also struggled what to above described problem.

    Thnx for this eye-opener.

    On the subject:
    A better description of your solution in thinking of 2 webapps instead of “a” webapp is a cliënt-server model, which interfaces with httpheaders.
    The bridge is in this way the POST send by AJAX.

    This brings me on another thing:
    In the last scheme/picture you describe a “cache”. I’d rather see it as an Object: the Document Object Model(DOM), and in fact as a very volutile one. The Model of the browser can change the state and the values of it’s members, on it’s own decision and thus doesn’t require any response from the server. Dragging a div in example changes this object(namely: the position of the div) on the fly.
    Deleting de cache of firefox or internet explorer does not make your screen disappear, because it’s status of object(everything is loaded in there). Even when you delete an image in the cache, it will still remain present in the object of a browser.

    Just my $0.02 ;).

  10. Mark Gibson

    Hi, I came across this article by accident.

    I thought you may be interested in a browser-side MVC pattern I implemented about a year ago as a plugin for jQuery.

    You can find it here:
    http://jollytoad.googlepages.com/mvcusingjquery

    Hope this may be of some help.

  11. Jesse Hallett (hallettj) 's status on Friday, 21-Aug-09 20:16:11 UTC - Identi.ca
  12. free tattoo stencils

    I am developing a blog and I am trying to find a new template.Yours looks relatively decent! Feel free to visit my blog and suggest things!

  13. bleka tänderna hemma

    bleka tänderna hemma…

    […]p Thanks so much for giving everyone an extremely memorable possiblity to rea w2[…]…

  14. Blue Ray Plus - Latest Technology News

    Building a Proper MVC Pattern for the web…

    Thank you for submitting this cool story – Trackback from Blue Ray Plus – Latest Technology News…

Leave a Reply

Google Author link