I came a across the following article while considering adding bacon.js and AngularJS:
https://github.com/ProLoser/AngularJS-ORM
But I could not find any other resources that would encourage (or discourage) the use of bacon.js in angularJs.
So I'm looking for some other resources on the subject? Does anyone have use the concept proposed by Dean Sofer? Does it work the magic promise?
Has anyone use the concept used in the video?
Sure this link can help you https://github.com/lauripiispanen/angular-bacon. Also I have my work with angularjs and bacon together https://github.com/xgrommx/angular-bacon-bridge.
Related
Please share any one small example with clear explanation
Quickstart is the best free tutorial. Also you should check angular cli.
I'm integrating RequireJS and AngularJS. This is fairly complex problem and I'm struggling to articulate my problem in a Stackoverflow post, so here is a screencast of my issue. Sit back, relax, watch the weirdness..
http://goo.gl/02CGVe
Basically when I load my core dependencies with RequireJS Angular seems to compile the page and then my elements dissapear off the page. I'm at a loss. Any help would be greatly appreciated!
Sidenote: I'm not building a SPA, so there is no need for ngRoute in my case. Here's one of the many tuts that discuss (kinda) what I'm trying to do.
Actually, refer to this Stackoverflow question about an effective way of using AngularJS with RequireJS.
Does AngularJS support AMD like RequireJS?
I saw you video and found some inconsistencies and also, the way you hooked AngularJS with RequireJS is not ideal and kind of confusing. Refer to my post about hooking up both libraries in a consistent and effective way.
http://leog.me/log/large-angularjs-app-components
Hope it helps.
do you have any experience with integrating AngularJS component into existing BackboneJS application?
Could you just briefly give me some help, what should I do to make it work?
Thank you
Igor
I was able to make it work after all
for the future reference - this gist helped me a lot: https://gist.github.com/dgs700/6197687
anyway, Charles is right - it is definitely not nice to combine these two frameworks (in my case, it was not my call to do so...)
Angular scope will overcome the backbone scope. There is no point using those two frameworks on the same project. Mixing those two will result in a poor designed project.
Either stick to Backbone or replace it with Angular.
I am trying to learn backbone, however truth be told, I'm feeling a little overwhelmed. Everywhere I look it is being done in a slightly different way, each with more frameworks and plugins to learn. So I have decided to put my faith in Addy Osmani and am reading his Backbone Fundamentals book. I have followed his recommendation and used the Backbone-Boilerplate. However for whatever reason, I have been unable to successfully install Grunt BBB so I cannot download the working examples.
What I am trying to do is follow this router section and use views. http://addyosmani.github.com/backbone-fundamentals/#router.js.
The problem is that I think these instructions are incomplete. For a start the collection.fetch() variable is in the wrong scope, and I really am not understanding where I need to place the views and how. I am pretty sure that if I could see a working example of this I could understand it, but as I said, everywhere I look its a different implementation.
Does anyone know how to use the backbone-boilerplate with routers and views? Are there any working examples anywhere?
Let me make a suggestion. A couple of months ago, I was where you are now: trying to learn backbone and trying to follow best practices while I did so. Like you, I came across Addy Osmani's book and like you I tried getting stated with backbone-boilerplate.
After much stumbling around, I eventually concluded that backbone-boilerplate was not something I needed to have while I was just learning backbone. It is now, only after having created a fully working, non-trivial CRUD application that I start to see how I might incorporate backbone-boilerplate. I think you probably need to be asking the questions that backbone-boilerplate answers (How can I break up my application into modules?, etc.) before you attempt to incorporate another framework or plugin. The same goes for Backbone.Marionette: great library, but you really need to have something to apply it to before using it.
Starting out, I would suggest having just a single file for all your backbone code.
One of the things that really helped me out was playing around with and extending various jsfiddle demos people had created using backbone. A simple google search will turn up quite a few. I found it a great way to learn as I was able to manipulate working code and get immediate feedback on what worked and what was allowed.
And although backbone is a client-side library, it's often simpler and faster just to ignore html and write stuff out to the console.
Finally, if you're willing to pay for it, I highly recommend Liam McLennan's set of backbone.js training videos on pluralsight.
I'm trying to link all this technologies, but there are many isolated examples and I do not have enough experience to link them together
so my questions:
Whether there is a similar example?
Is it possible to use UIBinder with Gin?
Any recommendations to implement it?
The GWT blueprint that we use and works great for us.
http://sonymathew.blogspot.com/2010/01/gwt-jee-blueprint.html
My own project is in an early phase, but it has all these technologies. You may want to take a look:
http://code.google.com/p/puzzlebazar/
Unfortunately, I don't know of such tutorials (a possible solution would be to get a book on GWT, but I don't know if there are any that deal with GWT 2.0 and Gin) - I'm afraid it's up to you to patch the knowledge from them together, that's what everyone has to do, right? ;) If you have some specific problems feel free to post a question about it, then we could help.
As for the UiBinder + Gin issue - I'm using both technologies and it's a breeze, but that's mainly because I'm also following the MVP (Model View Presenter) architecture/model - that way the view doesn't really has any dependencies and the Presenter does all the work. More on that here: http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPractices.html
Here is a nice tutorial. The app is very simple but demonstrates all the basics you need.
http://reminiscential.wordpress.com/2010/03/01/building-a-gaegwt-application-using-the-best-practices-index/