We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7231
    • 4,205 Posts
    I was just checking out this article 25 OpenSource PHP Framework and was very surprised to see SilverStripe. And since SilverStripe made it then why not MODx?

    After checking it out I came to the conclusion that it is because SS markets their ’framework’ (not half as cool as the modx api) as a feature and even named it Saphire which makes it sound cool. It caught my attention. Maybe MODx should give the MODx API a cool name grin
      [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

      Something is happening here, but you don't know what it is.
      Do you, Mr. Jones? - [bob dylan]
      • 25483
      • 741 Posts
      The problem is that people don’t know how you can use modx is a framework. I am having the same problem, I don’t know how to use it as a framework to create my own application.
        with regards,

        Ronald Lokers
        'Front-end developer' @ h2o Media

        • 22303 MODX Staff
        • 10,725 Posts
        The problem is you can pretty much use PHP at will within MODx. That’s what has historically been considered the framework aspect, in that the code you author as snippets and plugins can access the core facilities for working with users, security, and documents. So creating any component in MODx is using it as a framework in a sense.

        Revolution will feature more of a RAD framework API that can be used both internally by components, or externally by other PHP scripts, making it more of a true application framework. It will also feature xPDO, which provides a rich layer for working with custom databases/tables; though I use xPDO even with the 0.9.x versions of MODx to create components that access custom tables. You can use just about anything you like to do the same, as long as it doesn’t hijack the MODx database connection, and the same goes for other libraries and PHP code. With a little bit of adaptation, many scripts are easily converted into MODx components.

        And if "Revolution API" is not a cool enough name to refer to the MODx 2.0 API, then we have some other code names ready that should fit the bill... wink