Skip to main content


All you need is testing

Working on legacy code sucks. I easily lose control of my own code and I have no perception about where the entire project is going! If I work in a team, you can imagine is much worst! Testing ensures the project and the developers to have exactly what we want and the results we expect. But... we don't write tests... [...]

Building your own framework in the real world

No matter if you are working on frontend or backend. Building your own framework for your business activity is a huge mistake! It can be a very good experience if you are a beginner and you are learning a new programming language but not in the real world when teams of developers must work with the same software. Many companies... [...]

About best practices and why I love them!

Best practices are always a hot topic. I love them because I like to do things in the way most of the people do it. They help me to improve my job and we can adapt our need and styles to them. We must not go so much far from them or we can be disoriented. What about style guides? Best practices are easily related to the st... [...]

I wish I was a Java developer

Java is a skill that many companies are continuing to require. I have worked for a couple of companies that use Java as core of their backend and enterprise applications. I have made a Java course and I have started coding with this language. Maybe it's the strongest OOP language I have ever used. But soon I have starte... [...]

A job experience as Frontend developer

After a significative experience with PHP, Yii 2 and other related technologies I have worked with Angular 2. with Angular 1.x and NodeJS for 4 months. This last step was the right time when I switched from PHP backend development to pure Frontend engineering. It has been a big change when I started to learn core... [...]

Angular and React Enterprise applications architecture

I was searching for pieces of information about how to build and scale large Angular applications and how other companies or even how Google do it. Until I have found something very interesting. An innovative tool and method for creating a well-organized workspace with modules, libraries, and testing, Let's learn how to buil... [...]

Analyzing traffic, improve performances and security using web debuggers

Using a web debuggers or proxy can be very useful to analyze the traffic of your website, show the performances of your web pages and try to improve both performances and security. Here we see what we can do. Popular Web debuggers Fiddler Burp Suite by PortSwigger Charles web debugger proxy Improving ... [...]

Installing both Python 2 and 3 in the same computer

I was wondering if I can have both Python 2 and 3 on Windows. To solve this problem I have followed some simple steps. Windows Install Python 2 Add c:\Python2 path on the path of your environment variables Rename python.exe as python2.exe Install Python 3 Add c:\Python3 path on the path of your environment varia... [...]

Frontend tools for Blockchain Developers

The blockchain is definitely an exciting technology. It's complex but very powerful. Don't think only to cryptocurrencies. Blockchain can be used for many other projects! Here I want to have some ideas about the tool we can use to build innovative and amazing applications with small efforts. No more talking then. Let'... [...]

Web VR and Augmented reality resources

Let's introduce Augmented Reality and Virtual Reality. What are them? Is there any difference between them? Let's start reading something on wikipedia about Virtual Reality. "Virtual reality (VR) is a computer-generated scenario that simulates experience". The are various fields of application an... [...]

Indeed API for your job search and ads

Using the Indeed API for your job search and ads is easy and you can obtain information from all countries. The localization is a little bit difficult step because Indeed has a different domain for their websites in every nation. I have built a simple API caller to make a simple query simply by keyword, place \ region (opti... [...]

Bootstrap 4 with Angular v2+

Installing Bootstrap 4 on your NG-Cli project can be more difficult than you think. NPM is a really strange dependency manager and you have always to solve problems because of its instability. I have had several errors installing any Bootstrap package. A very simple operation took me hours to find the right solution! NOTE... [...]

Including XML Sitemaps for your website

We must create and include sitemaps into our website or application. After we create the XML file, we must let the search engine to see our maps and analyze them, It will be possible to have some error but Google can inform us about broken links, URL that returns 404, redirects etc. Sitemaps Types XML sitemap, the... [...]

Structured data for HTML pages

Google Search Console recommends using structured data inside HTML pages. You can improve your breadcrumbs and insert a JSON or HTML with microdata inside your web pages to let Google know about the contents of your page and help it to create a better index with your information. In fact, they say: "Google uses structured d... [...]

Yii 2 image optimization

To optimize the images for your website, application or blog is very important for the performances. I recommend to use GIF images if possible and the same size for every images of your posts or articles. That's because It can be much easier to maintain your files and update them in any case. We need to be patient to do... [...]

NodeJS and NPM troubleshooting

NodeJS and NPM on Windows can be really terrible. I'm having many problems with PCs running Windows 8 and 10. Fixing writing permissions is boring and annoying when you don't know what is the source of the problem. The npm behavior is unpredictable and it seems it gives you always a different answer or error. NPM... [...]

Deploy Angular apps in a shared hosting

If you haven't any particular dependencies you can easily deploy your Angular app in a shared hosting using the amazing Ng Cli. Simply run: ng build --prod If you haven't any error, this command will build your app and create a dist directory. In this directory, you will find the result of your app with sta... [...]

NG Cli Travis configuration

To find a working configuration for an Angular v2+ Ng Cli application was not easy. I have built my own solution at the end and the build with Travis finally pass the tests. Remember to sync your Travis account if you have created a new repository: once you have logged in the Travis website, go to your user icon, click... [...]

Angular V2+ code documentation with Compodoc

NGCli is amazing but it still needs something more to be perfect. I was wondering if there is something about code documentation with Angular and I have found a couple of libraries very easily. Compodoc Compodoc is very easy to find on Google. I have tried it and I like it. You can install it globally with npm and sta... [...]

Yii 2 - Upgrade to bootstrap 4

Yes it is! If you upgrade your Yii 2 assets on your installation, there will be many difficulties to use the bootstrap 3 css and js files using the Yii 2 assets. So be sure you need bootstrap 4 only for your projects. First of all we update the dependencies on our composer,json file. { "require": {... [...]