Sebastian Mihalache
Setup Testing and Fixtures in Symfony2: The Easy Way
Setting up testing and fixtures in Symfony2 is vital if you plan on starting Test Driven Development or you simply want to start covering your code with properly written tests that can access mock data. 1. Install PHPUnit and php 5.6 The first thing you need to do is to install PHPUnit on your machine: [crayon-643956ed57506639213294/] and then, if needed, also upgrade your PHP version to…
Send Emails in Symfony2: The Right Way
No matter what your app is about, at one you point you will have to send emails in Symfony2. Even though this process might seem straightforward and easy to apply, it can actually get pretty tricky. Here's how you can send emails in Symfony2 by properly splitting your functionality and templates. 1. Mailer parameters First off, you're going to need to add some email data into your…
Symfony2 Facebook and Google Login: The Easy Way
Since pretty much any potential user of an app has a Facebook or a Google account, it's crucial to have a login or registration service using these social networks. Luckily, HWIOAuthBundle provides the necessary tools to accomplish this. So here's an easy and straightforward way to integrate HWIOAuth in our app alongside FOSUserBundle: 1. Configure HWIOauthBundle Assuming that you've…
What Nobody Tells You When You're a Junior Developer
Hooray! You've landed your dream job and you can now proudly call yourself a Junior Developer. The future looks nothing but bright and your awesome life story is underway. But now the hard part actually begins. Here's how you can stay on top of things with some useful tips I wish I knew when I was in your shoes as a junior developer.
An Introduction to Artificial Intelligence: Facts and Fallacies
One way or another, we all heard of Artificial Intelligence. It's been there since we were born and it will surely outlive us. It’s a promise of a Utopian future and could be a harbinger of our own demise. It could help us end poverty, disease and pollution or it could see us a threat and decide to take us out. Whatever the future might hold, one thing's certain: Artificial Intelligence is (or…
How to Show the Full Path in the OS X Terminal
Working and constantly switching between multiple projects in the OS X Terminal or iTerm (whatever you prefer) can be hassle since, by default, you cannot see the full path of the directory you're working in. Here's how to change that. But first, in the spirit of full disclosure, I'd like to mention that I only found out how to display the full path after I accidentally destroyed the…
Who Really Invented the Internet?
While some see it as one of the greatest evolutionary steps in the history of mankind, most of us still use it for cat videos and annoying status updates. Nonetheless, the Internet has clearly taken over our lives, being directly present in our homes, our pockets, our workplace and soon enough, even in our brains. But who actually built the damn thing?
Should You Do Scrum?
"It is not the strongest of the species teams that survives, nor the most intelligent. It is the one that is most adaptable to change." That should be a good enough reason for all teams out there to adopt Scrum, from wedding planners to construction companies. But that isn't always the case and if you stick around, you're going to find out why.
iOS vs. Android - Which One Should You Choose?
Six users, six questions. After a (very) long research about which mobile OS is better between the two, I realized that the simplest way to find that out is by actually talking to people that use them. As you might expect, everyone has its own requirements and tastes, but in the end, one of the two OSs clearly stands out.
What are transactional emails?
Every now and then, you might come across a technical term that's not that self-explanatory. One such term is a 'transactional email'. Although few people outside of the email business actually know what that stands for, it's one of the most important aspects of every business that generates its revenue on the Internet.