Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Workspaces Forum
  4. Attaching workspace to article

Attaching workspace to article

Scheduled Pinned Locked Moved Workspaces Forum
questionworkspace
13 Posts 2 Posters 67 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Kamil Burzynski

    At this moment the bindings between articles and workspaces are done automatically, and are not yet configurable. In the future we plan to make this part more flexible to allow e.g. connecting multiple workspaces to article, or multiple articles to a single workspace.

    R Offline
    R Offline
    ravenspoint
    wrote on last edited by
    #3

    "the bindings between articles and workspaces are done automatically" Well, then there seems to be a bug in this process, because I have an article which describes the code in a workspace, and they have not become connected. The workspace is here: https://workspaces.codeproject.com/ravenspoint/simple-dxf-readerviewer-with-spline-support[^] The article is here: Simple DXF Reader/Viewer with Spline Support[^] Do I have to do something special to register this bug?

    K 1 Reply Last reply
    0
    • R ravenspoint

      "the bindings between articles and workspaces are done automatically" Well, then there seems to be a bug in this process, because I have an article which describes the code in a workspace, and they have not become connected. The workspace is here: https://workspaces.codeproject.com/ravenspoint/simple-dxf-readerviewer-with-spline-support[^] The article is here: Simple DXF Reader/Viewer with Spline Support[^] Do I have to do something special to register this bug?

      K Offline
      K Offline
      Kamil Burzynski
      wrote on last edited by
      #4

      Well, what exactly do you expect? I see things are working as I described. The original article[^] has its workspace[^], and your tip[^] got its own workspace[^] as well. As I mentioned earlier, currently if you manually make a fork of an article, you cannot bind it with any articles (yet).

      R 1 Reply Last reply
      0
      • K Kamil Burzynski

        Well, what exactly do you expect? I see things are working as I described. The original article[^] has its workspace[^], and your tip[^] got its own workspace[^] as well. As I mentioned earlier, currently if you manually make a fork of an article, you cannot bind it with any articles (yet).

        R Offline
        R Offline
        ravenspoint
        wrote on last edited by
        #5

        " if you manually make a fork of an article, you cannot bind it with any articles" Actually, you did NOT say that. You said: "the bindings between articles and workspaces are done automatically" Please explain the correct procedure so that I can bind my workspace to my article. Is the problem something to do with the fork? Should I start a new workspace?

        K 1 Reply Last reply
        0
        • R ravenspoint

          " if you manually make a fork of an article, you cannot bind it with any articles" Actually, you did NOT say that. You said: "the bindings between articles and workspaces are done automatically" Please explain the correct procedure so that I can bind my workspace to my article. Is the problem something to do with the fork? Should I start a new workspace?

          K Offline
          K Offline
          Kamil Burzynski
          wrote on last edited by
          #6

          Current behavior of the system is very simple: each time an article is created, workspace is created for it as well, and they are bound together. I.e. writes to workspace should be reflected on article page and vice versa. That's it. Any other workspaces, whose creation was not triggered by creation of an article, will remain not attached to any article.

          R 1 Reply Last reply
          0
          • K Kamil Burzynski

            Current behavior of the system is very simple: each time an article is created, workspace is created for it as well, and they are bound together. I.e. writes to workspace should be reflected on article page and vice versa. That's it. Any other workspaces, whose creation was not triggered by creation of an article, will remain not attached to any article.

            R Offline
            R Offline
            ravenspoint
            wrote on last edited by
            #7

            I think I am beginning to understand! The only way to create an article/workspace pair that are connected together is to create the article FIRST. An empty workspace will be created, paired with the new article. Later on, I can add code to the workspace. Is this correct? Have I finally understood this? Comment: This seems backwards to me. Surely the natural way of proceeding would be to write the code first. Once the code is working and tested, then a person might think to write an article describing it. I cannot really imagine a situation where I would write an article before writing the code. The article might, I suppose, be a requirements document and a test plan, but that would be about all - not very interesting. And, of course, the enormous resource available of existing workspaces becaomse significantly less useful if we cannot fork them. Finally: I think you need to document this behavior somewhere prominent, since it is so counter-intuitive

            K 1 Reply Last reply
            0
            • R ravenspoint

              I think I am beginning to understand! The only way to create an article/workspace pair that are connected together is to create the article FIRST. An empty workspace will be created, paired with the new article. Later on, I can add code to the workspace. Is this correct? Have I finally understood this? Comment: This seems backwards to me. Surely the natural way of proceeding would be to write the code first. Once the code is working and tested, then a person might think to write an article describing it. I cannot really imagine a situation where I would write an article before writing the code. The article might, I suppose, be a requirements document and a test plan, but that would be about all - not very interesting. And, of course, the enormous resource available of existing workspaces becaomse significantly less useful if we cannot fork them. Finally: I think you need to document this behavior somewhere prominent, since it is so counter-intuitive

              K Offline
              K Offline
              Kamil Burzynski
              wrote on last edited by
              #8

              Yes, you understood it correctly. Yes, there is a room for improvement ;)

              R 1 Reply Last reply
              0
              • K Kamil Burzynski

                Yes, you understood it correctly. Yes, there is a room for improvement ;)

                R Offline
                R Offline
                ravenspoint
                wrote on last edited by
                #9

                OK, I tried doing it your way. I have created a new article: http://www.codeproject.com/script/Articles/ArticleVersion.aspx?waid=129995&aid=787134[^] Where is the workspace?

                K 1 Reply Last reply
                0
                • R ravenspoint

                  OK, I tried doing it your way. I have created a new article: http://www.codeproject.com/script/Articles/ArticleVersion.aspx?waid=129995&aid=787134[^] Where is the workspace?

                  K Offline
                  K Offline
                  Kamil Burzynski
                  wrote on last edited by
                  #10

                  I see that the workspace was not created yet, probably due to the fact that article is still in its draft state. Since Chris is covering the article part of our ecosystem, I'll check with him to see in which moment the workspace is currently created. Most likely we'll adjust the software to create workspace earlier.

                  R 1 Reply Last reply
                  0
                  • K Kamil Burzynski

                    I see that the workspace was not created yet, probably due to the fact that article is still in its draft state. Since Chris is covering the article part of our ecosystem, I'll check with him to see in which moment the workspace is currently created. Most likely we'll adjust the software to create workspace earlier.

                    R Offline
                    R Offline
                    ravenspoint
                    wrote on last edited by
                    #11

                    I would appreciate it if you could add the following two use-cases to your design document. 1. A coder creates a workspace ( currently supported ); adds some code to it ( currently supported ); writes an article about the code ( NOT SUPPORTED! ) 2. A coder forks an existing workspace ( currently supported ); adds some code to it ( currently supported ); writes an article about the changed code ( NOT SUPPORTED! ) I would also be curious as to what use-cases you do support. The above two seem to me to be the most obvious from where I sit. You seem to have just the following 3. An old article exists with some code in a zip; a workspace is automagically created containing the zipped code and linked to the existing article; the coder can check in changes to the workspace This ( uses-case #3 ) is a very nice feature, but not the first I would have implemented myself. Surely everybody is most interested in creating new content rather than fiddling around with old articles. Or is that just me?

                    K 1 Reply Last reply
                    0
                    • R ravenspoint

                      I would appreciate it if you could add the following two use-cases to your design document. 1. A coder creates a workspace ( currently supported ); adds some code to it ( currently supported ); writes an article about the code ( NOT SUPPORTED! ) 2. A coder forks an existing workspace ( currently supported ); adds some code to it ( currently supported ); writes an article about the changed code ( NOT SUPPORTED! ) I would also be curious as to what use-cases you do support. The above two seem to me to be the most obvious from where I sit. You seem to have just the following 3. An old article exists with some code in a zip; a workspace is automagically created containing the zipped code and linked to the existing article; the coder can check in changes to the workspace This ( uses-case #3 ) is a very nice feature, but not the first I would have implemented myself. Surely everybody is most interested in creating new content rather than fiddling around with old articles. Or is that just me?

                      K Offline
                      K Offline
                      Kamil Burzynski
                      wrote on last edited by
                      #12

                      Thanks for outlining the use cases. Indeed, the items which we have on our todo lists are covering them. The properly understand the reason why the current system works like it does requires to realize that we are actually extending decade-old article engine with the new features, namely workspaces. We had done first step - created workspace for each existing article, which in turn resulted in a workspace for each new article as well. Further steps, to make this more flexible, are in planning stages.

                      R 1 Reply Last reply
                      0
                      • K Kamil Burzynski

                        Thanks for outlining the use cases. Indeed, the items which we have on our todo lists are covering them. The properly understand the reason why the current system works like it does requires to realize that we are actually extending decade-old article engine with the new features, namely workspaces. We had done first step - created workspace for each existing article, which in turn resulted in a workspace for each new article as well. Further steps, to make this more flexible, are in planning stages.

                        R Offline
                        R Offline
                        ravenspoint
                        wrote on last edited by
                        #13

                        It is sometimes better to do the planning before taking the first step.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups