Tag develop

Read about the posts of tag develop

I know it’s difficult to explain, but part of my job is testing an environment and find bugs. People think it’s boring, but I’ll find this part quite interesting.
Victor, call me an expert; as I told you, I always find it.

But, what is a bug?

A bug is not a “bug” (little animal) is an error in digital environments. It’s mean that something it’s supposed to run, do not run correctly.

As a digital project manager, I test websites, microsites, apps but when I’m a regular user I find it on all the sites I’m usually using. This last week, I tried to buy online food, I write “I tried” but I had a lot of problems.

  • Alcampo.es, we discovered a few months ago, that is the cheapest grocery in Barcelona, so we bought it there, but this week in my house did not run the website. First, we tweeted to Alcampo and said to them, but then discovered that our IP is blocked!! For a range of IPs, see the image below. Scaring moment!!! hahahaCSfm4z2WEAAlhkP
  • La Sirena, I tried to do my shopping online, but I had no user, so first I signed up. I received an e-mail to confirm my user, so when I logged in, said that my user did not exist, so as a “normal user” I will go, but as a professional, I tried again and recovered my password so I received 2 e-mails with 2 different passwords, quite easy for all. ;) Finally, I logged in! Yuhuuuu Then I preferred to pick my cart at the physical shop, so I used the shop searcher, but when I wrote the CP or the address did not work again. The resulted shops are not correct, I wrote CP 08014 (it means Barcelona city) and appears other cities like El Masnou, Sabadell, Terrassa, see the screenshots: (Scaaaaaring all!!)



So, this is our scary moment, our particular dairy Halloween. Bugs are like zombies appears when you least expect it…


I recently spoke with a personal fan of PHP development. He had developed a page with Bootstrap and PHP, and things of life, we found a huge bug in the registration and user login. After talking a while with this person I realize that the guidelines or implementing rules were was still PHP 5.1 or PHP 5.2 (today we use PHP 5.6). Use functions mysql_ for the connection and query to the database, the PHP pages use pattern spaghetti (Spaghetti Code, POO absent, etc …
Worst of all, in the last year, I have seen a lot of this type of code. So we are working to changing this. One of the problems is how difficult it is nowadays to find reliable articles on Google. If we search something as normal as PHP database connect appears results like these:search for sql connection for development Check the first three results, they are obsolete PHP documentation. In PHP 5.5 marked as deprecated the mysql_ functions and PHP 5.6 does not work.
 The fourth result is a post that explains how to create a database connection (what we wanted!) but… in 2006. 9 years ago! When people – who want to start in the development’s world – find these results and followed them, please do not follow, unfollow them. I recommend the following guidelines, updated in 2015 that explain the current way of developing in PHP.
PHP The Right Way
PHP Best Practices
These guidelines will help you have a more solid foundation in development with PHP.