Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Programming \ When should I use Angular 2     - Linux environment RabbitMQ installation and monitoring of plug-in installation (Linux)

- To change CentOS7 runlevel (Linux)

- Oracle 12c R2 new feature dbca command to create a standby database (Database)

- To create a secure network firewall with iptables Under Linux (Linux)

- OpenGL Superb Learning Notes - GLSL language foundation (Programming)

- Linux Workstation Security Checklist - from the Linux Foundation Internal (Linux)

- Linux, see picture not resolve the problem (Linux)

- Puppet subcommands Introduction (Server)

- Debian 8.2.0 (Jessie) fast clean installation tutorial (Linux)

- Installation in lxml Python module (Linux)

- iptables using summary (Linux)

- Talking about the shortcomings and deficiencies of the firewall (Linux)

- Sort search algorithm Java - application examples with recursive dichotomy (Programming)

- Using VMware vSphere Client Linux virtual machine installation CentOS6.4 system (Linux)

- CentOS 6 adds disk quota limit (Linux)

- Disk storage structure and file recovery experiment (FAT file system) (Linux)

- CentOS7 installation configuration (Server)

- Java memory mechanism Description (Programming)

- Create several practical points of high security PHP site (Linux)

- Python regular expressions: how to use regular expressions (Programming)

 
         
  When should I use Angular 2
     
  Add Date : 2018-11-21      
         
       
         
  People often ask - "I should be in my new project to use Angular 2 it?"

If the project does not need to be ready for a few months?

If it is a small project, or a proof of concept?

As you may have at home we are playing Angular 2, but at work you insist on using 1.x.

At some point, from it "? Should I" to "why can not I?" - Hey, you want to play new tricks! Clean component architecture, acceleration, and the accompanying ES6 or TypeScript all the nice things. Ah, really wonderful friends.

How do you decide

In essence, this is how a low-risk item (its failure does not mean your business failure or something), and you are prepared to spend their own time to clarify things, to try to use Angular 2.

Yeah you have to be careful, it's still alpha software, and a lot can change, break everything you write. When you are accustomed to using Angular 1, then the Stack Overflow, you will not have much help.


Very clear that, here, I am not saying Angular 2 is "ready" to OK it. You still need to weigh the risks and best judgment.

Check, you prepare Augular 2? Let us take a look at their progress through open test it.

Use Angular 2

If you have decided take the risk, but they never used it, then you must first decide which language to use: ES6, Typescript, or ES5. Moreover, it is now subscribe to my press releases good time, subscribe to it, you can read the first time to the hottest news and Angular 1 Angular 2 development of best practices in the articles.


Subscribe link (Translator's Note: oschina story editor restrictions, it is recommended to subscribe to the original text): < form action = "// binarynirvana.us5.list-manage.com/subscribe/post?u=caad576c33eb4a330b1dccd47&id=de622be6c5" method = "post" id = "mc-embedded-subscribe-form" name = "mc-embedded-subscribe-form" class = "ng-embedded-subscribe-form validate" target = "_ blank">

Come subscription Angular best practices series of articles related to articles 1 and 1 Angular it.

Enter your e-mail address (Translator's Note: oschina story editor restrictions, it is recommended to subscribe to the original text):

< Label for = "mce-EMAIL"> Email Address < / label> < input type = "email" value = "" name = "EMAIL" class = "required email" id = "mce-EMAIL" /> You can always unsubscribe.

< Input type = "text" name = "b_caad576c33eb4a330b1dccd47_de622be6c5" tabindex = "- 1" value = "" />

< Input type = "submit" value = "Stay Up To Date" name = "subscribe" id = "mc-embedded-subscribe" class = "button" />

< / Form>

Then, go to learn these "great course", with experience, you can learn in depth and use.

Use Angular 1

Still stick with Angular 1? Nor shame.

Here are some of the future can help you easily migrate to Angular 2 things you need to know:

Start writing ES6 or TypeScript
Anywhere with controllerAs grammar, give up $ scope.
The app allows you to enter the component tree (= a component of an instruction)
When Angular 1.5 is available, use it to start a new .component symbols substituted .directive
Before Angular 1.5, like this organize your instruction:
{
  restrict: 'E',
  scope: {...}, // isolate scope
  controller: 'NameCtrl',
  controllerAs: 'name',
  bindToController: true,
  // No link
  // No compile
}

Avoid ng-controller
See RxJS of observable, try packaging $ watch.
     
         
       
         
  More:      
 
- iOS9 new feature - stacked view UIStackView (Programming)
- Docker: installation under Ubuntu (Server)
- CentOS 6 Install Linux kernel source (Linux)
- sudoers file parsing (Linux)
- How to add a new hard disk without restarting the CentOS 7 / RHEL 7 virtual machine (Linux)
- SendMail version of Java implementation with attachments (Programming)
- MySQL management partition table (Database)
- IBM Data Studio to use ---- window displays all rows (Database)
- CentOS 6.5 system installation Oracle11.2.0.4 basic steps (Database)
- MongoDB slice simple example (Database)
- PHP file upload methods exist in the database (Programming)
- Hands to teach you to solve Ubuntu error message (Linux)
- Live Wallpaper for Linux release adds dynamic background (Linux)
- B-tree - ideas and implementation of C language code (Programming)
- Let your PHP 7 faster (GCC PGO) (Linux)
- Redhat 5 prohibit IPv6 (Linux)
- How to use the TF / SD card making Exynos 4412 u-boot boot disk in Mac (Linux)
- Install Kali Linux via PXE network (Linux)
- Linux Command Tutorial: du command to view disk space (Linux)
- About enhanced Linux / Unix server system security program (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.