Category: Programação

Jeroen de Dauw: Implementing the Clean Architecture

Jeroen de Dauw: Implementing the Clean Architecture

In a recent post to his site Jeroen de Dauw looks at some of his own work and ideas around implementing clean architecture in PHP-based applications. The idea behind "clean architecture" is a focus...

SitePoint PHP Blog: Writing Async Libraries – Let’s Convert HTML to PDF

SitePoint PHP Blog: Writing Async Libraries – Let’s Convert HTML to PDF

The SitePoint PHP blog has another tutorial posted from author Christopher Pitt looking at writing async libraries with PHP. In this particular article he focuses on just one of many tasks an asynchronous library...

How I Quit My Job at Tighten

Last week, I handed in my resignation to Dan and Matt. After three years with Tighten, I’ll be moving on to work with another company. At Tighten, we always want to find new ways...

Community News: Latest PECL Releases (02.21.2017)

Community News: Latest PECL Releases (02.21.2017)

Latest PECL Releases: sync 1.1.1– Fixed *NIX event object sync_WaitForUnixEvent() issues. memcached 3.0.3PHP7 release of memcached extension. Note that support for libmemcached 0.x series has been discontinued and the oldest actively tested version is...

HTTP/2 – A Real-World Performance Test and Analysis

Perhaps you’ve heard of HTTP/2? It’s not just an idea, it’s a real technology and slowly but surely, hosting companies and CDN services have been releasing it to their servers. Much has been said...

JPA/Hibernate – Como funciona a anotação @version?

JPA/Hibernate – Como funciona a anotação @version?

Recentemente, um colega de trabalho me perguntou qual era função da anotação @version presente nas entidades do projeto. Achei interessante essa pergunta e resolvi fazer da resposta o meu primeiro artigo. Para responder essa...

Produtividade no Eclipse

Produtividade no Eclipse

Quem trabalha com desenvolvimento de software, em algum momento já se pegou realizando uma tarefa repetitiva ou massante na hora de codificar, porém, as ferramentas de IDE (Integrated Development Environment) disponíveis estão cada vez...

Building Your Startup: Completing Group Scheduling

What You’ll Be Creating This tutorial is part of the Building Your Startup With PHP series on Envato Tuts+. In this series, I’m guiding you through launching a startup from concept to reality using my Meeting Planner app as...

Duck-typing in PHP

Duck-typing in PHP

For quite some time now the PHP community has becoming more and more professional. “More professional” in part means that we use more types in our PHP code. Though it took years to introduce...

Example 2 – The Sandlot

Example 2 – The Sandlot

What is this? This app demonstrates how to create a resuable component and how to inject it into the browser. This app displays a batting order for a baseball team using a #player-card component....

Using Zones in Angular for better performance

Using Zones in Angular for better performance

In our latest article, we talked about how to make our Angular apps fast by exploring Angular’s ChangeDetectionStrategy APIs as well as tricks on how to detach change detectors and many more. While we...

Brincando com riscos

Suposições são coisas interessantes – todos nós as fazemos, o tempo todo, e raramente reconhecemos que estamos fazendo. Quando se trata de desenvolver uma estratégia de produto – ou mesmo tomar decisões sobre a...

PHP.net: PHP 7.1.2 Released

PHP.net: PHP 7.1.2 Released

The official PHP.net site has announced the release of the latest version in the PHP 7.1.x series: PHP 7.1.2: The PHP development team announces the immediate availability of PHP 7.1.2. Several bugs have been...

Playing with RabbitMQ, PHP and node

Playing with RabbitMQ, PHP and node

In the latest post to his site Gonzalo Ayuso shares some of the results of his "playing with RabbitMQ, PHP and node", creating a queue system that both languages could talk to easily. I...

GPG para mim e para você

O objetivo desse artigo é ensinar a usar uma criptografia assimétrica para manter informações fora do alcance de indivíduos, como por exemplo seu primo curioso que conserta computadores de graça ou alguma agência de...

Adventures in Science: How to Use Calipers

Based on a suggestion by user Sembazuru, we made a video showing you how to use calipers! Digital calipers are fairly straightforward, but it can be a little tricky to read dial and Vernier...

Laravel News: Laravel Collection “tap” Method

Laravel News: Laravel Collection “tap” Method

In this recent post to the Laravel News site Eric Barnes introduces a new method that’s included in Laravel 5.4.10: the "tap" method. Laravel 5.4.10 introduces a new tap method on collections which allow...

Squeezy Stretchy Flexbox Nav

Squeezy Stretchy Flexbox Nav

I saw an interesting take on off-canvas navigation the other day over on The New Tropic. It wasn’t the off-canvas part so much. It was how the elements within the nav took up space....

That Podcast: Episode #38 – Bullet

That Podcast: Episode #38 – Bullet

That Podcast, hosted by Beau Simensen and Dave Marshall, has posted their latest episode – Episode #38: Bullet: Beau and Dave discuss Sunshine PHP, Bullet Journaling, Mockery and Symfony Experiments. Other topics mentioned include...

Swift From Scratch: Collections and Tuples

In the previous article, you learned about variables, constants, and some of the common data types, such as integers, floats, and strings. In this article, we zoom in on collections. Swift’s standard library defines...

Importando dados rapidamente no MySQL.md

Importando dados rapidamente no MySQL.md

Há um tempo, meu amigo Frank de Jonge me contou que conseguiu aumentar a performance em uma importação de 10h para 16 minutos. De acordo com ele, as alterações envolviam campos que eram muito...

Variables declared using const are not immutable

Variables declared using const are not immutable

Using const only means that the variable will always have a reference to the same object or primitive value, because that reference can’t change. The reference itself is immutable, but the value held by...