Responsive layout with React Hooks

Tram Ho

Introduce Responsive is an almost mandatory requirement for websites at the moment when mobile traffic accounts for about 55%, according to statistics here. So today I will share about how to handle responsive interface with React Hooks, which you will...

Read more

Lambda, Closure and Callback in PHP

Tram Ho

Hello everyone, in this article, I would like to share a little of what I have learned about Lambda, Closure and callbacks in PHP, hope everyone will follow. 1 Lambda 1.1) What is Lambda? Lambda  is an anonymous function that can...

Read more

Sync Adapter Framework – Better ways to sync

Tram Ho

I. Introduction This article introduces everyone to Sync Adapter - a tool that allows synchronizing data between your device and the server, or between devices. Android's SyncAdapterFramework  allows you to build a model to store data in a central storage...

Read more

Find security holes in PHP code with Progpilot

Tram Ho

Progpilot is a PHP source code analysis tool with the aim of finding security holes. Progpilot is a static analysis tool and uses taint checking to find errors. With this technique, the ability to report errors is more accurate than...

Read more

Learn about Delegates in Swift

Tram Ho

For iOS developers, delegate is a very familiar concept and is used a lot in Apple's frameworks. In this article, I will show the nature and operation of Delegate through the simplest examples What is Delegate? In the official Apple...

Read more

What’s New in Python 3.10?

Tram Ho

The development of python 3.10 is stable and we can finally test all the new features that will be included in the final release. We'll cover some of the most exciting additions to Python - structural pattern matching, a context...

Read more

Send mail in Laravel using MailHog

Tram Ho

Hello everyone, when developing a web application, mailing tasks are used very often, so today, I will show you how to send mail in Laravel using  MailHog . In actual work, there will be a lot of tools to use for...

Read more

Rails: Implement the Policy object

Tram Ho

This article requires you to have knowledge of object-oriented, Ruby and Ruby on Rails. What is the policy object design pattern? Policy objects encapsulate and represent a single business rule. In our applications we can have different business rules coded...

Read more

Learn classes in JavaScript

Tram Ho

1. What is class? In object-oriented programming, classes, also known as classes, are used to create objects with attributes and methods. From ECMAScript 6 version, JavaScript supports creating classes like other object-oriented programming languages (Java, C++...). For example: [crayon-60cf9a5a1bd6f129413879/] When...

Read more