We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27226
    • 186 Posts
    Quote from: PaulGregory at Nov 08, 2006, 08:21 AM

    Probably.
    Since PaulGregory refuses to play his usual role to be the sceptical, someone had to jump in:
    I argue that this majestic plan results in re-inventing the OO-concept for web-applications, or even the way PHP works. (I prefer to talk about "applications" than "sites", because I think that’s where "the music will play" - as we say in German ;-) )
    And the plan is great - but I would estimate that it will require far more than 1000 days of work- and it will - like all projects of that scale - suffer some "infancy-illnesses" and, as such, could be far too big to handle for an opensource project of the category that MODx actually belongs to.

    In detail I would be interested in a comparision of Tattoo with similar "architectional" efforts like RubyOnRails and how well it does fit to the current activities of the PHP-dev community.
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: silent at Nov 08, 2006, 09:59 AM

      Since PaulGregory refuses to play his usual role to be the sceptical, someone had to jump in:
      I argue that this majestic plan results in re-inventing the OO-concept for web-applications, or even the way PHP works. (I prefer to talk about "applications" than "sites", because I think that’s where "the music will play" - as we say in German ;-) )
      Maybe Paul is beginning to see my vision in a little more detail. tongue

      And you can argue that I’m re-inventing wheels all you want, but it is about reinventing one thing only: MODx. It was simply my goal to reduce code redundancy, apply some common sense OO design patterns that make extending it easier and hacking the core unnecessary at all, and to identify the patterns the MODx engine was using to accomplish it’s work and optimize those into consistent behavioral models. If I happened to create a few new wheel designs along the way, so be it...the proof is in the results.

      Quote from: silent at Nov 08, 2006, 09:59 AM

      And the plan is great - but I would estimate that it will require far more than 1000 days of work- and it will - like all projects of that scale - suffer some "infancy-illnesses" and, as such, could be far too big to handle for an opensource project of the category that MODx actually belongs to.

      In detail I would be interested in a comparision of Tattoo with similar "architectional" efforts like RubyOnRails and how well it does fit to the current activities of the PHP-dev community.
      It’s taken about a year, but I’ve rewritten the core three times, once using Propel, the second time using xPDO after I invented it, and most recently to create the stepping stone release between the current MODx and the significant data structure changes of the 1.0 (a.k.a. Tattoo) model. All are based on my research into a variety of PHP frameworks that are claiming to be like RoR or other prominent open source Java projects like Apache Struts or Apache Turbine, etc. And as you might expect, they are all hung up in the paradigm shift from run-time to build-time configuration, which is a significant attribute of RoR and the current Java landscape, and one I don’t necessarily agree fits in the PHP world, despite the best efforts to turn PHP into Java. Build-time configuration is fine for developers, but as a web site/application life-cycle management application, MODx should enable RAD (Rapid Application Development) without the mess of dealing with command-line build scripts.

      Anyway, I’m writing a blog post on the subjects of "PHP, MVC, O/R mapping, and MODx"; look for a lot more discussion of these topics soon in that. I have a lot of opinions on these architectural issues and am also confident that I have a model that is unique and compelling for the realities of the current PHP landscape.

      And BTW, I’m already running several sites on an alpha version of 0.9.7 (new xPDO-powered core + legacy manager), so once 0.9.5 is released, I’ll be preparing the team to start working with the new core and getting the manager converted. And while we’re on the subject, if you are interested in actively contributing to the development work on the new core in any capacity, please don’t hesitate to drop me a PM.
        • 36541
        • 222 Posts
        Quote from: OpenGeek at Nov 07, 2006, 03:28 PM

        Manager pages can be built in the same way as the front-end.

        Does this mean that it will be possible to build different manager profiles (I mean different contents and presentation) for specific solutions and user groups? I think about a separate manager for editors, and a different one for help desk staff, for example.

        Quote from: OpenGeek at Nov 08, 2006, 11:01 AM

        once 0.9.5 is released, I’ll be preparing the team to start working with the new core and getting the manager converted.

        Will new manager themes (as they are called now) include the content/structure templates? In 0.9.5 the core files from /manager/frames and /manager/includes have to be modified to change the markup. It would be better and safer to be able to leave the core files intact and override them with a structure/markup template.
          This is the web: the only thing you know about who will come is that you don't know who will come.
          • 27226
          • 186 Posts
          Quote from: grad at Nov 09, 2006, 02:06 AM

          Does this mean that it will be possible to build different manager profiles (I mean different contents and presentation) for specific solutions and user groups? I think about a separate manager for editors, and a different one for help desk staff, for example.
          I’ve understood it in this way. Basically, the difference between "front-" and "backend" will turn out to be more and more superfluous. This will become more a kind of "more-or-less" than "either-or".
            • 22303 MODX Staff
            • 10,725 Posts
            Quote from: grad at Nov 09, 2006, 02:06 AM

            Quote from: OpenGeek at Nov 07, 2006, 03:28 PM

            Manager pages can be built in the same way as the front-end.

            Does this mean that it will be possible to build different manager profiles (I mean different contents and presentation) for specific solutions and user groups? I think about a separate manager for editors, and a different one for help desk staff, for example.
            Absolutely, almost complete customization of the manager will be possible, though some things are sacred, and the distributed management interface will still be file-based, and not editable by itself... :/ that would be just a little wierd...

            Quote from: OpenGeek at Nov 08, 2006, 11:01 AM

            once 0.9.5 is released, I’ll be preparing the team to start working with the new core and getting the manager converted.

            Will new manager themes (as they are called now) include the content/structure templates? In 0.9.5 the core files from /manager/frames and /manager/includes have to be modified to change the markup. It would be better and safer to be able to leave the core files intact and override them with a structure/markup template.
            Right; we haven’t decided on the final architecture or file structure for the manager, but I think our goals are in line, because we definitely want to make it so you can override and not have to hack the core files at each upgrade.
              • 36541
              • 222 Posts
              Quote from: OpenGeek at Nov 10, 2006, 10:15 PM

              Right; we haven’t decided on the final architecture or file structure for the manager, but I think our goals are in line, because we definitely want to make it so you can override and not have to hack the core files at each upgrade.

              That would impose the use of file-based templates, which IMO is better that using chunks from database. Using file templates has many advantages:

              - they are easy to create and modify (after all they are plain text),
              - they can be edited with external editors, which itself is an advantage,
              - they are easily portable and backupable - zip, move, unzip is all that has to be done,
              - they may be tied to the source versioning system e.g. Subversion.

              Using file templates for manager structure would rather require developing some system of including parts of the interface (in other CMS called usually blocks).

              On the other hand, developing them will result in two parallel ways to building documents - one based on file templates for manager, and the second one based on database for front-end documents. Having in mind, that the future MODx architecture will be the same for front-end and manager, a question arise - switch to file based templates, stick to database-based templates, or support both (probably by import/export mechanism).

              IMO using file templates, which override the default core files has advantages over database-based templates. One interesting example of this concept is Xaraya framework, although IMO it is over-complicated. BTW, Xaraya developers have some interesting ideas concerning the rendering system, which MODx team might want to consider. For MODx, I think, it would suffice to copy the current system and port templates, chunks, snippets and TVs to files; then put them in the ’theme’ folder.

              Another way, might be using import/export module. I remember, when working with Textpattern I was using a module to export database templates to files, then edit them in a standard way (programmer’s editor), and import them with changes to the database. This worked very well and I really lack the possibility to use the workflow I am used to (text editor and SVN).

              Well, why not write an export/import module for MODx? Although I’m not a professional programmer, I think I’ll take a look at it. I shouldn’t be that difficult.
                This is the web: the only thing you know about who will come is that you don't know who will come.
                • 25663 MODX Staff
                • 12,272 Posts
                With 1.0, you’ll likely be able to have templates reside in a variety of locations, including possibly even being sourced from a web services request. So filesystem and DB are a given and have been planned for a long time. smiley
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Quote from: grad at Nov 11, 2006, 06:20 AM

                  That would impose the use of file-based templates, which IMO is better that using chunks from database. Using file templates has many advantages:

                  - they are easy to create and modify (after all they are plain text),
                  - they can be edited with external editors, which itself is an advantage,
                  - they are easily portable and backupable - zip, move, unzip is all that has to be done,
                  - they may be tied to the source versioning system e.g. Subversion.
                  No, it wouldn’t impose anything. It would just be offering options and additional flexibility in how you organize your code and markup and such. We will have native versioning, rollbacks, and archiving, separate from SVN type functionality, and accessing database managed content does not exclude it from being treated like content from a file system; FTP, WebDAV, and other protocol access to MODx managed content, regardless if it’s stored physically in a db or on the file system or on Amazon S3, is the direction I’m envisioning.
                    • 36541
                    • 222 Posts
                    Quote from: OpenGeek at Nov 11, 2006, 11:49 AM

                    No, it wouldn’t impose anything.  It would just be offering options and additional flexibility in how you organize your code and markup and such.  We will have native versioning, rollbacks, and archiving, separate from SVN type functionality, and accessing database managed content does not exclude it from being treated like content from a file system; FTP, WebDAV, and other protocol access to MODx managed content, regardless if it’s stored physically in a db or on the file system or on Amazon S3, is the direction I’m envisioning.

                    Flexibility is the MODx topmost concern; and that’s just great! To allow everyone work his best way, incredible.

                    MODx, flexible uber alles wink
                      This is the web: the only thing you know about who will come is that you don't know who will come.
                      • 4753
                      • 31 Posts
                      I’ve only read the initial post in this threat... what i think is: this user needs a BLOG-system not a CMS.

                      as i realize web project’s with different technologies, i think that other features are much more needed!
                      and in my opinion we need a second tree: one for the documents and another only for the front-end-navigation! in this way the re-use of documents is much easier possible than in other ways

                      why re-use of documents: in one of my projects for the students union we have news, top-news, calendar and some other information areas.
                      now, i have to create a document with content to publish it in the calendar. to use the same information in the news i have to create another document with the needed informations. and if i change something i have to do this twice (OK, i use a snippet to re-use content but somebody why doesn’t knows anything about HTML/PHP can’t use it in an easy way. so i need something like the weblink with a little difference. the weblink would tell the front-controller "I’ve found another site so I’ll go there". what i want is a type of weblink where the front-controller would say "oh, I’ve found another site so I’ll use the content and everything that’s not defined by this document to present the site at the actual navigation section with the given name". you know what i mean ;-) it’s a littel bit different to tell what i mean but i know typo3 and opencms can work in this way but both are to big, not flexible enough and end-user unfriendly.

                      so what i want is a CMS with possibilities to create new functions and a user-backend where non programmes can work with, not a BLOG-System! etomite was one, modx is the better one an i hope modx will stay the better one!