Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor javascript using angularjs framework #2094

Closed
jeff1evesque opened this issue Sep 20, 2015 · 2 comments
Closed

Refactor javascript using angularjs framework #2094

jeff1evesque opened this issue Sep 20, 2015 · 2 comments

Comments

@jeff1evesque
Copy link
Owner

We will refactor our javascript code, using the angularjs framework.

@jeff1evesque jeff1evesque added this to the 0.3 milestone Sep 21, 2015
@jeff1evesque
Copy link
Owner Author

We need to ensure that the following is not commented within .jscs.json:

...
/*
    "maximumLineLength": {
      "value": 80,
      "allExcept": ["comments", "regex"]
    },
*/
...

@jeff1evesque
Copy link
Owner Author

Angular is too heavy, and has a steep learning curve. At the current time, angular 2 is not recommended for use. This would suggest implementing angular 1. However, angular 2 will soon be the standard, and is a complete rewrite, with a whole new set of API:

AngularJS team has been busy working on AngularJS 2.0. As we mentioned before, this is not a complex major update; this is a whole rewrite! Having learnt many lessons from AngularJS and AngularDart a lot of thinking is being done to produce the future core and its ecosystem. We will walk you through what you need to know to stay up to date.

For these reasons, we will implement reactjs, with future integration possibility with flux, or perhaps even angular 2.

Another reason behind choosing the reactjs framework, is that the following companies implement it for their main product:

  • facebook (maintainer)
  • instagram (maintainer)
  • imgur
  • airbnb

While google (maintainer), does not implement angular, with as high of a footprint on its major products (i.e. youtube ps3), as facebook, or instagram does with reactjs. Lastly, angular is an MVC framework, whereas react is equivalent to the V in MVC. This means the bulkier, all in one angular package, may impose a generalized solution. But, sometimes being granular in the technology choice, allows for optimal solution.

Note: on a bias note, the IRC chatroom #angularjs has 40% more people than #reactjs. However, when asking questions regarding angular vs react, the latter channel garnered responses from nearly half a dozen people, versus the former with just one individual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant