Skip to content

Instantly share code, notes, and snippets.

View tararoutray's full-sized avatar

Tara Prasad Routray tararoutray

View GitHub Profile
Scalability Node.js PHP
Concurrent connections
Event-driven architecture
Horizontal scaling
Performance Node.js PHP
Event-driven I/O model
Scalability
I/O operations
Real-time applications
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 10.
Feature,Node.js,PHP
Language,JavaScript,C
I/O Model,Event-driven,Blocking
Performance,"Faster for real-time applications and data-intensive scenarios",Slower under heavy load
Scalability,"More scalable due to non-blocking I/O model","Less scalable due to blocking I/O model"
Learning Curve,"Steeper learning curve for event-driven programming","Easier learning curve for programmers familiar with C"
Frameworks and Libraries,"Rich ecosystem of frameworks like Express, Koa, Socket.IO","Rich ecosystem of frameworks like Laravel, Symfony, Yii"
Application Suitability,"Ideal for real-time applications, data-intensive scenarios, and modern web development trends","Ideal for traditional web applications, content management, database interactions, and user authentication"
Concurrency,"Built-in support for handling concurrent requests through event loop","Concurrency can be achieved through extensions like pthreads or asynchronous libraries"
Community Support,"Active and growing community with a focus on modern web devel
<div style="text-align: center;">
<h1>
Welcome to AG Grid Demo!
</h1>
</div>
<app-tasks></app-tasks>
@import '~ag-grid-community/dist/styles/ag-grid.css';
@import '~ag-grid-community/dist/styles/ag-theme-balham.css';
import { Component, OnInit } from "@angular/core";
@Component({
selector: "app-tasks",
templateUrl: "./tasks.component.html",
styleUrls: ["./tasks.component.css"],
})
export class TasksComponent implements OnInit {
rowData: any[];
columnDefs: any[];
<div style="width: 100%; height: 500px;">
<ag-grid-angular
style="width: 100%; height: 100%;"
class="ag-theme-balham"
[rowData]="rowData"
[columnDefs]="columnDefs"
[defaultColDef]="defaultColDef"
[enableSorting]="true"
[enableFilter]="true"
[pagination]="true"
<?php
abstract readonly class Mountain
{
// Class content
}
final readonly class Cloud
{
// Class content
<?php
readonly class MyClass
{
public readonly string $var1,
public readonly int $var2
public readonly string $var3
public readonly int $var4
}
<?php
class MyClass
{
public readonly string $var1,
public readonly int $var2
public readonly string $var3
public readonly int $var4
}