Anh Trinh JavaScript Developer

FYI: UpNext music player has been removed from Chrome Web Store

P/S: you can still download the extension & install it yourself (version 1.2.14)

Github

Dropbox

Here is the email from Google:

Dear Developer,

Your Google Chrome item, "UpNext Music Player," with ID: dgkfcdlmdppfhbfmooinbcejdaplobpk did not comply with our policies and was removed from the Google Chrome Web Store.

Your item did not comply with the following section of our policy:

We don't allow products or services that facilitate unauthorized access to content on websites, such as circumventing paywalls or login restrictions. We also don't allow products or services that encourage, facilitate, or enable the unauthorized access, download, or streaming of copyrighted content or media.

If you'd like to re-submit your item, please make the appropriate changes to the item so that it complies with our policies, then re-publish it in your developer dashboard. Please reply to this email for issues regarding this item removal.

*Please keep in mind that your re-submitted item will not be immediately published live in the store. All re-submitted items undergo a strict compliance review and will be re-published if the item passes review.

*Important Note
Repeated or egregious violations in the store may result in your developer account being banned from the store. This may also result in the suspension of related Google services associated with your Google account. All re-submitted items will continue to be subject to Chrome Web Store policies and terms of service.

Thank you for your cooperation,
Google Chrome Web Store team

EmberJS Links

RFC for reference unification: you’re now able get the relationship’s id without triggering a request. Available since Ember-Data 2.4

https://github.com/emberjs/rfcs/pull/57

ArrayProxy is dead

https://vimeo.com/160234990

My Front-end Universe

#Architect & Pattern

###”React: Mixins Considered Harmful” https://facebook.github.io/react/blog/2016/07/13/mixins-considered-harmful.html

https://news.ycombinator.com/item?id=12087796

###“Container Component” parttern from React https://medium.com/@learnreact/container-components-c0e67432e005#.76q2acit3

###Presentational and Container Components https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.5o04seadt

###”Smart & Dump” Component http://teropa.info/blog/2016/02/22/dumb-components-and-visual-feedback-in-angular-apps.html

#Ember

@rwjblue gist, many interesting stuffs https://gist.github.com/rwjblue/8816372

My list of some awesome articles & stuffs: https://gist.github.com/ptgamr/0308ad0d62465f1ea447

#Angular

Refactoring to Component http://teropa.info/blog/2015/10/18/refactoring-angular-apps-to-components.html

Smart Vs Dump Dilemma: https://www.reddit.com/r/angularjs/comments/48fvh2/smart_vs_dumb_dilemma_thoughts/

#React Best Tutorial for Redux http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html

React.js Conf 2015 - Making your app fast with high-performance components https://www.youtube.com/watch?v=KYzlpRvWZ6c

Free Redux @egghead https://egghead.io/series/getting-started-with-redux

#CSS/SASS

http://bourbon.io/

One directive, multiple controllers & controllerAs

You can pass multiple controller in to the require property while declaring a directive

app.directive('myDirective', function () {
  return{
    restrict: "A",
    require:['^parentDirective', '^ngModel'],
    link: function ($scope, $element, $attrs, controllersArr) {

      // parentDirective controller
      controllersArr[0].someMethodCall();

      // ngModel controller
      controllersArr[1].$setViewValue();
    }
  }
});

Want to use controllerAs syntax for your child directive, but still want to access parent directive’s controller?

app.directive('myDirective', function () {
  return{
    restrict: "A",
    require:['^parentDirective', 'myDirective'],
    controller: 'myDirectiveController',
    controllerAs: 'childVm',
    link: function ($scope, $element, $attrs, ctrls) {
		var parentCtrl = ctrls[0];

        var childVm = ctrls[1];

        // and do stuffs
    }
  }
});

Good stuff: UI-Router cheat sheet

If you didn’t find Ui-Router documentation that useful, it might be a good idea to look at this cheat sheet made by egghead.io. Very neat!

https://d2eip9sf3oo6c2.cloudfront.net/pdf/egghead-io-ui-router-cheat-sheet.pdf