Skip to main content

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 below the wish list.

Meanwhile, I have also figured out some crucial concepts regarding the subsequent ports and hope to complete the next earmarked ports before schedule for the second phase of the coding period. The code for the present status of the module 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 #8 | UC Wishlist

The eighth week of Google Summer of Code 2017 has come to a close, bringing forth the onset of the Second Evaluation Period. Presently, I've been working on porting the 'Uc Wishlist' module to Drupal 8, under the guidance of my mentor, Naveen Valecha . The conceptualization and understanding developed during the first phase of coding have been of immense help and has provided notable assistance for the completion of the assigned ports. This month, concerning this week in particular saw the completion of a significant amount of work concerning the ports assigned for the Second phase of the coding regime. The work done this week can be briefly described as follows: Fixed the 'Add to wishlist/Remove from wishlist' submit handler for the second port. Previously, on clicking on the add to wishlist button, the screen showed an error page, and the product couldn't get registered. However, the error has been fixed and products can now be adde...

GSoC’17 Coding period | Week #6 | UC-Wishlist

With the conclusion of the sixth week of Google Summer of Code 2017, the Coding regime is nearly halfway through the second phase. The previous week involved some basic albeit important conceptualizations, which have been of immense help and have provided noteworthy assistance for understanding the port functionality. As mentioned earlier, the previous week I had summarised the implementation for the third port concerning the second phase, i.e, porting ‘View/Update wishlist’ functionality. Concerning the above port the following tasks had to be considered: Creating the WishlistViewForm class by implementing the​ Form &​ Module API ​ s, where the forms are created using ​  $form=\Drupal::formBuilder()->getForm( )​ . Providing an interface defining a wish list entity by creating the class UcWishlistInterface by extending ContentEntityInterface and EntityOwnerInterface . The callback: uc_wishlist_display($wid, $mode) is utilised under th...