Frontend Vue.js

Infinite scroll implementation in Vue.js

Infinite Scroll is a UX pattern that suggests showing users few contents on page or app load. More contents are then loaded once the user starts scrolling down the page. These contents are loaded asynchronously by making request to the server responsible for providing the content. If we need to implement the infinite scroll functionality …

Frontend Vue.js

Setting up Google Analytics in Vue.js

Google Analytics is one of the most popular digital analytics software. It is Google’s free web analytics service that allows you to analyze in-depth detail about the visitors on your website. It’s easy to embed the Google Analytics(GA) codes into the normal landing page websites, but not simple on the single page applications(SPA) since it runs …

Javascript Others

jwt && remember me functionality

JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA. Although …

Frontend Vue.js

Braintree payment implementation in Vue.js

Integrating with Braintree offers the customers many different ways to pay. For this reason, we may need to integrate the Braintree payment module on our projects sometimes. The implementation of the Braintree payment on the frontend is one of the big parts with the backend implementation. When we use the Vue.js framework to build the …

Blockchain Discussion

Memory Type Variable in Ethereum Solidity

When it is necessary to store return value of a function into a memory type variable in smart contract, the size of memory type variable should be declared before storing data https://medium.com/coinmonks/ethereum-solidity-memory-vs-storage-which-to-use-in-local-functions-72b593c3703a https://solidity.readthedocs.io/en/v0.4.24/types.html