Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Key Points to Recall after My 10 Year Tenure in Angular Development

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 16
    Comment on it

    I have been a software biz since 2000, and all these years one thing has always been constant, i.e., the change in technology. But hang on; does that mean old ones fade away? Certainly not! Successful technologies are the ones that sustain changes as the time passes. However, I won't dive into every feature in-depth as we'd be here all day but will definitely provide you some crucial lessons that I have learned in Angular Development journey.

     

    The popular JavaScript-based open source front end web development framework has been in talks since years to create single-page applications. Developing applications via Angular or any other framework can be a bit daunting. I mean writing thousands of lines of codes is not exciting at all especially when you get to rewrite countless times some of them, to achieve a common goal. However, there was a time when JavaScript developers found Angular JS functionality and syntax new and a bit challenging. After a while, with the introduction of the new Model-View-Controller (MVC) structure, everything became simpler and smoother.

     

    Down below I would like to mention some of the best lessons learned in my journey of Angular Development. In addition to this, always keep a close eye on what’s coming up in the arena.

     

    #1 Avoid bonehead mistakes

    Newbies or amateur developers often tend to learn conventional patterns or outdated ways of doing things. Even if they are introduced to something new such as Angular or any other framework they still follow those old habits ignoring the “Angular way.” For example, I have seen many of you still using document.location to perform navigation within their application. Instead what you should be using is routerLink.

     

    #2 Using “View” Components

    Whatever development project you work on; it always starts by creating a root folder known as “Views.” Views are routed smart components used instead of the component file suffix. Have you wondered why? This will provide significant assistance in keeping your project well organized as overall you will be able to see the general structure of the application and use your URLs to help determine where the code is precisely located.

     

    #3 Avoid premature separation

    Don’t put components in a library; if there’s only one application consuming it. I am sure you must be thinking how obvious it is but you would be surprised to know many teams starting up to organize their components in two buckets. I am talking about the ones that application will use while others that have potential reuse.

     

    Even if you know at some point that there will be another application, hold off on the urge to separate until you actually need to. If you ask me in person, I believe that premature separation occurs because web developers recall nightmares of untangling spaghetti HTML/JavaScript for reuse. By taking Angular’s modular approach, one can easily take code from one solution to another with little effort.

     

    Conclusion

    This is just a partial list as I can go on and on…. The internet is full of information, go through it and make the most of it by using to increase the quality of your Angular applications.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: