Skip to content

Add ADR to declare distinction between 'cms' and 'studio' (and change STUDIO_CFG to CMS_CFG) - #29534

Merged
kdmccormick merged 3 commits into
masterfrom
kdmccormick/cms-vs-studio-adr
Jan 4, 2022
Merged

kdmccormick merged 3 commits into
masterfrom
kdmccormick/cms-vs-studio-adr

Conversation

@kdmccormick

@kdmccormick kdmccormick commented Dec 8, 2021 •

Copy link
Copy Markdown
Member

Reviewers, please see the included ADR.

For what it's worth, I do not feel strongly whether the Web service is called "CMS" or "Studio", but I do feel strongly that we ought to choose one and stick with it. If the consensus is "Studio", I'll switch the ADR to that. I plan on leaving this open for comments through the end of the week and then making a decision on Monday 12/13.

(This was spurred by my work on https://github.com/edx/devstack/pull/866, in which I couldn't decide whether to call something CMS_IMAGE or STUDIO_IMAGE)

Update 2022-01-04: I've settled on the decision described in this ADR ("CMS"). I'm now just looking for review on the ADR's wording.

@kdmccormick
kdmccormick force-pushed the kdmccormick/cms-vs-studio-adr branch from 0b599bc to c6319f6 Compare December 8, 2021 16:43
@kdmccormick
kdmccormick marked this pull request as ready for review December 8, 2021 17:05
@kdmccormick kdmccormick changed the title add ADR to declare distinction between 'cms' and 'studio'; change STUDIO_CFG to CMS_CFG Add ADR to declare distinction between 'cms' and 'studio'. Change STUDIO_CFG to CMS_CFG. Dec 8, 2021
@kdmccormick kdmccormick changed the title Add ADR to declare distinction between 'cms' and 'studio'. Change STUDIO_CFG to CMS_CFG. Add ADR to declare distinction between 'cms' and 'studio' (and change STUDIO_CFG to CMS_CFG) Dec 8, 2021
@ormsbee

ormsbee commented Dec 8, 2021

Copy link
Copy Markdown
Contributor

In case the extra context helps:

We originally called it "CMS" because that seemed the logical content-authoring counterpart for "LMS". Later on, this became confusing both because we had chosen the name Studio for the user facing product, and because we had another CMS in the form of Drupal–i.e. CMS being used to mean a content management system for the marketing site, like Contentful is for edX today. This prompted an effort to rename all the CMS things to be Studio, which we never properly followed through on.

My $0.02 on this is that we should use "Studio" wherever we can, and provide aliases so that people can start using "studio" anywhere they use "cms" today. I don't think differentiation between service and site is worthwhile at the moment (both LMS and Studio run API services). And it's not at all clear what "CMS" means to newcomers.

That being said, I'm not planning to try to push this particular rock up the hill anytime soon, and I'll gladly defer to those who are. Please take this as a peanut gallery comment. 😛

@kdmccormick
kdmccormick force-pushed the kdmccormick/cms-vs-studio-adr branch 2 times, most recently from 63263d7 to df36a73 Compare December 8, 2021 21:05
@sarina

sarina commented Dec 8, 2021 •

Copy link
Copy Markdown
Contributor

Strong vote for Studio over CMS. In some ways both terms aren't very approachable for newcomers, but I will say that I always say Studio and grep for Studio when I'm trying to do things. I also think that once people have run the software once, "Studio" is clearly the name of the CMS and stands out, whereas there isn't a clear name for the LMS.

Despite the strong vote I will not block if the consensus is to go with "CMS", like Dave I don't feel inclined to push a rock up a hill!

@davidjoy

davidjoy commented Dec 8, 2021 •

Copy link
Copy Markdown
Contributor

I recall finding "CMS" very confusing early on, as many in the community also want to employ CMSes like Contentful to power their catalogs. I remember back at the 2019 conference, it took me quite some time to figure out that folks weren't talking about studio (see, I'm using "studio" to disambiguate even here!) but about wanting to use some other third-party CMS for driving their marketing-style sites. Take that for what it is.

That said, is CMS a learning industry standard for this piece of course authoring software? If we want to keep it and insist it stands for "course management system" and not "content management system" then that seems like a fine line to walk, and even vaguely clever naming.

Studio is a much less ambiguous name, all told, though, though it does feel a bit like a product name moreso than an identifier, so I'm sympathetic to @kdmccormick's distinction. I was surprised we didn't use the term for frontend-app-course-authoring, i.e., frontend-app-studio. 🤔 I worry that by trying to draw this distinction between CMS and Studio, though, that we haven't quite solved the problem, since it's still sort of subtle.

I'm not sure I've helped here.

I could get behind keeping things CMS so long as we can plausibly claim it’s an industry-standard name for that sort of service. If we insist the “C” is for “course” and not “content”, then that seems like a good start.

“Studio” is one of those names that someone might want to re-brand to be “Open edX One” or “Open edX Designer” or something fancy like that, in which case if we’d be up an even weirder creek if we doubled down on it in the codebase.

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests. There were no failures.

@kdmccormick

Copy link
Copy Markdown
Member Author

Thanks for the comments so far folks! Consensus seems to be leaning "Studio"; if it's still that way on Monday then I'll revise the ADR to reflect that and put it up again for another round of review.

@kdmccormick

Copy link
Copy Markdown
Member Author

@davidjoy

(see, I'm using "studio" to disambiguate even here!)

hah, good point!

That said, is CMS a learning industry standard for this piece of course authoring software? If we want to keep it and insist it stands for "course management system" and not "content management system" then that seems like a fine line to walk, and even vaguely clever naming.

I don't think "Course Management System" is standard, and I think it'd run counter to our effort to generalize the platform away from "courses containing course content" and towards "learning contexts containing learning content".

“Studio” is one of those names that someone might want to re-brand to be “Open edX One” or “Open edX Designer” or something fancy like that, in which case if we’d be up an even weirder creek if we doubled down on it in the codebase.

Yeah, that's partially why I initially leaned CMS. If product isn't using the term, then they can't change it!

I also vaguely recall @marcotuts hinting that it might make sense to fold Publisher into the Studio umbrella one day; ie, make catalog management a concern of the Studio product, even though the catalog is backed by the Discovery service. In this scenario, it'd be nice to say "Studio is backed by CMS and Discovery" instead of "Studio is backed by Studio and Discovery". But, this is probably too hypothetical to make a convincing argument for CMS on its own.

@robrap

robrap commented Dec 9, 2021

Copy link
Copy Markdown
Contributor

Some thoughts:

  1. Everyone seems to be implicitly rejecting (as am I) the alternative of a better name that may be independent of Studio, and more clear than "CMS". Maybe the ADR should acknowledge this rejected alternative? Also, if we ever really split Studio/CMS (heh) into a truly separate service, might we want to reconsider? Note: I am rejecting this idea mainly for practical reasons, which is also why I would reject "Studio". If you really end up deciding to do lots of renaming, then maybe there is a better name?
  2. The current ADR as written, settling on "CMS", seems like a much simpler way to get to some level of internal consistency. I would have voted in this direction for this reason.
  3. Deciding to use "Studio" has large implications, which is what has kept it from happening in the past. If you end up leaning in this direction, I don't think that decision should be taken lightly. In other words, if you decide on "CMS" for internal consistency, I don't think that is a big deal. If you wish to decide on "Studio", I think this decision should pend larger discovery on what that really entails. Also, I imagine that it will be very difficult to get 100% compliance, which means still explaining yourself, but hopefully in fewer or less important places? In any case, whether via OEP or some other new process needed for the current state of Open edX, I think more is needed process-wise if this is the decision you wish to make.

@kdmccormick

Copy link
Copy Markdown
Member Author

@robrap

Everyone seems to be implicitly rejecting (as am I) the alternative of a better name that may be independent of Studio, and more clear than "CMS". Maybe the ADR should acknowledge this rejected alternative?

Good catch -- you are right that we're implicitly rejecting it. As much as I personally would love to rename it backend-app-authoring, I am avoiding this suggestion because I think it would pull us away from consistency even if everyone liked the new name, which isn't guaranteed. Since increasing consistency is my primary goal here, I'm not entertaining that option. I'll update the ADR with this reasoning.

Also, if we ever really split Studio/CMS (heh) into a truly separate service, might we want to reconsider?

Yes -- when we split Studio/CMS out, we'll have a chance to revisit the decision or even pick a new name. But I do think that whatever wins here would have an advantage in that naming debate by way of inertia.

The current ADR as written, settling on "CMS", seems like a much simpler way to get to some level of internal consistency. I would have voted in this direction for this reason.

Your vote has been tallied! ✔️

Deciding to use "Studio" has large implications, which is what has kept it from happening in the past.

I agree that changing the ./cms folder name would be tough, although we've managed to change import paths in the past. Still, even if the folder name didn't change, I think we could succeed in making the canonical name "Studio" (see my point below about 75% compliance).

Also, if we choose "Studio", we would need buy-in from @regisb (hi Régis 👋🏻 feel free to weigh in) if Tutor were to follow the convention, because Tutor pretty consistently uses "CMS" today.

Do you see other implications that would prevent us from picking and sticking with "Studio"?

Also, I imagine that it will be very difficult to get 100% compliance, which means still explaining yourself, but hopefully in fewer or less important places?

Yes. If we're at ~50/50 now, and via the results of this ADR manage to get to 75/25, then I'll be happy, because (1) it'll be much more obvious that the leftover 25% is the "old name" and that all new code should use the "new name", and (2) we'll have a record saying that the "new name" is in fact preferred.

In any case, whether via OEP or some other new process needed for the current state of Open edX, I think more is needed process-wise if this is the decision you wish to make.

I think an OEP would be overkill. I really believe this is as simple as picking a name, immediately updating some low-hanging fruit, making a backlog task to maybe address the higher-up fruit, and then circulating this ADR so that folks know what to use in new places.

@robrap

robrap commented Dec 9, 2021

Copy link
Copy Markdown
Contributor

@kdmccormick: I agree that OEP is not appropriate, but just brought it up as an example of a process that was more community oriented.

For this renaming project, I think someone would need to catalog usage to understand the cost of the change, as well as understanding whether or not 75/25 has been achieved. I’m unclear how deeply this has been researched.

New Relic came to mind for me immediately as a place that would be very confusing if not renamed. Is this the lone additional use of the name, or are there many places like this? I do not know, but I think the size of the project should be considered aa part of the decision making process. I know you put in a number of hours on the import path change, including various hiccups (I think) including reverts and possibly rollbacks? Someone at edX would need to take on that work.

I’m not saying this is reason enough to not make the decision, but it is a nice example of how things are different from when you were at edX and could simply decide to personally absorb any work related to your own decision.

@kdmccormick

Copy link
Copy Markdown
Member Author

For this renaming project...

@robrap In your first comment, you said CMS would be simpler to standardize on than Studio. If we chose "CMS", would you still consider this to be a renaming project that needed research and scoping?

I know you put in a number of hours on the import path change, including various hiccups (I think) including reverts and possibly rollbacks? Someone at edX would need to take on that work.

This discussion is for another day, but I don't think all future edx-platform refactoring can be contingent on edX's capacity to support it. It is for now, but that's not a viable long-term state for the platform.

Regardless, my goal with this ADR is to establish a direction (particularly for new code) and make low-risk changes. I have no plans to take on or push for the riskier refactoring work.

@robrap

robrap commented Dec 9, 2021

Copy link
Copy Markdown
Contributor

@kdmccormick: No. It seems like CMS is largely the de facto name of the backend service, and is probably well past the 75/25 rule, which is why I think it would be fine to have an ADR that clarifies that fact and explains the difference from the frontend.

It is “studio” that I think would be a much larger name change. But maybe I’m less aware of the places where “studio” should no longer be used?

@kdmccormick

Copy link
Copy Markdown
Member Author

@robrap Gotcha. The places I know of that use "Studio" are:

  • Devstack, consistently.
  • Configuration: STUDIO_CFG, studio.yml, and STUDIO_BASE_URL.
    • But, "CMS" is used heavily in configuration too.
  • Some edx-platform tooling, particularly in pavelib.
  • edX's Terraform, as I recall.
  • Verbal conversation -- I hear folks say "Studio" more often than "CMS", personally.

I would agree that picking CMS is the easier lift code-wise, but I'm not convinced it's the easier lift culturally. Anyway, I appreciate your perspectives and will definitely factor them into the decision here.

@regisb

regisb commented Dec 10, 2021

Copy link
Copy Markdown
Contributor

👋 just came here to say that I'll be happy that the CMS is named consistently across Open edX :) FWIW, in Tutor "studio" is only used as the (configurable) CMS subdomain. So I expect it should not be too hard to get to that 75/25% ratio, at least across edx-platform.

@kdmccormick

Copy link
Copy Markdown
Member Author

Thanks everyone who weighed in here. Tallying up:

Although that's 4-3 in favor of Studio, the pro-CMS votes seem to be more blocking, with @robrap recommending against going forward with Studio altogether unless I were to expand this into a full-blown renaming project, which I'm not going to do. Also, the success of this decision does hinge on @regisb 's willingness to reflect it in Tutor, so I am giving his vote some extra weight.

Considering everything, I am inclined to keep the decision as "CMS", although I'm going to leave this open over the holidays to give a chance for dissent. In the new year, I'll make a final call, capture all these arguments in the ADR, and ask for one last review just on the grammar and phrasing of the decision.

@timmc-edx

Copy link
Copy Markdown
Contributor

I do not have a strong opinion, but I'd like to mention a factor I haven't yet seen expressed in case it resonates with anyone else:

When I see lms and cms in code, it's harder to tell the difference, but when I see lms and studio, it's immediately obvious which one I'm looking at. I think using Studio would make mistakes less likely.

That said, I find many of the other points people have made quite compelling, in both directions. :-)

@jinder1s

Copy link
Copy Markdown
Contributor

I am in favor of "cms" for the reasons listed by Robert. This name change is very low in my priority, so my vote is on the side of doing minimum work on this end.

@jristau1984

jristau1984 commented Dec 20, 2021 •

Copy link
Copy Markdown
Contributor

Regarding @kdmccormick 's statement about Verbal Conversation... I see this as a strong indicator that the term CMS is not specific enough to refer to "edX platform's internal CMS". However, when one is already in the context of edx-platform code it is "easy enough" to understand the context of the term.

Anecdote:
Recently, I was demoing Publisher to some new 2U colleagues, and there was widespread confusion when I used the term CMS to describe the difference between "creating edx Courses aka publisher" and "creating the Content in Courses aka CMS". I needed to use the additional term Studio to clarify between the edX CMS tool I was referring vs industry-known CMS tools.

@sarina

sarina commented Dec 20, 2021

Copy link
Copy Markdown
Contributor

When I see lms and cms in code, it's harder to tell the difference, but when I see lms and studio, it's immediately obvious which one I'm looking at. I think using Studio would make mistakes less likely.

Yes, this is one of the things that also made me vote for "Studio". But I agree the technical cases for leaving it as "CMS" feel more compelling. IDK. Put me on the fence too.

@kdmccormick

kdmccormick commented Dec 20, 2021 •

Copy link
Copy Markdown
Member Author

I see this as a strong indicator that the term CMS is not specific enough to refer to "edX platform's internal CMS". However, when one is already in the context of edx-platform code it is "easy enough" to understand the context of the term.

@jristau1984 agreed. For that reason, I think it'd make sense to use CMS as the name of the service (which mostly only Open edX engineers care about) while still maintaining Studio as the external-facing name of the product.

As a parallel, the Publisher product is actually just a frontend powered by the Discovery service backend. Partner universities know that they use Publisher to create courses, but probably have no idea what Discovery is. We haven't seem to have had any problems with that distinction, and I think we could successfully distinguish Studio from CMS in the same way.

@doctoryes

Copy link
Copy Markdown
Contributor

Naming things is hard!

In the many SW projects I've seen, it's quite common for coders and the internal implementation to adopt a mnemonic that's different from the more formal, externally-visible name. It's a small ramp-up to teach everyone that internal cms = external Studio. We've functioned well enough using both names - but I've also disliked when we've mixed cms/studio in the code, where I think cms should be used exclusively.

The confounding problem is that the internal lms is known as the external LMS! It takes great bravery to gather the consensus required to name something (in the absence of a benevolent dictator) - and it just didn't happen. No other LMS has been gutsy enough to claim the term. :) But we all understand as Open edX developers that LMS is a name-spaced term - we're really saying openedx.LMS and openedx.CMS when we say the terms LMS/CMS, where openedx.CMS=Studio and openedx.LMS=LMS (unfortunately). Honestly, most people refer to openedx.LMS as edX or edx.org, as in "I just took this neat course on edX!".

My vote:

  • Change all internal code/scripts to reference cms/CMS - the easier lift.
  • Continue to use Studio as the name of the course authoring product.

@kdmccormick
kdmccormick force-pushed the kdmccormick/cms-vs-studio-adr branch from 2b2a4b1 to 7c4320d Compare January 4, 2022 18:12
@kdmccormick

Copy link
Copy Markdown
Member Author

Hey all, I feel that there's been enough consensus here for me to decide on "CMS" as the name of the Web service. I've incorporated several of the context and arguments (on both sides) into the ADR itself. Would anyone be able to review?

@adzuci adzuci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@kdmccormick
kdmccormick force-pushed the kdmccormick/cms-vs-studio-adr branch 2 times, most recently from a4a1814 to 7ce02f8 Compare January 4, 2022 19:13
@kdmccormick
kdmccormick force-pushed the kdmccormick/cms-vs-studio-adr branch from 7ce02f8 to 3f55287 Compare January 4, 2022 19:13
@kdmccormick
kdmccormick merged commit 672f446 into master Jan 4, 2022
@kdmccormick
kdmccormick deleted the kdmccormick/cms-vs-studio-adr branch January 4, 2022 20:07
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

1 similar comment
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

kdmccormick referenced this pull request in kdmccormick/tutor Jan 11, 2022
In the LMS/CMS Dockerfile, the env var STUDIO_CFG is set
in order to point CMS at its configuration json/yaml file.

Since https://github.com/edx/edx-platform/pull/29534
(which introduced 0013-cms-vs-studio.rst), the STUDIO_CFG
variable has been deprecated in favor of CMS_CFG.
This change updates the Dockerfile to reflect the new
preferred environment variable.

The only noticeable impact of this change is that it
will remove a depreation warning from Django startup
for tutor uses running off of Open edX master.
kdmccormick referenced this pull request in kdmccormick/tutor Jan 20, 2022
In the LMS/CMS Dockerfile, the env var STUDIO_CFG is set
in order to point CMS at its configuration json/yaml file.

Since https://github.com/edx/edx-platform/pull/29534
(which introduced 0013-cms-vs-studio.rst), the STUDIO_CFG
variable has been deprecated in favor of CMS_CFG.
This change updates the Dockerfile to reflect the new
preferred environment variable.

The only noticeable impact of this change is that it
will remove a depreation warning from Django startup
for tutor uses running off of Open edX master.
regisb referenced this pull request in overhangio/tutor Jan 20, 2022
In the LMS/CMS Dockerfile, the env var STUDIO_CFG is set
in order to point CMS at its configuration json/yaml file.

Since https://github.com/edx/edx-platform/pull/29534
(which introduced 0013-cms-vs-studio.rst), the STUDIO_CFG
variable has been deprecated in favor of CMS_CFG.
This change updates the Dockerfile to reflect the new
preferred environment variable.

The only noticeable impact of this change is that it
will remove a depreation warning from Django startup
for tutor uses running off of Open edX master.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.