We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38290
    • 712 Posts
    Quote from: Eminos at Oct 05, 2013, 01:28 PM
    My vote goes to AngularJS as well smiley

    I'd like to discuss this further with you. In short, we are focusing on getting 2.3 out the door but as that release nears you can expect more discussion from the core team on 3.0.

    Might make more sense in another forum post (which I'll allow you to decide if you want to create) but I'd like to get a conversation going weight pros and cons of various JavaScript dependencies and techniques.
      jpdevries
    • Ok, I got the stuff in the github for Manager templates all installed and working; now what? I am working through some SASS tutorials, and it is making sense (thanks to Dan Cederholm, of course!). I have a question.

      The instructions in the github md file for templates has me directly cloning the Revo repository. Shouldn't I actually fork it, then clone my fork?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 38290
        • 712 Posts
        Quote from: sottwell at Nov 19, 2013, 07:08 AM
        The instructions in the github md file for templates has me directly cloning the Revo repository. Shouldn't I actually fork it, then clone my fork?

        Yes, it's just assuming you haven't already checked it out. You want to cd to _build/templates/default and do the npm install and grunt tasks in there.
          jpdevries
          • 38290
          • 712 Posts
          I also posted this over in the Management screen in 2.3 thread, but there is a new tool to bootstrap the creation of new custom manager themes:
          http://devries.jp/yomonger
            jpdevries
            • 38290
            • 712 Posts
            Quote from: BobRay at Oct 05, 2013, 08:40 PM
            This is article and its comments are an interesting read: http://eviltrout.com/2013/06/15/ember-vs-angular.html.

            My reading of it suggests that Ember is a lot closer in architectural philosophy to xPDO than Angular is. I also suspect migrating the current code to Ember would be easier than migrating it to Angular, since the Ember design philosophy seems a lot closer to that if ExtJS.

            I'm sure not everyone would agree.


            Thanks for the link Bob. I just got through it and spent a little more time looking at Ember. At first glance, I like how they have accounted for the notion of supporting standard HTML.
            If you are keeping your templates in HTML, create a <script> tag without a template name. Ember will use the template without a name as the application template and it will automatically be compiled and appended to the screen.
            http://emberjs.com/guides/templates/the-application-template/
            <script type="text/x-handlebars">
              <div>
                {{outlet}}
              </div>
            </script>
              jpdevries
              • 3749
              • 24,544 Posts
              I haven't spent that much time with Ember, but it looks promising. Being able to use more plain HTML in the Manager would definitely be a plus.
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting