{"id":64,"date":"2016-08-04T08:09:23","date_gmt":"2016-08-04T08:09:23","guid":{"rendered":"http:\/\/www.nedlowe.co.uk\/blog\/?p=64"},"modified":"2016-08-04T08:10:31","modified_gmt":"2016-08-04T08:10:31","slug":"angularfire-2-x-x","status":"publish","type":"post","link":"https:\/\/www.nedlowe.co.uk\/blog\/?p=64","title":{"rendered":"AngularFire 2.x.x"},"content":{"rendered":"<p>I recently struggled a little to find good documentation on AngularFire 2.x.x &#8211; basically the version post when Google bought out FireBase. \u00a0If you search for Firebase and AngularJS, or even if you go to <a href=\"http:\/\/angularfire.com\" target=\"_blank\">http:\/\/angularfire.com<\/a>, it all goes to the older version.<\/p>\n<p>However, there is some fairly good documentation on the GitHub repo (<a href=\"https:\/\/github.com\/firebase\/angularfire\" target=\"_blank\">https:\/\/github.com\/firebase\/angularfire<\/a>) &#8211; but best of all, one of the examples on the repo has been migrated to the latest version:<\/p>\n<p><a href=\"https:\/\/github.com\/gordonmzhu\/angular-course-demo-app-v2\" target=\"_blank\">https:\/\/github.com\/gordonmzhu\/angular-course-demo-app-v2<\/a><\/p>\n<p>I found this example to be fantastic, not only of AngularFire but also AngularJS in general. \u00a0If you are looking for easy to understand examples of great architecture, I think you could do a lot worse.<\/p>\n<p>The architecture is modelled after this excellent style guide:<\/p>\n<p><a href=\"https:\/\/github.com\/johnpapa\/angular-styleguide\/blob\/master\/a1\/README.md\" target=\"_blank\">https:\/\/github.com\/johnpapa\/angular-styleguide\/blob\/master\/a1\/README.md<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently struggled a little to find good documentation on AngularFire 2.x.x &#8211; basically the version post when Google bought out FireBase. \u00a0If you search for Firebase and AngularJS, or even if you go to http:\/\/angularfire.com, it all goes to the older version. However, there is some fairly good documentation on the GitHub repo (https:\/\/github.com\/firebase\/angularfire) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[2,4,3],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7QqxF-12","jetpack-related-posts":[{"id":71,"url":"https:\/\/www.nedlowe.co.uk\/blog\/?p=71","url_meta":{"origin":64,"position":0},"title":"Class Libraries With Microservices","date":"August 30, 2016","format":false,"excerpt":"Back in the olden days, everyone went nuts for Service Oriented Architecture. \u00a0Many consultant dollars were made. \u00a0Everyone temporarily forgot who Fred Brooks was\u00a0(No Silver Bullet). Time moved on, the hype died down. \u00a0But just like a\u00a0Jeffrey\u00a0- IT COMES BACK. \u00a0Yes, I'm talking about micro-services. Martin Fowler has a really\u2026","rel":"","context":"In \"architecture\"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14,"url":"https:\/\/www.nedlowe.co.uk\/blog\/?p=14","url_meta":{"origin":64,"position":1},"title":"Injecting Resources into Spring Beans","date":"January 2, 2014","format":false,"excerpt":"(Recovered from my old Blog). This is mentioned in passing in the Spring documentation \u2013 but to highlight: Spring will automatically convert a String in a bean definition into a Resource if required. If the target Resource is a specific class (e.g. UrlResource) then the passed in string must match\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":33,"url":"https:\/\/www.nedlowe.co.uk\/blog\/?p=33","url_meta":{"origin":64,"position":2},"title":"Spring Security 3 Setup","date":"January 2, 2014","format":false,"excerpt":"(Recovered from my old Blog). Getting Spring Security setup only involves a few steps, but it can be confusing to work out exactly what they are \u2013 especially since almost all documentation refers to Spring Security 2, and there are a couple of differences. The first thing to do is\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":31,"url":"https:\/\/www.nedlowe.co.uk\/blog\/?p=31","url_meta":{"origin":64,"position":3},"title":"SiteMesh with Spring MVC","date":"January 2, 2014","format":false,"excerpt":"(Recovered from my old Blog). SiteMesh is an open source framework that implements the Decorator pattern. It essentially takes the output stream from a web application, and adds elements to (\u2019decorates\u2019) it. Why would we want that? Put simply, it is an incredibly clean way of adding headers\/footers\/anything, with the\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/64"}],"collection":[{"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":3,"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":67,"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions\/67"}],"wp:attachment":[{"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nedlowe.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}