Coder Social home page Coder Social logo

gaurav-kr-pandey / angular-basics Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.51 MB

Learn how to use and build applications in the Angular framework. This is a 'from the basics' introduction to Angular that covers various features of the framework, as well as how to create run and deploy a web application with Angular.

JavaScript 7.32% TypeScript 81.13% HTML 8.74% CSS 2.81%

angular-basics's Introduction

Source Of Learning: JavaBrains Tutorial

Learning how to use and build applications in the Angular framework. This is a 'from the basics' introduction to Angular that covers various features of the framework, as well as how to create run and deploy a web application with Angular

  1. Understanding the component model approach to building Angular applications :
  • In Angular 2+ we think everything in terms of component. We will not write everything (Html,CSS,JS) inside single file, instead we create a component.
  • Components define areas of responsibility in your UI that let you reuse these sets of UI functionality. You've already built one with the product list component. A component is comprised of three things:
    1. A component class, which handles data and functionality.
    2. An HTML template, which determines what is presented to the user.
    3. Component-specific styles that define the look and feel.
  1. Creating components and building component trees : => ng generate component or => ng g c
  • An angular application is tree of component.

  • The top level component is application itself, which is render by the browser the application when bootstraping the application.

  • Therefore, components are composable, reusable and hierarichal.

  • Implementing interactivity by responding to user events :

Building an application using services Breaking the Angular application into modules Making REST API calls using in-built services Implement routing to build multi-view applications

angular-basics's People

Contributors

gaurav-kr-pandey avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.