moviepilot/chaplin — Issue #3: How to get the example application: Facebook Likes Browser running?
Author: crussi
Created: 2012-03-01 22:45:07+00:00
State: open

First off, thank you so much for releasing this code and for the excellent write up. I've been using backbone.js, require.js, coffee script, jquery, etc. on a single page application for about 6 months. I am embarrassed to say that I can't seem to get your sample app running. I'm working in Windows 7 environment. Basically, I took the download and put the index.html file (along with all folders) and copied them to my default web site. I added the line 127.0.0.1 chaplin.moviepilot.com to my hosts file. I navigated to chaplin.moviepilot.com and I got the page to render, but, it was chock full of errors. I apologize, I'm not at home right now, so, I don't have access to the exact errors. But, I'm curious, am I going about it the right way? I am excited and eager to start working with Chaplin. I've tried Marionette and found it too difficult to migrate to AMD (requirejs). I was so happy to see your sample app and I'm busy studying it to see how I can get it to work.

Also, you mentioned in your writeup about including backbone, underscore as regular scripts tags. I was able to get around this and use them as AMD modules with this nice plugin called use.js. It is written by one of the core backbone JavaScript engineers tbranyen https://github.com/tbranyen/use.js. Just thought I would mention it. It worked out well.

Chaplin looks great and really does fill a need that became evident to me the more I worked with backbone.

Best regards,
Chris