Version 13 (modified by alexandre.fonseca, 9 years ago) (diff)


Development of community features in Bazaar

Project details


GPL V2 (the current license used for all Caixa Mágica's internal projects)

Purpose of this project

Develop new and existing community-enhancing features in Bazaar Android.

Project description

The development will be focused on the following features:

  • Adding comments and ratings webservices.
  • Adding latest comments and likes to the front page.
  • Implementing a wishlist feature where users can post applications they need and developers can fullfill the requests. Also implement correspondent webservices.
  • Making automated tests that shall be run to check for server consistency at scheduled intervals.
  • Performance enhancements.


  1. [18/07/2011 - 22/07/2011]
    • Create this webpage [DONE]
    • Setup sandbox development environment [DONE]
    • Plan and mockups design [IN PROGRESS]
    • Prepare internal presentation [DONE]
    • Study existing code [DONE]
  1. [25/07/2011 - 29/07/2011]
    • Further code study
    • Add comments webservices
    • Add ratings webservices
  1. [01/08/2011 - 05/08/2011]
    • Add latest comments and ratings to the frontpage
    • Start work on the wishlist feature
  1. [08/08/2011 - 20/08/2011]
    • Develop and complete wishlist feature
  1. [22/08/2011 - 02/09/2011]
    • Make automated tests for consistency
  1. [05/09/2011 - 09/09/2011]
    • Extra time margin (for eventual complications and/or new features).
  1. [12/09/2011 - 16/09/2011]
    • Polish last details
    • Prepare final internal presentation
    • Help with performance enhancement development

Risk Mitigation, Monitoring and Management Plan

Risks Identified

  1. Setup of a sandbox development environment that mimics the site currently in production.
  2. Performance is a critical asset and, as such, code should execute as quickly as possible.
  3. High security standards due to great client base.

Risk Mitigation

  1. Configuration of Apache, PHP and PostGreSQL on the local development machine. Installation of needed php modules and import of partial site database.
  2. Special care will be taken in regards to caching mechanisms and to reduce unneeded cpu cycles and queries.
  3. Make sure that common exploits such as SQL Injection and XSS are not ignored and steps are taken to prevent them. Try to spot further attack vectors.

Risk Monitoring

Weekly progress checking and subsequent plan adjustment (if needed). Setup daily objectives and verify if they were indeed completed.


Caixa Mágica Software

Company description

Caixa Mágica is one of the open source projects with most historical background in Portugal.

Born in a college environment at ISCTE in 2000, has been growing steadily for the last eight years, supported by a set of visions, mission and values and a strategy the help maintaining the focus on open source technologies.

In 2004, a spin-off company started, being held a strong relationship with ADETTI through a contract of shared development. The company Caixa Mágica Software had positive results in 2004 and has been growing 30% each year.

Today, Caixa Mágica has 15 to 20 collaborators distributed along three main areas:

  • Product: engineering team that develops the Linux Caixa Mágica distribution.

Currently, about 900 units are sold each month, spread along online sales, store and special programs.

  • Outsourcing: projects that highly demand open source technologies and where our professionals are an added value.
  • Research: European and National projects that feed technology and competence to other business units. At the moment we have a cycle of three years from the initial research to product availability.

Added to the three main areas, Caixa Mágica has three more areas of smaller dimensions but growing: Training, Professional Services and Appliances.


Cláudio Luís

Trainee details


Alexandre Jorge Fonseca

Past experience

Has worked on several freelance projects related to client and server programming using a multitude of languages such as PHP, Python, Java and C++. Also has extensive experience in frameworks like OpenGL, wxWidgets, Drupal and CMS Made Simple.

In addition, between 2009 and 2010, held the office of Director of Information Systems in SystemsGroup, a junior enterprise composed entirely by IST students.

Was awarded a Merit Scholarschip for the academic year of 2009-2010 by Instituto Superior Técnico.

Current situation

Has finished the 2nd year in BSc in Information Systems and Computer Engineering by Instituto Superior Técnico.

Development process used

The trainee expects to put the following process to good use:

Motivation for the project

In an age when the web is driven by community interaction and contribution, it is crucial that Bazaar Android succeeds in providing a pleasant and fullfiling user experience in that regard. It is with this in mind that an effort to develop new community features and enhance existing ones will be undertaken.

Furthermore, the recent and unexpected growth of the bazaar community has put additional stress to the existing platform and performance and security are gaining increasing relevance to the platform.

Project documentation