Facebook Map App (Vagrant/Puppet PHP Scaffold)
Overview
“fbharta” (Romanian for Facebook map) is an early build for a Facebook map application, captured mainly as its development scaffolding: a Vagrant/Puppet PHP environment with XHProf profiling, ready to host the app code under a proiect/ directory.
Why It Exists
To stand up a reproducible PHP environment for building a Facebook-integrated mapping app, with performance profiling baked in from the start.
What We Built
A Vagrant box (precise64, Ubuntu 12.04) provisioned via shell + Puppet (initial setup, Puppet update, librarian-puppet) using a Hiera config, with the working tree synced to /var/www and port 80 forwarded to 8080. The repo includes an xhprof/ directory for PHP profiling, files/, shell/ and puppet/ provisioning assets, and a proiect/ folder for the application itself. The committed index.html is a placeholder.
Technologies & Approach
Vagrant + Puppet + Hiera for infrastructure-as-code, XHProf for profiling, targeting a Facebook map/PHP app. The emphasis is on a clean, repeatable environment as the foundation for the build.
Outcome / Impact
The scaffolding and provisioning are intact; the application logic did not survive in the backup. It illustrates the developer’s environment-first, profiling-aware approach to building Facebook apps.
Capabilities Demonstrated
- Reproducible PHP dev environments with Vagrant + Puppet + Hiera
- Performance profiling setup with XHProf
- Scaffolding Facebook-integrated web applications