HotspotMap
HotspotMap is an application that shows Hotspots dedicated to developers. The goal is to find the best place to work when you are far from your workplace or your home.
HotspotMap is my first project using PHP 5.0. My academic background usually turned me through Java EE and I was happy to discover how are made most of the website we can find over the internet. To be efficient, we used a Symphony based framework called Silex.
Silex
A PHP micro-framework standing on the shoulder of giants
Silex is a PHP microframework for PHP 5.3. It is built on the shoulders of Symfony2 and Pimple and also inspired by sinatra.
A microframework provides the guts for building simple single-file apps. Silex aims to be:
- Concise: Silex exposes an intuitive and concise API that is fun to use.
- Extensible: Silex has an extension system based around the Pimple micro service-container that makes it even easier to tie in third party libraries.
- Testable: Silex uses Symfony2’s HttpKernel which abstracts request and response. This makes it very easy to test apps and the framework itself. It also respects the HTTP specification and encourages its proper use.
HotspotMap
HotspotMap use a lot of JavaScript and particulary the Google Map API. Furthermore, we provided a REST API to communicate with the application so we had an intensive use of ajax to populate our view.
GitHub
HotspotMap is Open Source and can be found on GitHub there. This is an engineering school project (ISIMA), we had time restrictions and so it is a quick & dirty implementation. This project aims to practice and get started with PHP & Silex.