Open in app

Sign in

Write

Sign in

Jorge Castro
Jorge Castro

154 Followers

Home

About

Published in

Cook php

·Mar 11

Using ORM in PHP without a framework.

What is an ORM? An ORM is an abstraction of the information of the database. For example, let’s say we have a list of cities and we want to list it. It is the PHP PDO version: $stmt = $pdo->prepare("SELECT * FROM cities"); $stmt->execute(); $result = $stmt->get_result(); $cities=[]; while($row = $result->fetch_assoc()) { $cities[]=$row; }…

PHP

9 min read

Using ORM in PHP without a framework.
Using ORM in PHP without a framework.
PHP

9 min read


Feb 25

Cloudflare is testing my patience.

I there, I use cloudflare for some of my servers. I tried using the cache system but while it works, it also adds more time to the load of the page (TTFB *) so I didn’t worked for me at least in most websites. But, I still use the DNS…

Cloudflare

2 min read

Cloudflare is testing my patience.
Cloudflare is testing my patience.
Cloudflare

2 min read


Feb 22

Short: Why you should create a open source project?

Why we should spend time creating an open source project? Is it for money? No, most open source projects barely receive any donation. Even top projects could receive less than 100 donors (each one donating around $1-$5 bucks per month). Is it not even enough to pay the time invested. Is it for the curriculum? Nope. Interviewers barely care…

Open Source

3 min read

Short: Why you should create a open source project?
Short: Why you should create a open source project?
Open Source

3 min read


Oct 31, 2022

How not to poach a senior developer

How not to poach a senior developer in easy steps: To be unclear with a new proposal of work. Where? conditions? 🚩 Never mention salary until later in the process. Because the time of a senior developer (that most likely is already working) is worth nothing /s. 🚩 Start with…

Programming

2 min read

How not to poach a senior developer
How not to poach a senior developer
Programming

2 min read


Aug 28, 2022

Why Flutter rules in a nutshell

1) Flutter stinks because it uses a different language (Dart) and I don’t want to learn a new language Dartis quite similar to C# in several aspects. In fact, it is more like a C# minus all the mumbo jumbo of C#. For example, you don’t need “public”, “private”, “protected”, etc. Dart doesn’t have it (it has a prefix “_” for private but you are free to use it…

Flutter

4 min read

Why Flutter rules in a nutshell
Why Flutter rules in a nutshell
Flutter

4 min read


Published in

Cook php

·Feb 15, 2022

Experience about Command Line Interface (CLI)

I finished writing a library for PHP and I found a lot of details about CLI in general. GitHub - EFTEC/CliOne This library helps to create command line (CLI) operator for PHP in Windows and Linux Add the library using composer…github.com But first, what is a CLI and why CLI? CLI is a program that works in the line command (shell, cmd, PowerShell). Usually, it is considered GUI-less but some CLI also contains GUI. Here, I will talk about a GUI-less interface

Cli

5 min read

Experience about Command Line Interface (CLI)
Experience about Command Line Interface (CLI)
Cli

5 min read


Published in

Cook php

·Sep 25, 2021

I regret using PHP

I regret using PHP. Right now, I finished a titanic project (around 3 year in the making) and the project is working as expected. …

PHP

10 min read

I regret using PHP
I regret using PHP
PHP

10 min read


Published in

Cook php

·Jul 24, 2021

PHP, Benchmark time

Benchmark array versus object This benchmark tests the next functionalities: Create a variable. Then, it reads a simple value And it adds to the list (the list is created every round) And it is an example of the variables used $array_numeric=[$hello,$second,$third]; $array_not_numeric=['hello'=>$hello,'second'=>$second,'third'=>$third]; $object_constructor=DummyClass('world',0,20.3); $object_no_constructor=new DummyClass2(); $object_no_constructor->hello='world'; $object_no_constructor->second=0; $object_no_constructor->third=20.3;

PHP

3 min read

PHP, Benchmark time
PHP, Benchmark time
PHP

3 min read


Mar 20, 2021

Here’s who would win if Xamarin, Flutter and React Native Fight Out in 2021?
144
6

Promatics Technologies

$3000 means nothing for big companies, especially if we consider that every company should pocket…

$3000 means nothing for big companies, especially if we consider that every company should pocket $3000 or more (depending on the country) per developer per month. Now about a bit of fact. Flutter is really cool. It doesn't have a "view" template (everything is practically code) but it has a…

2 min read

2 min read


Feb 21, 2021

Removing those annoying links from Explorer

Which services? Those that are at the left of our explorer. How? You can edit the registry by hand but it is a bit chore. Or you can use this little application. escuelainformatica/CleanExplorer This little application allows to clean the Windows 10 Explorer from some products and services such as 🛑 Note: This…github.com

Windows 10

2 min read

Removing those annoying links from Explorer
Removing those annoying links from Explorer
Windows 10

2 min read

Jorge Castro

Jorge Castro

154 Followers
Following
  • Steve Okeno

    Steve Okeno

  • Christian A. Schröder

    Christian A. Schröder

  • Nando Kstro Net

    Nando Kstro Net

  • Mischelle Frederick

    Mischelle Frederick

  • Ademola Ayobami

    Ademola Ayobami

See all (31)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams