1
 Follower
22
 Likes

[Best Practice] Separate Demo eSpaces from the Main Application on the Forge

Community Forge
Working on it
expected delivery in Q3 2018

Having the Demo example eSpace on the same application it will lead to the demo espace to be moved from one environment (QA, PRD) whenever the application is promoted. 

Removing the eSapce on DEV does not go the trick since when a new version is uploaded the eSpace will be there again.

Created on 1 Mar
Comments (6)

Agreed,

this should be better in all ways.

we like the demos, but do not like them in our environments :)


I agree with this to some extent. 

Having demo eSpaces out of the application is a good idea, but I'm not seeing people downloading two different apps/modules just to see how it works. For this, I believe that there is a simple and a complex solution.

The simple? When deploying via lifetime, do a custom deployment and check only non-demo eSpaces.

The complex? Allow an eSpace-level configuration like "Is Demo eSpace". This would mean that deployments won't consider these eSpaces as well as Service Studio would not allow these eSpaces to appear on the References pane (to be referenced, of course).

Still a good idea, though.

I agreed.

Also demo screen should not be counted in AOs.

Agreed, this is a pain.

IMO the best practice push should be:

  • If you provide a Forge Component, you also need to provide a Demo Application that shows how it is used.
  • As part of the description of the Forge Component reinforce that you should install instead the Demo Application through Service Studio (it will automatically install the Forge Component). This way the user only has to explicitly install one app (answering part of Armando Gomes' concerns.

I'd actually go further and do a slight overhaul of the Forge by simply:

  • Add a new Demo Application attribute to the info of Forge Projects, where you can specify another Forge Project.
  • Any Forge Project that is not marked as Application, Template or How-tos would be in a Pending state until the Demo Application attribute is filled (not available on the Forge for users to browse, download and/or install).
  • Any Forge Project that depends on a Pending Forge Project would also not be available on the forge for users to browse, download and/or install.
  • Redesign the Forge Project page itself to guide/reinforce that users should check/install the Demo Application instead if the Demo Application attribute is filled (or if project is not Application, Template or How-tos?).
  • Provide guidelines for developers of Component/Demo Applications to:
    • create simple, one-module applications, with no public elements (so that they don't clutter the Producers list in the Manage Dependencies like Armando Gomes' mentions).

This way we don't need to change anything in the concept of an eSpace Module, just on the Forge itself (and educating the community).

If the Demo is a different Application altogether, I wouldn't be too concerned with AOs, as IIRC they are not enforced on the Development environment 

Changed the status to
Working on it
expected delivery in Q3 2018


Hi Pedro and Followers, 

During this and next quarter, we will work hard to grow the forge into a marketplace of high-quality components.

We will:

  • Review supported components based on usage and criticality
  • Provide an additional trusted level, for open-source components curated by OutSystems
  • Clean low-quality components from the forge, either improving or dropping

So I have set the status to “Working on it”. We expect it to be ready during Q3. I’ll post an update once it’s done!

Cheers 

Ana Sequeira

I know this is already being worked on but an alternative way to do this is to allow an espace to be flagged as do not move or migrate past a certain environment. Often we create demo and test espaces which would be nice to keep together in the correct application but have the publish between environments ignore the espace if the flag is set. Extra points if the flag could be set so that publishing worked between environments flagged as development but not production.

views
409
Followers
1