Skip to main content

GSoC’17 Coding period | Week #3 | Drupal





With the conclusion of the third week of Google Summer of Code 2017, the initial phase of the coding period is coming to a closure. The conceptualization developed during the previous weeks have been of immense help, and has been of notable assistance for the completion of the ports for the first phase.
The previous week, as I had stated in my earlier blogpost, I had to port the following sub-modules regarding the UC Wish list framework:
As I had mentioned in the previous blogpost, till week 2 I had almost completed the first port by configuring the administrator wish list settings and completing a substantial portion of managing user wish lists. With the conclusion of week 3, I have completed the port of the administrator wish list settings. Moreover, I have also included the ‘Add to wish list’ feature as part of the second port.
Thereby I would briefly like to state the steps taken to port the above functionalities:
  • Manage user wish lists:
    • Implementing hook_menu by defining Routes, which are basically are the mappings between URL paths and their corresponding page and access callbacks, stored in the uc_wishlist.routing.yml file by the route name uc_wishlist.admin_wishlist. 
    • Creating database queries to query the user and related wish list information and retrieving them.
    • Creating a corresponding Controller class by implementing a function to retrieve a paged list of wish lists by querying the related database created in the /src/Controller directory.
    • Providing the required menu link associated with the port in YAML format in the uc_wishlist.links.menu.yml file.
As mentioned above, I was able to port the ‘Add administrator wish list settings’ and include ‘Add to wishlist’ & ‘Add to cart’ features as a part of the previous week’s regime. The associated bug fixes would be fixed as per schedule. The next week would include the final portion of the first phase of the coding period, wherein I intend to implement viewing/updating the user wish list after adding products to a specific wish list, by implementing Views Integration through the Views module. The code associated with the port can be found here.
Winding up, these were the objectives and concepts learned during the third week of coding phase in GSoC’17. Hope to learn many more new concepts in the coming weeks for the successful completion of the port.

Cheers!

Comments

Popular posts from this blog

GSoC’17 Coding period | Week #2 | Drupal

Google Summer of Code 2017 has entered yet another week and with the conclusion of week 2 of the Coding Phase, things in general have become much more elaborative, as well as exciting ! The previous week was significantly noteworthy in terms of the intricacies and topics dealt with for the  objectives undertaken for the first phase. I was also able to manage time better to focus more towards my project, and the implementation in particular. In the previous blogpost , I had mentioned about the port objectives decided with regard to the first phase of the coding regime. As planned earlier, my main intent for the week was to port the functionality ‘Add administrator wish list settings’. The port of this sub-module encapsulated the completion of the following objectives: Configuring the wish list settings by administrator: This feature allows the administrator to implement crucial settings related to any wish list for authenticated users.  ...

GSoC’17 Coding period | Week #10 | Uc Wishlist

With the conclusion of the tenth week of Google Summer of Code 2017, the coding regime is almost halfway through the third phase. Meanwhile, last week saw a stringent buildup on the concept for the remaining ports, which would aid in its gradual completion. I have maintained a detailed structure of the code for the port which can be accessed here . Focusing on the present scenario, the implementation of the 5th port ‘Email wishlist to users’ has almost reached completion. Additionally, the implementation of the last port ‘Add user wish list settings’ is underway, with a significant portion of the port to be accomplished within the coming week. Therefore, based on a comprehensive evaluation of the current status of the module, the work done previous week can be summarised as: Option to email wishlist to others: This feature would enable users or wish list owners to share any wish list with other users or potential customers by emailing it to the respe...

GSoC’17 Coding period | Week #4 | Drupal

The fourth week of Google Summer of Code 2017 has come to a close, bringing forth the onset of the First Evaluation Period. The conceptualization developed during the first phase of coding have been of immense help and has provided notable assistance for the completion of the assigned ports. As I had stated in the previous blog posts, this month I had the objective of completing the following ports concerning the first phase of the coding regime: Admin wish list settings Add to wishlist  With the conclusion of week 4, I have completed the port of the administrator wish list settings as well as the ‘ Add to wishlist ’ feature as part of the second port. Also for the ‘ Add to Wishlist ’ functionality to work successfully, my next objective would be to add the functionality to view/access the user wish list, on using the button. This functionality would further be succeeded by the option to update the specific wish list, by displaying the required button ...