Hashid is a Laravel package, which encode/decode id of Laravel model and get hashed/unhashed version. It is useful when we want to hide the actual id of db object so that users don’t know the real id. composer require vinkla/hashidsphp artisan vendor:publish This will create a config/hashids.php file in your app that you can modify to set …
Unexpected behavior of PostgreSql
When you sort data in PostgreSql, using `order by` clause, its behavior is special. When there are null values in the column data, `order by column DESC` puts null values first. For example, there are only 4 rows with values ‘1’, ‘2’, ‘3’, null for column ‘A’, if developer uses `order by A DESC`, row …
Vue Place Auto-Complete
I think we can often meet some case like this, just place auto-complete in Vue framework. Generally, there are 2 kinds of packages and methods to meet auto-complete in vue: “vue-place-autocomplete”, “vue-google-autocomplete”.But place-autocomplete has some original and potential issues such as filling out of input itself, so weekly users are only 319 peoples.Otherwise google-autocomplete is …
What Is New in PHP 7?
To better performance, the following technical changes appear in PHP 7. We should familiarize themselves with these changes if they intend to switch over to using PHP 7 for their web development projects. R Return Types Return types, a common feature in most other programming languages, have finally been introduced to PHP. This means that …
Social Proof Marketing Platform Fomo
Fomo helps honest entrepreneurs show off customer interactions (purchases, opt-ins, even pageviews) with one line of code. Social proof notifications increase conversions and make your website the thriving bit of online real estate it is. We can use their service to show notifications to increase conversion rating in websites. https://fomo.com/
Forced update for Mixed type in Mongoose
There is a Mixed data type in Mongoose schema definition. The problem with Mixed type is, it doesn’t recognize update event for Mixed type. To fix this, you should call markModified function.
Crypto createCipheriv & createDecipheriv
The crypto.createCipheriv() methodis an inbuilt application programming interface of the crypto module which is used to create a Cipher object, with the stated algorithm, key and initialization vector (iv).
Atlas Kit
AtlasKit is the technical implementation of the Atlassian Design Guideline. It is a collection of reusable components that can be downloaded independently into your projects. Each component is also independently versioned and published to npm. https://bitbucket.org/atlassian/atlaskit/src/master/ https://atlassian.design/
NestJS
Nest (NestJS) is a framework for building efficient, scalable Node.js server-side applications. In recent years, thanks to Node.js, JavaScript has become the “lingua franca” of the web for both front and backend applications. This has given rise to awesome projects like Angular, React and Vue, which improve developer productivity and enable the creation of fast, testable, and extensible frontend …