PHP is dying faster because … (part 1)

PHP was well-known for its speed of development (no compilation or formal build process); even for developers from alien worlds like Java esp. when developing prototypes; because it was easy to learn, develop and deploy on almost any platform. I have been coding for almost 18 years now. I picked up PHP as a natural … Read morePHP is dying faster because … (part 1)

Online Relocation: Moving from 1and1 to AWS Route 53 and Digital Ocean

Even though it is time consuming, I think we have to reconsider our web hosting options regularly. If our current provider does not renew its products and services, together with their pricing structure (Amazon does, 1and1 does not), they become less competitive. After long research, I have decided that AWS has confusing pricing structure and … Read moreOnline Relocation: Moving from 1and1 to AWS Route 53 and Digital Ocean

EU VAT Number Validation SOAP Service

We are a VAT registered company in UK, and I am the lead developer of a small team. http://www.whatusersdo.com/ Like many online global businesses invoicing clients from many different countries, we are obliged to invoice them correctly with or without VAT whether they are VAT registered companies within EU or not, or individuals, etc. So, … Read moreEU VAT Number Validation SOAP Service

Architecture is everything, plan for speed at the beginning

We’ve recently needed to compare our file storage areas on Amazon and Rackspace. We’re mainly using Amazon S3 and using Rackspace Could Files to backup those files in S3. I’ve written couple of simple PHP scripts to get information (name, size, etag, date modified) about the files kept on Amazon and Rackspace using their corresponding … Read moreArchitecture is everything, plan for speed at the beginning

Dreamer

He’d been looking for something all his life, something was missing.. One day, he unexpectedly died when he was looking.. in front of a laptop, head down on to the keyboard slowly, like falling asleep, no single spill of cheap lemonade on the table, unlike the lemonades, he used to dream, of the Mediterranean. No … Read moreDreamer

Composer for PHP: Do we really need it?

If you are wondering what we are dealing with in PHP world on a day to day basis, here is an example: just check http://getcomposer.org and autoload*.php files in it!! It’s supposed to be a solution!? First of all, PHP saved us huge pain by autoloading classes. It’s been brilliant! Now, it is a mess, … Read moreComposer for PHP: Do we really need it?

PHP get_browser function to detect user’s OS and browser details

I’ve just lost a day because of this stupid browser_name_regex property: e.g. “§^mozilla/5\.0 \(.*windows nt 6\.1.*wow64.*\) gecko/.* firefox/29\.0.*$§” To replicate the issue and work around bloody ‘§’ character, please see below. Whose idea was it to use that character?!

To use a framework or not to use a framework: again!

If using a PHP framework is recommended for its reusability, maintainability, popularity; why would a developer create a web application which does not have many reusable parts, which is not easy to maintain, and which takes time to learn even though you can easily find another developer who used it before?! Here are some interesting … Read moreTo use a framework or not to use a framework: again!