-
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
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
express/examples #2923
Comments
Yes, we absolutely need modern examples, that use modern features of Express 4.x :) I think this is a great idea! There has been discussion a long time ago for if examples should be in this repository or their own repository (but I'm not suggesting we change this just yet, as the existing examples are part of the test suite and tests features missing from the actual test suite... lol). If you are looking for feedback ahead of time, feel free to share what ideas you have for example apps and other people may even better be able to say what is the most desired :) |
Okay cool, I think another reason this is a good idea, is because people are quicker to jump in once we get the ball rolling & express is looking at V5, this is needed. But yeah, I'll keep you posted.
Will do 😄 |
@dougwilson I should have lead with this, my Operative Goal is to add a Markdown.md in some examples and so it's more like a |
Sounds even better, especially as steps to shore up those existing ones :)! |
+1 @dougwilson
Great! we will get the ball rolling soon. |
This is relevant to expressjs/expressjs.com#463 as well. Perhaps we can incorporate the .md files into the docs, or at least link out to them. This doc issue has been open for some time, but unfortunately I haven't had time to work much on it -- I made a bare start of describing the existing examples: https://github.com/strongloop/expressjs.com/wiki/Example-notes. I would think it would make sense to create any new examples with the existing ones in mind, either as replacements or revisions. |
Out of the gate, i would say revisions, But let me get an overall look of what's at play, and i'm sure, it's something we should tackle without to much of a fuss. 💯 |
@kelthenoble Please feel free to edit https://github.com/strongloop/expressjs.com/wiki/Example-notes as a starting point, if it's helpful for you. It will certainly help me to have more information (one way or another) if/when we add more info in the docs about the examples. |
Okay, will do 👍 @crandmck |
hello @crandmck I thought I would add a few descriptions to the Wiki page. Thanks. |
Thanks @kbariotis for the help! |
I am in to help with something 👍 maybe we need to rewrite the entire express with es6 syntax 👍 |
Yea sounds great @caiocutrim lets link up and put something together |
It may be possible for me to help as well, please keep me informed. |
Would there be any concerns removing I noticed @dougwilson mentioned a few things regarding this. Is this a massive job that would require rewriting more things or would it just require a admin/cleanup job? I'm a huge fan of creating a separate I'm new to Express and I haven't dived too far down the dependency rabbit hole, so forgive my ignorance. |
Good idea to refactor the examples but i don't know if create a new repo is the right thing. My opinion is that if you want use examples in test case they have to remain in repo otherwise they could be moved. |
I think this bears discussing. I'll add it to the agenda of the next Express TC meeting: expressjs/discussions#29 Please join if you'd like to add your input. |
I don't personally care if the examples are in this repo or their own repo, but I feel like there are a few things to consider:
|
Not part of the examples per se, but similar in nature: I was thinking the site's page on error-handling could use discussion of 404s. Or maybe a dedicated 404-explanation page alongside it? They're currently basically undocumented as far as I can tell. They're also especially hard to figure out if you're using view rendering (which 500s on missing view files rather than fitting into Express's multiple-handler-trying 404 paradigm), so some documentation of it is pretty badly needed. Would it be worthwhile for me to put together a PR with at least a rough draft of a proposed 404 documentation addition for the site? If so, is it particularly important whether it's part of the page on error-handling or gets its own dedicated page? |
@ScottFreeCode probably a question you would need to make on the website repo, to make sure the right people see it and track it. |
@dougwilson I'd like to start working new
express/examples
They're pretty old currently.What are you're thoughts on this?
The text was updated successfully, but these errors were encountered: