Project information
Project page on drupal.org: http://drupal.org/sandbox/eltermann/1119080
Student: Felipe (eltermann)
Mentor: Ryan (rszrama)
Description
Make an interface between defined settings and an existing Rules instance (event/condition/action).
The main goal is to make possible to build friendly administrative interfaces that use Rules behind the scenes (although the user doesn't need to know about Rules).
As a use case, it will be implemented a way to configure discounts in Drupal Commerce.
Progress
-
May 23 - May 29: Get familiarized with D7, Entity API, Fields API and Commerce
- Read about Entities and Fields (got a clear explanation at this Drupal Entities post)
- Read Drupal Commerce documentation
- Setup development environment (using commercedev installation profile)
-
May 30 - June 5: Get familiarized with Rules, and specifically how Commerce integrates with it
- Study Rules 2: I found this interesting fago's thesis that gave a good idea about how Rules integrates with Entities. Also read about Entity contrib module.
- Find Drupal Commerce pricing related event: commerce_product_calculate_sell_price - this will be the base event we will use
-
June 6 - June 12 *: Make a good definition of "Configurable Data" and plan how the translation into Rules will work
- Study how Rules store data and build UI.
-
June 13 - June 19 *: Design pretty good interfaces of generic Configurable Data and / or discounts specific setup pages *
- I did some draws to ilustrate what kind of interfaces we want.
-
July 11 - : Restart coding
- Started development of Intermediate Rules (see http://drupal.org/sandbox/eltermann/1217196)
- I'll try hard to have a minimal version of this module on July 18