React vs. Angular – The developers slowly and gradually started moving from Angular to React

However, once React made up to the center stage, there was a drift in the paradigm. The developers slowly and gradually started moving from Angular to React as it was much better than Angular in terms of speed, efficiency, view library, simple API, and lightweight components.

Moreover, Angular had a few drawbacks causing problems and irritation for the developers and so they began to look for other alternative.

Why are Developers Planning to Drift Towards React Instead of Angular: https://www.mindinventory.com/blog/what-makes-developers-choose-react-over-angular

Protect your javascript source code

Your source code is public if you don’t know this simple trick:

When you build your project, the process generates a folder called “build” or any other as per framework policy. Just go to the build folder, and you will find some .jsextension files, and some are .map extension files. The js & map files are the source and map files. The map files are also important while developing. The map helps to debug.

There are two simple solutions to solve the problem. The ultimate target is to remove map files before deployment. Here is a simple way you can use it. Add GENERATE_SOURCEMAP = false at your package.json script section.
“scripts”: {“build”: “GENERATE_SOURCEMAP=false}
Removing maps manually will also work, but this is now a proper way.

https://medium.com/dev-genius/your-source-code-is-public-if-you-dont-know-this-e24a500edc5c

GIT – How to remove node_modules

Create a .gitignore file in the git repository if it does not contain one
touch .gitignore

Open up the .gitignore and add the following line to the file
**/node_modules

Remove the node_modules folder from the git repository
git rm -r –cached node_modules

Commit the git repository without the node modules folder
git commit -m “Removed node_module folder”

Push the repository to github
git push origin master

After all of that, you should also add the gitignore and commit it to the repository

git add .gitignore

git commit -m “Updated the .gitignore file

git push origin master

https://gist.github.com/lmcneel/45594e550a3403d589bdcaad38138a83

Google Cloud Spanner: SQL, Cloud Spanner with PHP

Spanner: SQL adatbázis a Gmail és a YouTube alatt: Tőzsér Tamás, az Aliz (leánykori nevén Doctusoft) technológiai vezetője a 2017. november 29-i HWSW mobile! digitális termékfejlesztési konferencián tartott, alább megtekinthető előadásában elmesélte milyen problémák járnak együtt a NoSQL adatbázisokkal, és a Spanner hogyan tudja megoldani ezeket.

https://www.hwsw.hu/video/104/spanner-sql-adatbazis-google-cloud-tozser-tamas-aliz-hwsw-mobile.html

Storage
Regional pricing (USD): From $0.30 per GB per month

Multi-region pricing (USD): From $0.50 per GB per month

https://cloud.google.com/spanner#section-7

Getting started with Cloud Spanner in PHP:
https://cloud.google.com/spanner/docs/getting-started/php