Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DoNotMerge] Split programming model out of worker (Example framework PR) #609

Closed
wants to merge 2 commits into from

Conversation

ejizba
Copy link
Contributor

@ejizba ejizba commented Jul 15, 2022

See description in this PR first: #608

This PR represents what will be in the new Azure/azure-functions-nodejs-framework repo, but I wanted to get your approval on the name first. Once that repo is created, I will close this PR and re-open it there.

Reasoning on the name:
First, I was inspired by the Python repo Azure/azure-functions-python-library. Then, I researched the differences between "sdk", "library", and "framework" because I've heard those used interchangeably. I landed on "framework" based on blogs like this:

By using a library, you control the flow of the program. The library can be invoked whenever and wherever you like. Contrary to this, when you use a framework, the flow is controlled by the framework. The framework instructs you where to put your code, but it will call your code as required. Simply put, our code calls the library’s code, but in a framework, it’s the framework’s code that calls our code.

Since Azure Functions controls when the user's code is executed, I think "framework" is the most accurate.

Related to #568

@ejizba
Copy link
Contributor Author

ejizba commented Jul 21, 2022

Per offline discussion we landed on azure-functions-nodejs-library, primarily to be consistent with existing python and java repos

Here is the new, real PR: Azure/azure-functions-nodejs-library#1

@ejizba ejizba closed this Jul 21, 2022
@ejizba ejizba deleted the ej/split-framework branch July 21, 2022 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant