take a look to yeoman and try the angular-fullstack  generator, it does 
what you need

Il giorno sabato 26 novembre 2011 23:34:55 UTC+1, Scott Alexander ha 
scritto:
>
> Hi sorry for all these questions.
>
> I'm looking at this example here:
>
>
> https://github.com/angular/calculator-sample/blob/master/scripts/web-server.js
>
> It seems to be a webserver written in NodeJS.
>
> I guess I'm confused because there's no package.json file here.
>
> +++
>
> I think I'm starting to get the impression that AngularJS replaces not
> only Backbone.js, but also Express and Connect - since I have seen
> lots of routing going on in AngularJS itself:
>
> some source:
> http://angular.github.com/angular-phonecat/step-11/app/js/controllers.js
>
> a demo:
> http://angular.github.com/angular-phonecat/step-11/app/#/phones
>
> If I want to use AngularJS, then should I stop thinking about not only
> Backbone.js, but also Express and Connect?
>
> +++
>
> Ok, this looks like a concrete example I can try out:
>
> https://github.com/angular/peepcode-tunes
>
> It says that in moving from BackboneJS to AngularJS, they were able to
> eliminate 2/3 of the codebase. So it sounds interesting.
>
> This example seems to be only about reading from a database.
>
> Are there examples of using AngularJS to write to a database?
>
> +++
>
> I would like to use NodeJS with a database (MongoDB or Redis), so I
> would like to see how to use AngularJR with this.
>
> But I can't find any examples of involving AngularJS and a database.
>
> I've been googling
>
> AngularJS database
> AngularJS NoSQL
> AngularJS MongoDB
> AngularJR Redis
>
> but there's nothing out there.
>
> One of the main attractions of AngularJS is declarative bi-directional
> data-binding.
>
> It would seem that there would be examples of people using it with a
> database then.
>
> Or maybe AngularJS is just very database-agnostic. I've seen how it
> manipulate the JSON - in "realtime" actually.
>
> So maybe from there I just have to hook that to some db of my choice?
>
> Thanks for any help.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to