#PHP #Tips #Post
Tres errores muy comunes que veo sobre type hintings en PHP son:
1. Pensar que los type hintings están sólo desde PHP 7, cuando están desde PHP 5. A partir de PHP 7 lo que se tiene es type hintings de tipos escalares y también type hintings de retorno.
2. Pensar que la directiva "
3. Pensar que si se pone la directiva "
- Fuente: https://twitter.com/trasweb/status/1130883396241121291
Tres errores muy comunes que veo sobre type hintings en PHP son:
1. Pensar que los type hintings están sólo desde PHP 7, cuando están desde PHP 5. A partir de PHP 7 lo que se tiene es type hintings de tipos escalares y también type hintings de retorno.
2. Pensar que la directiva "
declare(strict_types=1)
" habilita la comprobación de type hintings, cuando no es nada de eso. Lo que hace es deshabilitar el casting entre tipos escalares en los type hintings.3. Pensar que si se pone la directiva "
declare(strict_types=1)
" en la cabecera de un archivo de clases/trait/interface, se evita el casting de escalares siempre que se llame a cualquier método de esa clase. Pero solo afectaría a las llamadas entre métodos de la misma clase.- Fuente: https://twitter.com/trasweb/status/1130883396241121291
Twitter
Manuel Canga
Tres errores muy comunes que veo sobre type hintings en #PHP son: 1. Pensar que los type hintings están sólo desde PHP 7, cuando están desde PHP 5. A partir de PHP 7 lo que se tiene es type hintings de tipos escalares y también type hintings de retorno. 2.…
#PHP #Tips
Internal classes in PHP
- https://nunomaduro.com/posts/internal-classes-in-php/e5e53518-23af-4cfe-adb1-12212db6268d
Internal classes in PHP
- https://nunomaduro.com/posts/internal-classes-in-php/e5e53518-23af-4cfe-adb1-12212db6268d
#Code #Programmers #WebApp
- https://github.com/cdr/code-server
code-server
is VS Code running on a remote server, accessible through the browser.- https://github.com/cdr/code-server
GitHub
GitHub - coder/code-server: VS Code in the browser
VS Code in the browser. Contribute to coder/code-server development by creating an account on GitHub.
#WebApp #Color #WebDesing #Tool
A tool that generates a stepped gradient between two colors (in HEX, HSL, and RGB formats).
- https://colordesigner.io/gradient-generator
A tool that generates a stepped gradient between two colors (in HEX, HSL, and RGB formats).
- https://colordesigner.io/gradient-generator
colordesigner.io
Gradient Generator - colordesigner.io
The tool itself is used to generate a gradual change in the color gradient from one color to another, essentially leaving the user with a result of many different in-between colors of the blend.
#WebDesing #Images #Icon #Free #Tool
Paquetes de iconos de diversas categorias para su uso gratuito tanto en proyectos personales como comerciales.
- https://www.flaticon.com/
Paquetes de iconos de diversas categorias para su uso gratuito tanto en proyectos personales como comerciales.
- https://www.flaticon.com/
Flaticon
Free Icons and Stickers - Millions of resources to download
Download Free Icons and Stickers for your projects. Resources made by and for designers. PNG, SVG, EPS, PSD and CSS formats
#Github #MachineLearning #PHP
PHP-ML - Machine Learning library for PHP
- https://github.com/php-ai/php-ml
PHP-ML - Machine Learning library for PHP
- https://github.com/php-ai/php-ml
#Tool #Email #Free
Plataforma para testear tus correos electrónicos, capturandolos en una bandeja de entrada especial para testing.
- https://mailtrap.io/
Plataforma para testear tus correos electrónicos, capturandolos en una bandeja de entrada especial para testing.
- https://mailtrap.io/
Mailtrap
Mailtrap: Email Delivery Platform
Email Delivery Platform designed for product companies with high sending volumes. Send marketing, mass, and transactional emails. Try now!
#JavaScript #API #Markup #JAMStack
JAMStack. Qué es el JAMStack? Una alternativa separada ha stacks como LAMP, MEAN o MEAN. Generador de sitios estaticos.
- https://jamstack.org/
JAMStack. Qué es el JAMStack? Una alternativa separada ha stacks como LAMP, MEAN o MEAN. Generador de sitios estaticos.
- https://jamstack.org/
#Learn #Programmers
Programación Orientada a Objetos - Conceptos basicos
- https://ferestrepoca.github.io/paradigmas-de-programacion/poo/poo_teoria/concepts.html
Programación Orientada a Objetos - Conceptos basicos
- https://ferestrepoca.github.io/paradigmas-de-programacion/poo/poo_teoria/concepts.html
#PHP #Tips #Post #Learn
Cómo crear un sistema de caché simple y eficiente con PHP
- https://programacion.net/articulo/como_crear_un_sistema_de_cache_simple_y_eficiente_con_php_2146
Cómo crear un sistema de caché simple y eficiente con PHP
- https://programacion.net/articulo/como_crear_un_sistema_de_cache_simple_y_eficiente_con_php_2146
Programación en Castellano.
Cómo crear un sistema de caché simple y eficiente con PHP
Cuando desarrollamos sitios web PHP desde cero y sin frameworks, la velocidad suele ser un problema. Los sistemas de caché son extremadamente útiles para acelerar las páginas web desarrolladas con PHP.
En este artículo, te mostraré cómo crear
En este artículo, te mostraré cómo crear
#NodeJS #Tips #Learn #Helpful
The largest Node.js best practices list (September 2019)
- https://github.com/goldbergyoni/nodebestpractices
The largest Node.js best practices list (September 2019)
- https://github.com/goldbergyoni/nodebestpractices
GitHub
GitHub - goldbergyoni/nodebestpractices: :white_check_mark: The Node.js best practices list (July 2024)
:white_check_mark: The Node.js best practices list (July 2024) - goldbergyoni/nodebestpractices
#Security #Testing #Learn #Helpful #Tips
Checklist of the most important security countermeasures when designing, testing, and releasing your API
- https://github.com/shieldfy/API-Security-Checklist
Checklist of the most important security countermeasures when designing, testing, and releasing your API
- https://github.com/shieldfy/API-Security-Checklist
GitHub
GitHub - shieldfy/API-Security-Checklist: Checklist of the most important security countermeasures when designing, testing, and…
Checklist of the most important security countermeasures when designing, testing, and releasing your API - shieldfy/API-Security-Checklist
#Learn #Post #DesignWeb #Design #UI #UX
How to implement “Atomic Design” in your current project
- https://blog.prototypr.io/how-to-implement-atomic-design-in-your-current-project-368005f5c044
How to implement “Atomic Design” in your current project
- https://blog.prototypr.io/how-to-implement-atomic-design-in-your-current-project-368005f5c044
Medium
How to implement “Atomic Design” in your current project
Now, if you read my previous post about what is Atomic Design and the basics of it, you might be wondering… “This is awesome but how I…
#JavaScript #WebDesing #Helpful
Drag and drop so simple it hurts
Features
* Super easy to set up
* No bloated dependencies
* Figures out sort order on its own
* A shadow where the item would be dropped offers visual feedback
* Touch events!
* Seamlessly handles clicks without any configuration
- https://github.com/bevacqua/dragula
Drag and drop so simple it hurts
Features
* Super easy to set up
* No bloated dependencies
* Figures out sort order on its own
* A shadow where the item would be dropped offers visual feedback
* Touch events!
* Seamlessly handles clicks without any configuration
- https://github.com/bevacqua/dragula
GitHub
GitHub - bevacqua/dragula: :ok_hand: Drag and drop so simple it hurts
:ok_hand: Drag and drop so simple it hurts. Contribute to bevacqua/dragula development by creating an account on GitHub.
#Snippet #Helpful #Code #VisualCode #Tool #OffTopic
This is a small extension for provide the capability to convert a selected text in active window to a snippet format on output channel.
- https://youtu.be/jcZrhyMO0tY
- https://marketplace.visualstudio.com/items?itemName=nsfilho.tosnippet
- https://snippet-generator.app/
This is a small extension for provide the capability to convert a selected text in active window to a snippet format on output channel.
- https://youtu.be/jcZrhyMO0tY
- https://marketplace.visualstudio.com/items?itemName=nsfilho.tosnippet
- https://snippet-generator.app/
YouTube
Mejora tu productividad en VSCode con snippets de código personalizados - Tutorial
Clic aquí para todos nuestros cursos y tutoriales: ►http://codigofacilito.com/
Síguenos en Twitter:
►http://twitter.com/codigofacilito
"Like" en Facebook:
►http://facebook.com/codigofacilito
-----
MÁS CURSOS de CódigoFacilito:
Curso Profesional…
Síguenos en Twitter:
►http://twitter.com/codigofacilito
"Like" en Facebook:
►http://facebook.com/codigofacilito
-----
MÁS CURSOS de CódigoFacilito:
Curso Profesional…
#Rest #Helpful #API #Tool
Cross-platform HTTP and GraphQL Client
Insomnia is a free cross-platform desktop application that takes the pain out of interacting with HTTP-based APIs. Insomnia combines an easy-to-use interface with advanced functionality like authentication helpers, code generation, and environment variables. There is also the option to subscribe to a paid plan to gain access to encrypted data sync and team collaboration.
- https://github.com/getinsomnia/insomnia
Cross-platform HTTP and GraphQL Client
Insomnia is a free cross-platform desktop application that takes the pain out of interacting with HTTP-based APIs. Insomnia combines an easy-to-use interface with advanced functionality like authentication helpers, code generation, and environment variables. There is also the option to subscribe to a paid plan to gain access to encrypted data sync and team collaboration.
- https://github.com/getinsomnia/insomnia
GitHub
GitHub - Kong/insomnia: The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local…
The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage. - Kong/insomnia
#Offtopic #Video #Code #Learn
Refactorizar rima con Simplificar, o por qué el miedo conduce a código inmantenible
- https://youtu.be/iytUjwSfjDE
Refactorizar rima con Simplificar, o por qué el miedo conduce a código inmantenible
- https://youtu.be/iytUjwSfjDE
YouTube
Javier Abadía - Refactorizar rima con Simplificar, o por qué el miedo conduce a código inmantenible
Feliz año a todos!!! 🥂😄
» "Que tus esfuerzos estén a la altura de tus ambiciones"
- Anónimo -
» "Que tus esfuerzos estén a la altura de tus ambiciones"
- Anónimo -