AngularJS Application Architecture

AngularJS Application Architecture course by @simpulton #angularjs

  • One challenge when learning AngularJS is that most examples are trivial.
  • This series will demonstrate how to organize and tool your AngularJS application for real work.
  • All projects are different, but with the right set of modular tools you can build a foundation for success.
  • By introducing modules and sub-modules, domain models and state management with ui-router, we will start to establish best practices on how an AngularJS application should not only function, but fit together.
  • Be sure to check out Part 1: AngularJS App From Scratch: Getting Started

One challenge when learning AngularJS is that most examples are trivial. It is difficult to find materials on learning “real-world” patterns and practices.

The joy of Angular is that you are free to build an application in any form that you wish. MCV, MVVM, MVP, MV*whatever*… You get to decide! Freedom is wonderful.

“But what if I choose poorly?”

Good question.

This series will demonstrate how to organize and tool your AngularJS application for real work. It’s an opinion. A way that has worked on our own projects. Use it as a guide for building the solution that best suits the needs of your projects. All projects are different, but with the right set of modular tools you can build a foundation for success.

Building on the previous series, we are going to refactor Eggly to be modular and scalable. By introducing modules and sub-modules, domain models and state management with ui-router, we will start to establish best practices on how an AngularJS application should not only function, but fit together.

Be sure to check out Part 1: [AngularJS App From Scratch: Getting Started](https://egghead.io/series/angularjs-app-from-scratch-getting-started)

Continue reading “AngularJS Application Architecture”

Making your Angular apps fast by thoughtram

  • Rendering 10000 SVG boxes isn’t necessarily a hard nor realistic task, however, it gets quite interesting when each of these boxes need to be draggable, because… well whenever there’s a event being fired, Angular has to perform change detection and rerender what needs to be rerendered.
  • In our article on Change Detection in Angular we talked about how Angular’s change detection strategy enables us to reduce the number of checks Angular has to make when a change in our application happens.
  • Here’s how we set the change detection strategy to :

    To make all inputs immutable, we simply create new references every time we update a box:

    At this point it gets rather hard to notice an actual difference.

  • We touched on that in our article on change detection in Angular as well, but let’s discuss how this is useful in our demo application.
  • The only thing we need to keep in mind is that we only want to detach the change detectors after change detection has been performed for the first time, otherwise we won’t see any boxes.

In this article we discuss tips and tricks to make Angular blazingly fast!
Continue reading “Making your Angular apps fast by thoughtram”

Talks Meetup #7

  • We’re back with the first Angular Talks meetup for 2017!
  • This talk will cover a little background on the art of animation, before covering the practicalities of animation in Angular 2 and TypeScript, with code samples and a demo.
  • Leverage the angular eco-system to get application prototypes up and running fast!
  • Join Thomas as he will live code a prototype with the use of @angular/cli , @angular/material and angular fire.
  • Thomas Horvath – Lead Frontend Developer at Xplosion Media, @criticalpix

    Learn how to build Angular 2 apps using smart and dumb components, actions, reducers and RxJS.

We’re back with the first Angular Talks meetup for 2017!
Join us on the 23rd of February for the 7th edition of AngularJS Talks in Google's Foundry.
Agenda:
1. Animations with Angular 2.
This tal
Continue reading “Talks Meetup #7”

Is AngularJS SEO Friendly?

  • Google will crawl or not the pages of website the way we want?
  • Additionally, if you are thinking of creating of a mobile app, a single page app or even an internal system, probably you will use Angular JS.
  • Before going ahead, i would like to let know you know that Google may not properly render or index AngularJS pages.
  • As per developers, Angular app testing takes much time than others.
  • Angular is the present day tool which is preferred for developing Single Page Applications, but is not even close to become a silver bullet.

Before using Angular JS in your mobile app or single page app you should reconsider about is angularJS SEO friendly? cause google may not index their pages.
Continue reading “Is AngularJS SEO Friendly?”

html

jQuery sortable and custom scroll bar  #angularjs #reactjs

  • I am using custom scrollbar in my webapp but I have the following problem:

    As you can see when you drag an item out of the list it is invisible.

  • I need to make it visible and to be original item because I have animation triggers bind to it.
  • You can understand more of what I am trying to do if you check this: jQuery sortable with overflow: hidden; between two lists

As you can see when you drag an item out of the list it is invisible.
I need to make it visible and to be original item because I have animation triggers bind to it.
Continue reading “html”

EasyFb : AngularJS Facebook JavaScript SDKAngularJS

EasyFb : #AngularJS Facebook JavaScript SDK 
#javascript

  • EasyFb : AngularJS Facebook JavaScript SDKSuper easy AngularJS + Facebook JavaScript SDK.
  • Features:Full Facebook JavaScript SDK supportSeamless FB SDK initialization (asynchronously load script and FB.init)All SDK API callbacks are automatically applied with AngularJS contextSupport both callback and $q promiseProvide built-in directive support for Facebook XFBML plugins

Continue reading “EasyFb : AngularJS Facebook JavaScript SDKAngularJS”