Why I stopped using Node.js for most of my projects π
I got tired of installing a 3rd-party package for every small feature.
Want sessions? package.
File upload? package.
Validation? package.
Auth? 4β5 packages.
Security? More packages.
I just want to build β not manage dependencies.
PHP gives me sessions, cookies, forms, security, routing basics built-in.
Less boilerplate, fewer risks, faster shipping.
Node.js is powerful for real-time & microservices, but for rapid secure web dev β PHP feels more productive for me.
Not hate. Just choosing the tool that lets me focus on creating, not configuring.
#webdev #NodeJS #PHP #programming #devlife
Sushil Kumar
@CodeWithSushil
A self-taught πΈοΈ Web DeveloperΒ π¨π»βπ» || Linux π§ Lover || Open source π contributor π₯ || PHP/Laravel π and JS fanboyπ¦π» || Creator of πΏ Supabase-PHP Client π€
β’ β’ 188 Posts β’ 2K Views
My first PHP and SQLite based dynamic website host on Render (free SSL), but it is my experimental journey with a subdomain so visit my portfolio: my-portfolio-154a.onrender.com
A interface class extends another interface class also.
interface A
{
public function a();
}
interface B extends A
{
public function b();
}
class C implements A, B
{
public function a()
{
echo "hi A";
}
public function b()
{
echo "hi B";
}
}
$c = new C();
$c->a();
$c->b();
Tailwind CSS or Uno CSS
Bootstrap or Bulma CSS
Better experience and fast, secure way to create a connection with MariaDB.
// Config.php
$mariadb = ini_get('pdo_mysql.default_socket');
$pdo = new PDO("mysql:unix_socket=$mariadb;dbname=test", 'root', '');
if($pdo){
echo "Database connection success!";
}