TL;DR: Happy April Fool joke!
Hello World applications are often used to showcase framework capabilities, but they usually fail to do so! This is because real world applications are never that simple.
In this series of articles, we will demonstrate how to build a real world Hello World application.
The first part will include the following standard technologies:
- AngularJs, to write the frontend
- PostgreSQL, for the database
- Redis, a cache to reduce the high cost of querying the database
- IIS, as a web server
- Logstash/Elasticsearch/Kibana, to monitor our application
In the second part, we'll take things to the advanced level:
- FOSRestBundle to create a HATEOS compliant API with Symfony
- OAuth2 to manage authentication
- Oldsound/RabbitMQBundle, to keep our database and cache up to date
- Laravel 5 to create a backend
Of course we're going to use full stack BDD all along!
Get ready for the best "Hello World" application you've ever seen!
This was my April Fool joke, no let's get serious and build what I think is the best Hello World application:
<?php echo 'Hello world';
Note that there's no symfony, no RabbitMQ, no nothing involved. That's because a Hello World application doesn't require anything else, those tools were design to solve issues that we don't have here.
If you're concerned about our Hello World application's performance, well you shouldn't be. First of all, it's a Hello World application... As far as I'm concerned it prints pretty much instantly this way.
Second of all, you shouldn't worry about performance when building an application. This is something you should start worrying only when you have performance issues. The best thing you could do, is build the application in a way that will allow you to change it afterwards, if the need comes (and it usually will: requirements are changing by nature).
I hope you enjoyed it :) .