We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11481
    • 26 Posts
    Splittingred:

    PHP Coding with xPDO in Revolution
    I find it impossible to continue these texts, translators are unreliable, and there are no examples that can execute and verify if what I’m understanding.
    For example, perhaps using the prefix mod to call xPDO syntax within Modx Revolution (modChunk), but I can be wrong and this is just an example.

    Writing a 3rd Party Component in Revolution

    Here if there is an example:
    In this line?
    define(’MODX_BASE_PATH’, dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))) . ’/MODx 0.9.7/’);”

    MODX_BASE_PATH >> ¿www.mymodx.com///?
    (__FILE__) >> Does the new xml tables my DB?
    MODx 0.9.7 >> What Is Neither idea?

    Surely if he had understood the foregoing what would know.

    Following is a second page that adds i18n, I am not yet prepared for that.
    I know this takes a lot of work and it is not my idea discredit, I expect to be in Spanish to follow.



    I think it would be useful to me a concrete example.

    Cree 3 or 4 tables in its database with these names and these columns.
    Apply reverse engineering, writing this here:
    Add and remove these columns and data as follows:
    Cree these relationships, one to one, one to many, many to many, verify it in this way, modify, and delete:
    Cree these objects as follows:
    Cree these forms:
    Do these consultations simple and complex:
    Customize the template of the object and show it on screen as follows:
    Streamline Cache:

    To conclude with an example functional, and knowing how to modify their own personification.

    Thanks equal
      • 28215
      • 4,149 Posts
      Quote from: GuillerOnLine at Aug 25, 2008, 01:36 PM

      I find it impossible to continue these texts, translators are unreliable, and there are no examples that can execute and verify if what I’m understanding.
      For example, perhaps using the prefix mod to call xPDO syntax within Modx Revolution (modChunk), but I can be wrong and this is just an example.
      The article is pretty straightforward. It is meant for PHP coders.


      Writing a 3rd Party Component in Revolution
      Here if there is an example: In this line?
      define(’MODX_BASE_PATH’, dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))) . ’/MODx 0.9.7/’);”

      MODX_BASE_PATH >> ¿www.mymodx.com///?
      (__FILE__) >> Does the new xml tables my DB?
      MODx 0.9.7 >> What Is Neither idea?
      MODx 0.9.7 is MODx Revolution. The article was written before the name change.
      Base path is the base path of your modx install - an absolute path. __FILE__ is a PHP constant.

      Following is a second page that adds i18n, I am not yet prepared for that.
      I know this takes a lot of work and it is not my idea discredit, I expect to be in Spanish to follow.
      I’m sorry. Currently Revolution is in alpha, and we bear no responsibility to write everything in every different language at any time; much less before Beta. As we progress more toward a final stable release, I’m sure that people will translate the articles. However, please refrain from asking us to translate articles into foreign languages for free open source software not even yet in beta.

      More examples will be coming, but until then, feel free to read all the documentation, test Revolution, file bugs in JIRA, and contribute articles as well.

      I think it would be useful to me a concrete example.
      The 2nd and 3rd articles are about as concrete as you can get in an article.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 11481
        • 26 Posts
        Ok, I discover "Package Builder."
        The translators today are slower than usual, then I will comment on my progress.
          • 11481
          • 26 Posts
          Excuse the inconvenience, is that they are very basic questions

          As I am concerned that the tables loaded the visitors (probably with makeform) and based on the example of Doodles

          I want to delete the data (many) that loads a user when a user delete (one)
          Would it be a father, son? No end to understand the concept of composite.

          Should not link the user in the tables to retrieve the ranks filled by users?

          Where do I write code to create / modify relations, columns, objects?
          As far as I understand the translator, do I have to create a chunk, and run it once and then for the amendment and what I delete?

          I would like to start a thread in the forum Spanish with what you understand, but what I still very green.
            • 39291
            • 19 Posts
            Hello,

            Can somebody help me to find the modx095 xml schema attached at the end of this post?
            4. Obtain a copy of the current modx095 xml schema (attached at the end of this post), and upload it to /_model.

            I'm trying to go through this xPDO tutorial.

            Thanks
            Irène
              • 40045
              • 534 Posts
              Are you aware that this thread is 4 years old =)? xPDO is somewhat at version 2, when I'm right... http://rtfm.modx.com/display/xPDO20/Home and I'm also not sure how useful this tutorial still is (regarding to the big version changes, and also the change from Evo to Revo => This tutorial is for Evolution, when I see the Tag syntax)...you maybe check http://rtfm.modx.com/display/revolution20/Reverse+Engineer+xPDO+Classes+from+Existing+Database+Table
                • 39291
                • 19 Posts
                Quote from: exside at Feb 04, 2013, 05:24 AM
                Are you aware that this thread is 4 years old =)? xPDO is somewhat at version 2, when I'm right... http://rtfm.modx.com/display/xPDO20/Home and I'm also not sure how useful this tutorial still is (regarding to the big version changes, and also the change from Evo to Revo => This tutorial is for Evolution, when I see the Tag syntax)...you maybe check http://rtfm.modx.com/display/revolution20/Reverse+Engineer+xPDO+Classes+from+Existing+Database+Table

                You are right!
                Thank you for the links