Skip to content

Instantly share code, notes, and snippets.

View rajaramtt's full-sized avatar
🤘
Learning and Sharing

Raja Ram T rajaramtt

🤘
Learning and Sharing
  • Hyderabad, India
View GitHub Profile
@rajaramtt
rajaramtt / Angular 10 to angular 18.md
Last active September 12, 2024 05:30
Angular 10 to angular 18.md

If you already have a solid understanding of Angular 10 and are looking to learn more about the newer concepts and best practices in Angular, here’s a guide to the key concepts and architectural patterns you should focus on:

1. Ivy Renderer

  • Concept: Ivy is Angular’s rendering engine introduced in Angular 9, and it is now the default. It provides better performance, smaller bundle sizes, and improved debugging.
  • What to Learn: Understand how Ivy changes the way Angular compiles and renders components, and how it affects the size and performance of your application.

2. Standalone Components

  • Concept: Standalone components simplify the Angular module system by allowing components to be used without a module.
@rajaramtt
rajaramtt / jenkins.md
Last active September 12, 2024 05:30

What is Jenkins:

Jenkins is an open-source continuous integration and continuous delivery tool written in Java. It's an automation server used to build and deliver software projects. Jenkins was forked from another project called Hudson after a dispute with Oracle.

CI/CD:

Continuous integration, is the practice in software engineering of merging all developer working copies to a

@rajaramtt
rajaramtt / ngrx.md
Last active September 12, 2024 05:30

angular reactive extensions and it's state management solution for the angular

NGRX is a popular state management library specifically designed for Angular.

NgRx uses concepts such as actions, reducers, effects, and selectors to manipulate the state in a controlled manner.

Store

The store can be seen as your client side database. it reflects the state of your application. You can see it as the single source of truth.

@rajaramtt
rajaramtt / nx-structure-angular-nestjs.md
Created April 9, 2021 18:24 — forked from trungvose/nx-structure-angular-nestjs.md
Nx workspace structure for NestJS and Angular

Nx

https://nx.dev/

Nx is a suite of powerful, extensible dev tools to help you architect, test, and build at any scale — integrating seamlessly with modern technologies and libraries while providing a robust CLI, caching, dependency management, and more.

It has first-class support for many frontend and backend technologies, so its documentation comes in multiple flavours.

Principles

@rajaramtt
rajaramtt / gist:51d4851102dc0a816b760a889643d093
Created February 5, 2021 08:04
SEO in Angular Without Server-Side Rendering
https://medium.com/codestory/seo-in-angular-without-server-side-rendering-fa7d984dd44b
https://meganrook.medium.com/angular-error-handling-made-easy-9bca1b4c52b0
@rajaramtt
rajaramtt / cookie-typescript-utils.ts
Created November 23, 2020 12:31 — forked from joduplessis/cookie-typescript-utils.ts
Setting, deleting and retrieving cookies in Typescript.
@rajaramtt
rajaramtt / trim-input.directive.ts
Created September 1, 2020 12:52
Angular Input Trim Directive
import { Directive, HostListener, OnInit, Optional } from '@angular/core';
import { NgControl } from '@angular/forms';
@Directive({
// tslint:disable-next-line:directive-selector
selector: 'input[trimInput],textarea[trimInput]',
})
export class TrimInputDirective implements OnInit {
constructor(@Optional() private ngControl: NgControl) {
@rajaramtt
rajaramtt / gist
Last active October 19, 2021 20:57
12
# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH
# Add all the files:
git add -A
# Commit the changes:
git commit -am "Initial commit"
@rajaramtt
rajaramtt / React.md
Last active July 16, 2024 12:22
React is an open-source JavaScript library

React is a JavaScript library

React is not a framework (unlike Angular, which is more opinionated)

React is an open-source project created by Facebook

creating a new single-page app, use Create React App. server-rendered website with Node.js, try Next.js.