Comments (18)
They are working on new robust documentation. Hold your breath 😲!
from framework.
@NetanelBasal I agree with you. We've got a lot of work to do. I would love to here some more specifics from you. What information are you looking for that you can't find? We can try to prioritize that if we know what it is.
from framework.
I expect a docs like angular have. i really want to know all i can do with this great framework. now the docs page is too general. we need specific API please, so we get more comfortable start using aurelia.
from framework.
Rob - thanks for giving us this preview into Aurelia. It looks really interesting (I mean Wow!). Unfortunately, it looks like people expect perfect and complete in a preview, non-production ready (as you so state) framework. The rest of us non-assholes really appreciate this even if we don't speak up much. I'll go back to looking and marveling now.
from framework.
Careful at the name calling please...as frustrating as it can be. I do understand the complaint and we have some plans for pretty substantial docs. It does take a bit of time to get there though....
from framework.
Thanks a lot, cant wait....
from framework.
For what it's worth, the things I'd like to see better documented are deployment and (unit) testing. gulp watch is great for local development, but how do I move things to a "production" server. Same thing with running tests. Maybe it's just because I'm getting started on this type of development (previously doing C# app development), but these issues are border line baffling to me.
Thanks.
from framework.
Regarding docs I would do 2 docs.
- Auto-generated from comments. Those should be more like API reference. Just list of the methods and short description.
- Tutorials - those docs are more case related. The same like you have now but covering more cases.
@NetanelBasal I expect a docs like angular have.
@EisenbergEffect Please, not like Angular. Those are terrible docs. I came from Angular and I witness that it is hard to learn anything with those docs.
@mschoneman but how do I move things to a "production" server
It is very simple. Just copy/upload dest
folder to your server. I am using either flightplan.js
or gulp-s3
to upload all files to the server with a single gulp command. And AWS S3 static site is perfectly enough for Aurelia app.
from framework.
What i mean thats they give us all the API that is available , you can give this in better way :)
from framework.
@Serhioromano I understand that I can just upload the files, but they are talking about improving bundling according to the latest blog post. Will the bundled and minifi-ed stuff be what we interact with during regular development (gulp watch) or will that be another step we have to do? Thanks for the pointer to flightplan.js
it looks like a tool I should get to know.
I am still trying to learn: what are the best practices? Maybe everybody else already understands this, but I'd like to get a CI server setup with "Publish to Staging" and "Publish to Production" buttons. What's the best way to atomically update a running site? These questions (probably) don't belong in the documentation for Aurelia, but I wouldn't mind somebody pointing me in the right direction.
from framework.
@mschoneman Might be good to read up on Gulp and using it for dev and production deployment. Here is a site to get you started: https://github.com/kogakure/gulp-tutorial Gulp will manage compiling your javascript files into one (or more) larger/minified files, optimize your images, aggregate your CSS after any SASS/LESS compilations, etc and then create a 'prod' ready directory for simple copying to a static website server. One of the reasons it's not straightforward to create build documentation for Aurelia (or any web framework) is that there a LOT of ways to build and deploy websites (look at CI sites - they are so flexible it's hard to figure out how to get started sometimes) - many websites also have backend infrastructure that has be managed in sync. Aurelia has a basic gulp file for getting started and indicated they'll provide a grunt file as well - but you'll need to customize anything provided for your own needs.
from framework.
@mschoneman Here is example how to bundle Aurelia app https://github.com/SAAirey/aurelia-skeleton-navigation-bundling. Is very simple.
I would not recommend to have different builds local and for deployment. I had that in one project and I learned that that was a mistake. It happened very often, that deploy build had some errors unlike local build. Because you always work with local build it always running well. So those 2 build I had was unsynchronized.
Now I have the same build process for local and production with only difference that I add different parameter file with switches off/on debug mode, set API root, etc...
from framework.
Will be good to have documentation about how to migrate from Durandal.
from framework.
@gogocat few people already tried that and did some notes about it. I guess the best thing would be to create an example Durandal app, with all the interesting things, as a github repo. Then create a second repo with the Aurelia version, including the tutorial, where step by step instructions are added. I'm sure there are a lot of people who'd like to contribute, myself included, but we are missing a good Durandal Example as a source to get started. Feel free to start something like that and I'm sure others will follow
from framework.
Zewa666. There is a Durandal starter kit, that already showcase all the Durandal features. I also forked. http://durandaljs.com/get-started.html
The real world issue is any new project, feature work for my clients are hard to decide to stay with Durandal or Aurelia (it is preview). Durandal Inc needs to ensure no customers drop off to use something else...
from framework.
@gogocat I know about the official starter kit, yet I had a feeling that porting that one wouldn't yield much more then just taking a look at the skelly demo for Aurelia. The nice thing would be to take something real, like parts of an LOB app, and see how that may be translated to Aurelia
from framework.
We've made some improvements to the docs and are planning more. We're tracking our ideas and plans in another issue, so I'm closing this for now.
from framework.
Django has some of the best documentation I've seen, and it made all the difference when moving away from .NET.
If I were to base the Aurelia documentation style on something, that would be it.
from framework.
Related Issues (20)
- Many aurelia libraries are broken in iOS 16 HOT 47
- example link for codesandbox in README.md HOT 1
- How to fetch data from a JSON file in aurelia framework? HOT 4
- How to bind repeat.for on the async array variable? HOT 5
- aurelia.use.developmentLogging(environment.debug ? 'debug' : 'warn'); is broken? HOT 5
- Building all public files to www folder
- set object that has observed properties breaks the observing system HOT 4
- Issue with compose element and composition
- Combination of `@dynamicOptions` and `primaryProperty` HOT 5
- Publish Aurelia project with visual studio 2017. HOT 1
- Allow better typing for module configuration HOT 4
- Upgrade gulp to v4.
- Staging a component for testing
- UI is not re-rendered when Set is used. HOT 5
- Binding Engine seems to strip CR from text HOT 1
- Component inheritance with bindings on the base doesn't work as expected
- Content of repeat for on tr tag rendered outside of tag HOT 1
- How to use aurelia in qiankun HOT 2
- Content editable div inside a parent div that has a mousedown event on it cannot be edited in Aurelia HOT 1
- npm audit warning for aurelia-framework - XSS vulnerability in default HTML sanitizer implementation HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.