We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4673
    • 577 Posts
    hooks +1

    ugh, it’s 3:47am over here and swear that I saw honkers in that list laugh grin ugh,, I’m going to bed!


    Cheers and good morning to those that are just waking up!
      Tangent-Warrior smiley
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: xwisdom at Aug 22, 2005, 01:36 PM

      Quote from: rthrash at Aug 22, 2005, 12:55 PM

      What if the modules could be tied to events? According to Raymond the only difference is a minor table structure...

      ...and functionality - lol

      Some people use plugins and modules interchangeably so the name is what I think is causing the problem. As Jason suggest we should perhaps change the name. If not then we can consider merging the two but this might lead to an inefficient structure.

      Here are some other names to consider replacing plugins with:

      * Hooks
      * Triggers
      * Handles
      * Event handler
      * Extenders




      How about Actions? I say this, because Triggers is good, but better describes a condition or event that causes the Plugin (aka Action) to be triggered.

      Then we can add things later such as Rules/Conditions that can also trigger actions, like our parser events do?
        • 32963
        • 1,732 Posts
        How about "Event Listeners"
          xWisdom
          www.xwisdomhtml.com
          The fear of the Lord is the beginning of wisdom:
          MODx Co-Founder - Create and do more with less.
          • 34162
          • 1 Posts
          Before we decide on how to name them I would like to point out something to consider.

          Is plugin excluively done in the core and enhanced by Modx dev team?
          Is module exclusively done by the Modx dev team or can be written by 3rd party?

          So if plugin and module can be extend by 3rd party then should we consider making a distintion between that with a lack of better words I will call it internal_plgins and internal_modules and repectively users_plugins and users_modules or should we consider just call them internal_addons and users_addons.

          Just a thought!
            • 22303 MODX Staff
            • 10,725 Posts
            Chanh, they are actually all just plugins and modules; some may get installed by default, but there is no distinction between internal and user-defined implementations.
              • 32963
              • 1,732 Posts

              I can’t think of anything better than Plugins. I think "plugin" is a suitable for name for this type of resource. If any name changing should take place then it should be done for modules.

              Maybe we can change modules to:

              Apps
              Programs
              Applications
              WebApp


                xWisdom
                www.xwisdomhtml.com
                The fear of the Lord is the beginning of wisdom:
                MODx Co-Founder - Create and do more with less.
                • 34162
                • 1 Posts
                Quote from: rthrash at Aug 21, 2005, 10:14 PM

                OK... so I’m going to toss another one in the ring that isn’t totally clear cut and very similar to snippets/chunks. Sorry to repeatedly bang on trying to make the system come across as simpler, but still allowing developers to see that it has a lot of depth.

                Why don’t we stop trying to figure out how to explain the subtle and pretty murky differences between plugins and modules and just merge the two into moduels. Modules would then be defined as extending the core functionality and can be as simple as a simple plugin-type application wiht no interface to as complex as a full blown application running inside the manager itself. This would then give us what I think we’ve reached consensus on as our "Tattoo Lexicon":

                Tattoo 101
                Manager or Control Panel
                Where you control content and configuration of the entire software install.

                Templates
                The centerpiece of MODx around which most things associated with pages revolve. The central gatekeeper almost with the exception of special applications.
                There needs to be a simple and direct way for people to quickly create different types of content, like a shopping cart products page, a blog, etc. Do we need sub-templates, or content templates, or content settings?

                Content
                What end users interact with in Tattoo/MODx, typically a web page. This can also be a CSS file, a javascript include, downloadable document, etc.

                [*Content Fields*]
                You can have as few or as many content fields associated with a page in Tattoo/MODx as you’d like. They can be simple text fields, WYSIWYG text editors for complex data entry, pop-up lists, radio button options, etc. [*Content*] is automatically defined for every page that is created in Tattoo/MODx.

                Intermediate Tattoo
                [[Snippets]]
                Blocks of text, HTML or code that may contain application logic, that are typically reused multiple times in a site. For example, a Snippet can be the static footer on a website, or a dynamic block of code that generates the site navigation menu as pages are added, moved or removed.

                Widgets
                Small Tattoo/MODx API extensions/behaviors that take a piece of text or data and transforms it into (typically) more complex elements with dynamic interaction. For example, Rich Text Editors, pop-up list input boxes, display grids and more.
                It might be really cool to use a way to define Widget behavior, and the recently introduced Front End Editing, with a modifier on content fields. That way they could even be chained. For example: [*content:editalbe,datagrid*]

                Tattoo Grad School
                [+Placeholders+]
                Undefined system resources that are generated on the fly by code to represent various pieces of data. Need an easy to understand example here.

                Modules
                Alter or extend the way the core system behaves across the board. Can be as simple as a single file performing a very spefic override to a manager API call (with no interface) or as complex as a full-blown application integration with an integrated management interface.

                Ryan and everyone,

                This is such a nice list of terms that help to clarify and understand Modx.

                When can we start using this term and fade out the old term which is really confusing to understand?

                Thanks
                  • 32963
                  • 1,732 Posts
                  Quote from: chanh at Aug 23, 2005, 12:01 PM

                  When can we start using this term and fade out the old term which is really confusing to understand?

                  Hi Chanh,

                  Such terms will be available in TP4
                    xWisdom
                    www.xwisdomhtml.com
                    The fear of the Lord is the beginning of wisdom:
                    MODx Co-Founder - Create and do more with less.
                    • 1764
                    • 680 Posts
                    Quote from: rthrash at Aug 21, 2005, 10:14 PM


                    [[Snippets]]
                    Blocks of text, HTML or code that may contain application logic, that are typically reused multiple times in a site. For example, a Snippet can be the static footer on a website, or a dynamic block of code that generates the site navigation menu as pages are added, moved or removed.


                    I was never completely satisfied with keeping the name snippets. I just never really liked the name much.

                    So I had a thought, what about calling them Includes?

                    I mean that’s what they really are right? You’re including code into a document or a template, whether it be PHP, HTML or anythnig else. When you think about it really just shorthand for <?php include(’filename.php’); ?> except that you’re getting it out of a database instead of a filesystem. Plus I think that developers will instantly know exactly what they are and it shoud still make perfect sense to a non-programmer.
                      • 32963
                      • 1,732 Posts
                      Here are some other names:

                      [[Blocks]]
                      [[BuildingBlocks]]
                      [[DynamicParts]]
                      [[DynamicBlock]]


                      Just some other names smiley
                        xWisdom
                        www.xwisdomhtml.com
                        The fear of the Lord is the beginning of wisdom:
                        MODx Co-Founder - Create and do more with less.