Details

      Description

      While developing extensions to Share, there is a few things in the way of having a perfect setup.

      With the upcoming Alfresco SDK 2.0 release, we've shown (https://www.youtube.com/watch?v=Tu641nRGbtQ) that we have a very cool setup that allows rapid development for Alfresco.

      Share is getting there, it's good, but it could be so much better.

      The main thing right now is the dependency cache, which blocks editing CSS/i18N files. It works in some cases with development mode and client-debug, but it has not been reliable. Being able to configure Share to disable the dependency cache (or at least have it re-generate on every request) would improve the developer experience.

      Another thing that we may be able to improve is working with forms. You can change a ton of stuff in share-config-custom.xml and if you do a refresh web scripts it will actually reload it (handy when doing forms). This must somehow be tied into a cache? Can it be reloaded on each request?

      I'd say the share-config-custom.xml is a nice-to-have, but the dependency cache stuff needs to happen

        Attachments

          Activity

          Hide
          ddraper David Draper added a comment -

          Ole Hejlskov This should now be on the main SVN trunk.

          Show
          ddraper David Draper added a comment - Ole Hejlskov This should now be on the main SVN trunk.
          Hide
          gcolumbro Gabriele Columbro [X] (Inactive) added a comment - - edited

          I have integrated this new parameter in the SDK 2.0.0 final build and we have some success (i.e. JS are actually reloaded without cache explicit clearing) but as per https://github.com/Alfresco/alfresco-sdk/issues/248#issuecomment-67860663 i18n and CSS are still not reloaded and require a

          POST to /share/page/caches/dependency/clear

          before they are actually reloaded. Reopening the issue for further review.

          Ole Hejlskov feel free to share more details here.

          Show
          gcolumbro Gabriele Columbro [X] (Inactive) added a comment - - edited I have integrated this new parameter in the SDK 2.0.0 final build and we have some success (i.e. JS are actually reloaded without cache explicit clearing) but as per https://github.com/Alfresco/alfresco-sdk/issues/248#issuecomment-67860663 i18n and CSS are still not reloaded and require a POST to /share/page/caches/dependency/clear before they are actually reloaded. Reopening the issue for further review. Ole Hejlskov feel free to share more details here.
          Hide
          oleh Ole Hejlskov added a comment -

          I have reported my findings in separate issues:
          ALF-21242
          ALF-21243
          ALF-21244
          ALF-21245

          Show
          oleh Ole Hejlskov added a comment - I have reported my findings in separate issues: ALF-21242 ALF-21243 ALF-21244 ALF-21245
          Hide
          adavis Alan Davis added a comment - - edited

          Clearing the fixVersion as 5.0 has already been tested and released.

          Show
          adavis Alan Davis added a comment - - edited Clearing the fixVersion as 5.0 has already been tested and released.
          Hide
          kroast Kevin Roast added a comment -

          FYI https://issues.alfresco.com/jira/browse/DEVPLAT-29 has been implemented on Share 5.1-SNAPSHOT

          Show
          kroast Kevin Roast added a comment - FYI https://issues.alfresco.com/jira/browse/DEVPLAT-29 has been implemented on Share 5.1-SNAPSHOT

            People

            • Assignee:
              ddraper David Draper
              Reporter:
              oleh Ole Hejlskov
            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated: