Web Developer
AlWasatt Network FZ-LLCOct 2012 - May 2013
Built new modules and search for a professional social network in the Middle East, with PHP, Symfony and Elasticsearch in a Scrum team.
Technologies Used
- PHP
- Symfony
- Doctrine
- jQuery
- GitHub
- Elasticsearch
- Pivotal Tracker
- MySQL
AlWasatt set out to build the LinkedIn of the Middle East: a professional network where companies and employees talk to each other. Not a straight copy. It was meant to be made in the Gulf, by people from Dubai and the region, for how people there work. I spent eight months there building its social network features.
What I worked on
- New modules: features on top of the core network, such as professional profiles, connections, company pages and messaging
- Search: people and content search on Elasticsearch, including indexing and result relevance
- Bugs: tracking down and fixing issues across the platform
- APIs: REST endpoints for the frontend and outside integrations
- Frontend: dynamic pages with jQuery and AJAX
How we worked
The team ran Scrum: sprint planning, daily standups, retrospectives, work tracked in Pivotal Tracker, and code reviewed through pull requests on GitHub.
Features I built
The network side: profiles for people and for companies, messages from one user to another, following someone or adding them as a friend.
The professional side: skills with endorsements on profiles, and job postings from companies.
Search tied it together. People search with suggestions for who to connect with, content search, and filters and sorting on top of the results. Most of the work was in indexing and in getting the right results to the top.
The hard parts
A social graph gets heavy fast. Every page asks who is connected to whom, and those queries hit MySQL on every request until you cache them. I spent a good share of my time on query tuning, caching the data people read most, and tuning Elasticsearch queries and indexes.
Privacy was the other one. Each feature needed rules for who can see what, plus a way to report and moderate content.
On the backend I wrote Symfony services with Doctrine for data access, handled login and permissions, and wrote unit and integration tests for the features I shipped. On the frontend, jQuery and AJAX for the interactive parts, and responsive pages that worked on phones and across browsers.
Stack
PHP, Symfony, Doctrine ORM, MySQL, Elasticsearch, jQuery, GitHub, Pivotal Tracker.
What I took from it
This is where I really learned Symfony. I had used it once before, on Post Scan Mail at Softxpert, but AlWasatt was the first place I worked next to people who used it every day, with support from the company behind Symfony itself.
A few months later I took the same stack to Namshi.