News

Angular Q&A: Components, Getting-Started Tips (and that 'Total Rewrite' Thing)

Noted database expert and author Ted Neward explains his favorite features of Angular and how to get started with the popular database.

Ted Neward, director of Developer Relations at Smartsheet.com, is well-known as a presenter at Visual Studio Live! and Live! 360 events. He has long served as a columnist for MSDN Magazine as the "Working Programmer," where he's noted for investigating and explaining new database technologies and techniques, signing off with a cheerful, "Happy coding!" We caught up with to ask some questions about Angular in advance of an upcoming presentation in Orlando.

What were the special challenges developers faced when moving from Angular 1 to Angular 2?
Well, one of the challenges is inherent in your question itself: The Angular team chose to rename the framework from "AngularJS" to "Angular," meaning that "Angular 1" should actually be "AngularJS," and "Angular 2" should actually be just plain ol' "Angular." That raises no end of confusion when speaking about the two frameworks, to be sure.

"Component-based design is like object design, but with "thicker skin", meaning we treat components in a more opaque fashion, making them more accessible and usable for reuse purposes, among other things."

Ted Neward, director, Developer Relations, Smartsheet.com,

But the naming change was appropriate, because in many ways Angular was a near-total rewrite of AngularJS, meaning that any AngularJS code will not be silently upgradable to Angular. They kept many of the same concepts, but sought to strengthen those concepts and make them more apparent and clear. So moving from AngularJS to Angular means making a slight conceptual shift, but a near-total rewrite of anything that isn't pure business logic in the code.

What is your favorite improvement in Angular 2?
The new emphasis on "components." Component-based design is like object design, but with "thicker skin", meaning we treat components in a more opaque fashion, making them more accessible and usable for reuse purposes, among other things. Components were what enabled the Golden Age of GUI Builders (the days of VisualBasic, Delphi, PowerBuilder and the like), and there's solid reasons to imagine that something similar will emerge out of this approach for the Web -- which in turn means that developers can deliver useful and powerful applications for the Web so much faster than before.

What are your top 3 tips for anyone getting started with Angular?

  • Bookmark the Angular CheatSheet on the Angular Web site.
  • Learn and master the TypeScript language.
  • Come to the Hands-on-Labs in Orlando. ;-)

What do you think is the most helpful section of your full-day hands-on lab at VS Live?
We spend as little time as possible talking -- the emphasis is on the "hands-on" part of the title. Programmers often learn best by doing, so we'll talk only enough to get the concepts in front of people, then turn them loose to learn by doing.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube