It is never a good idea to connect directly to your database from the front end...
If you mean connecting to your NodeJS server, then I suggest using a framework like Express or Restify on your server to serve up the data to your client using REST.
Aurelia has two libraries for handling REST on the front end, aurelia-http-client and aurelia-fetch-client.
Both of which have documentation found here
Hope that helps.
> Bootstrap was written to export its functions to a global '$' variable
Doesnt it conflict with jquery then? Or does it extend it?
> The content of this blog article is mostly identical to the Contact Manager Tutorial.
Now that's a useful link
Okey, thanks, that makes sense I think. I will have to read more about those terms.
What I referred to with HTML behavior was this chapter in the documentation: http://aurelia.io/hub.html#/doc/article/aurelia/templating/latest/templating-html-behaviors-introduction/2 Where is says things like:
> HTML Behaviors are how you extend HTML with Custom Elements and Custom Attributes in an Aurelia application. Custom Elements are, as their name suggests, their own element in your markup.
And then talks about how they tend to have a view model, which sounds a lot like the chapter on components http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/creating-components/1.
But it makes sense as you say that components is a much more general concept.
I downloaded the ES 2016 Kit at the top of this page: Getting Started tutorial
I tried doing it twice in case something was downloaded or unzipped wrong, but it's the same issue.
I did just finish a lesson on node... could that have changed the default node server on my machine?