-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Documentation Needs #181
Comments
I would like to see more about custom DOM events, and the differences between |
@JeroenVinke Good feedback. I believe that would be great content for "Binding: Basics" |
In the article "Templating: Dynamic UI Composition" we not only need to cover things like |
In the article "Binding: Basics" we need to make sure to include information about when |
In the article "Templating: HTML Behaviors Introduction" we need to cover a bit about the general mechanism that underlies both Custom Elements and Custom Attributes. As part of that we need to talk about |
binding basics: delegate vs trigger |
We should include your SO answer direction in "Binding: Basics" |
|
For "Binding: Basics" be sure to demonstrate how contextual properties work, particularly in the case of |
@adriatic Are you referring to using our docs technology to document 3rd party Aurelia plugins and us providing docs on how to do that? |
Yes - as we are about to finish the document set for http://aurelia-ui-toolkits.github.io/demo-kendo first preview and would love not to continue rolling our own |
It would be useful if the documentation was searchable. And if the section headings were linkable. |
That's in development. Search will take a bit longer but section linking is coming very soon. |
A lot of questions in gitter are centered around the transfer of data in/out of custom elements and in/out to the parent element. There are several different ways to do this(singleton service injection, passing in callbacks, injecting the parent into the child, getting the parent element and getting the view model off of that, message passing, etc.) and it's not clear when to use which, or even which options are available. Should there be a portion of documentation for best practices for this and other commonly asked questions? |
@ostyn What if we added a topic on "Cross Component Collaboration" and covered different techniques and practices? |
A very strong vote of support for this proposal |
@ostyn @EisenbergEffect - that would be great. This is something I have been wrestling with recently - combining simple custom elements into more specialised composed elements. I can get things working, but really not sure of best practice here - then there are not too many good examples to copy. |
@EisenbergEffect That would be excellent. I'm glad that others agree. |
I've added it to the topic list above. |
Something I think should be in the Web Developer section: "how to start an aurelia app from scratch", i.e. from "I have Basically, it'd be about "how we built the skeleton app". I'm sure it's not just me who are interested in exactly how things fit together but find tearing the skeleton down tedious and would rather see how to build it up from nothing.. |
@egeland - you can find this information (and a lot more) in the Aurelia Guides - website that hosts all accumulated Aurelia Community authored articles. Note that all these articles are pre-beta and would need to be refreshed, assuming that there is any interest in that data |
Here are a couple more suggestions. Please get the contributor section done first, so others can join in and follow the rules properly to help build up and get this huge...chore..um....job... 😄...done. If I knew what the contribution process was, I'd also like to help, where I can. Sorry, this means more work, but add an API reference section explaining the different services/ options/ interfaces etc. offered in Aurelia. I am not even sure those are the right terms, but as a good example of what I mean, please see VueJS' API page. http://vuejs.org/api/ Add a Tutorials section, where contributors can go through certain steps to make something real with Aurelia. These could also be posted as guest blogs on the site too (as added incentive). If you want to take this even further, have a look at Laravel's Laracasts for a good example. https://laracasts.com/ Laravel isn't the best framework, but it is very good and even better, they do a great marketing job and thus, Laravel is the most popular PHP framework by far currently. And an extra suggestion not really part of this thread, but more a general marketing kind of issue. It would be befitting to the whole project to get the blogs onto the aurelia.io site. 😄 Scott |
+1 for search option. |
I'd like to read an article about component styling, also regarding ShadowDOM and style encapsulation (if that's possible). Also I'm very interested in the contributor section. 😄 |
Hi Folk, Thanks for asking for our input. You guys are really doing great work. In the architecture section, I think the "building on web standards" section is particularly important. Especially with Es6 Modules and Web Components (nice to see that web components repo show up recently). Following Aurelia through gitter and the blog has been like following a test case for the state of modern javascript. If you can pull together that story into a small section that always expresses the current state of things, I think it will provide a nice window for folk to approach the framework. Much of this information appears in gitter and blogs, but gets stale fast and the overall picture gets fragmented. Having one spot that summarizes things and is always up to date might require a lot of work, but would be very valuable. In terms of technical content, offline data storage and sync is, I think, one of the main reasons for using a client side framework. I'd put a section on it right after http with fetch. Right after the two of them and before binding might be a small section on where to put, or how to structure one's data. Aurelia seems pretty agnostic on this, focusing on just being flexible, which is fine, but a reference to skeleton navigation that maybe adds structure to maintain the state of both the router and one child component locally would tie things together nicely before getting into the details of templating. For what it's worth. Thanks again for asking. |
I've added some additional topics and created a new section Using Aurelia Components as Web Components |
I suggest renaming |
I would like to see a article about testing components, attributes, etc.. with and without dom. |
Excellent work. Wish it was all here today;) |
@tvld There isn't much to the server- & database-side of Aurelia right now (until the planned SSR is available). You can use the Although it's probably a good point to add some examples for how |
@Svenskunganka Thank you. I think yes, some pointers and examples of DB&Server framework could still be helpful. New people with a blank sheet like to choose the "common denominator" in a new eco-system. We would like an increased chance others might be able to help when stuck and more coherent testing. That said, it seems on this I am on my own in Aurelia and might need to adopt child on my own ;) |
Suggestions, but might be covered in the other topics
How to do it and not what to do. |
I'd love to see a good explanation of nesting templates/elements correctly. 😄 |
You are tempting the "adventurer" in me - but I am firmly following my decision to finish the on-line help documents for the pending KendoUI bridge 0.3.0 release |
Events emitted by Aurelia should be documented (ex: |
Nowhere are there examples of how to log at the different levels - in the entire docs I could find only two usages of console.log How do you use the logging capabilities of the framework? |
In my opinion it would be useful to have a guide on how to implement a custom observer, since that seems to be best practice in cases where dirty checking would kick in, at least if Or more general: "How to prevent dirty checking". |
@Thanood That sounds like a great idea. @jdanyow I was hoping you could write two more binding articles. We have "Binding: Basics" listed above and now I've added "Binding: Advanced Scenarios" which I think would be a good place to discuss that @Thanood is talking about and possible a number of other recurring scenarios. |
sounds good- will get started on these |
Until when the documentation for the Durandal migration is planned? Perhaps in conjunction with Knockout? |
We have a preliminary document here: https://github.com/aurelia/documentation/blob/master/old/English/durandal-to-aurelia.md |
@EisenbergEffect I'd add one more article on advanced repeater usage, including stuff like using matchers to optimize array view replacement. I can try to write that at some point in the future. |
Hey, |
I recently have tried to implement animations between pages in my app using we have a few words on this in the routing section - but the way from there to a simple working demo was not possible without intimate knowledge of how aurelia works based on year of experience, new aurelia developers on my team would never be able to accomplish that task on their own. the missing key part was "If there is no animation defined, then swap-order has no visible impact." in this issue I can see that the section I thought of splitting it to fragments (I've checked the parts that I'll be covering):
there are 2 animation plugins available. that can be later expanded to also include explanation regarding @EisenbergEffect |
@avrahamcool This is very exciting. You've certainly identified an important missing piece from our docs. We apologize for the inconvenience and would absolutely love your help in improving this. Thank you for volunteering. To make contribution easier, we've recently moved all our docs back to this repo. To add the new content, simply create a new Markdown file and add it under current/en-us/plugins. You'll need to name the file with a number, as this represents the ToC ordering. Once we merge the PR, we'll be able to publish it to the site shortly thereafter. That's all there is to it. On animation in general, while we didn't have a doc article, we did have an old blog post which I recently thought I might update and transform into official docs. You may be able to use it to help you put together what you are working on. You can find it here: https://aurelia.io/blog/2015/07/17/animating-apps-with-aurelia-part-1 Do you have any further questions? Is there anything I can do to help you in this process? |
@EisenbergEffect I need to have some |
@avrahamcool CodeSandbox uses a custom, webpack-like but not webpack, bundler internally, so it can behave oddly sometimes. For CSS, I'd recommend just inlining it like you have above or you an create a CSS file in the public folder and just link it into the head of the index.html page. That's what we did for all our binding docs demos. |
@EisenbergEffect I've forked the documentation repo, and committed my changes there. I'ts the first time I try to document something, and when I read it back - it feels very clunky (I jump between thing that I need to explain, and its not well organized). I tried to copy the relevant parts of the blog post you have mentioned above, but he has a lot more details that I wanted to go to. so maybe someone on the core-team can pass on the documentation that I created and make it better? |
@avrahamcool If you want to go ahead and submit a pull request, I can take what you've done and polish it a bit and get it out in the next release. |
@EisenbergEffect done. thanks you for all your time and kind replies. |
animation: basic can be checked now :) (in the list above) |
Docs Plan
A Web Developer
Deep Dive
New To Web Development
A Manager/CTO
An Architect
A Contributor
A Plugin Author
Integrating with Other Technologies
A Migrator
The text was updated successfully, but these errors were encountered: