We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17352
    • 2 Posts
    I’ve read that modx is very flexible. I’m a database oriented developer, and am not particularly interested in learning php. Can one create custom apps with modx without learning php? For example, I know this forum software isn’t written with modx; but could one create an application like SMF using modx, without a massive amount of php coding? The cms I have the most exposure to is drupal. Drupal has cck and views which give it a lot of flexibility.
      • 22303 MODX Staff
      • 10,725 Posts
      MODx is a PHP framework that allows you to maintain logic and presentation in separate layers. But in order to get the most out of MODx, you will need to make use of components (snippets, plugins, and/or modules) written in PHP, either by you, or by others that have shared their work. These script components interact with the templating elements in any way they so choose to produce their output and return it to the page. A page is just any combination of these logic and/or presentation elements; that’s what we mean by flexibility.
        • 3749
        • 24,544 Posts
        MODx provides very powerful tools for database-oriented development, but it doesn’t have any kind of comprehensive front-end for using them. Other CMS platforms that provide those tools tend to constrain the look and operation of your site. MODx puts no restraints at all on you so you can design exactly the site you want. The price you pay for that, at present, is that you have to learn some PHP.

        If you hadn’t said your primary focus was database work, I’d say that you could likely get by in MODx with little or no PHP. For DB work, though, it would be hard to avoid and MODx might not be for you, IMHO.
          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
          • 17352
          • 2 Posts
          OK, both of your replies have clarified this issue for me. Probably modx would require me to get pretty involved in php and I’m not sure I can take the time for that.

          I write custom software solutions for all kinds of clients and would love to find some cms or other web application framework that takes little coding. Any suggestions you’ve got would be interesting to hear. Drupal is capable of quite a bit but to create mostly original applications in it is not really what it’s about (as far as I can tell). rails and django are both candidates but I was hoping for an entry point that comes with more cms like features out of the box.
            • 3749
            • 24,544 Posts
            I’m don’t do a lot of custom DB work (none, in fact), but I think there’s a good chance that after you see what’s out there, you’ll be back here sooner or later. wink

            MODx 2.0 Revolution (not quite out yet) is built around XPDO, which is hard to beat for DB manipulation.

            Here’s a tutorial that might give you an idea what’s involved in customizing the MODx manager for custom DB work: http://svn.modxcms.com/docs/display/~splittingred/2008/06/25/PHP+Coding+in+MODx+Revolution%2C+Pt.+I

              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