By Jatin Avinash Salve on 2021-07-19 06:55 in Summer 2021 Guided Tour

Tasks Completed: 

·       Implement the list view MVC for Guided tours:

The list view (ToursView) was the first part of the development process that was apparent in the Joomla! Administrator frontend. One of the major learning curves in getting started with this was setting up a debugging workflow and similar Component and getting familiar with the control flows within Joomla! In this process, I had great support from my mentor Benjamin Trenkle, who was clear that he would be there for any help to speed up the process. With that, I implemented what is now the default view of the component.

Added the Joomla Toolbar which does the tasks like Searching, Filtering options based on the status and sorting a field which sort the list based on various aspects like ID, Status, and Title.

·        Implement the Add/Edit Guided tours MVC:

Implemented the basic Edit view of the Tour and Step form, added tabs like Description, Publish, and Permissions, and connected these fields with the database.

·        Design database tables:

               Implemented the database which can store the data for a particular tour and Steps of the respected tours. Implemented just a basic structure that can be modified according to requirements of the component and tours.

·        Layout the component boilerplate:

            As the initial database design phase came to a close, the next step was to lay out the boilerplate files and code for the component. This included the manifest, the configuration, language and other files as well as the MVC classes for initially the TourView and ToursView and later the StepView and StepsView.

·        Improved the code style of the code:

The major one thing I learned in this week is importance of the code style, and how to implement the proper code style with breaking the previous structure and which can help the other developers in the future. Used the PHPCS and Joomla Code Sniffer to make the things easy.

·        Done the changes to make the Component System Component:

The main idea was after installing the Joomla, the component should Auto install without installing manually, so done the related changed in the #__extensionsfile, and changes little code of some SQL files.

Screenshots:

 

1 2 3 4 5  

Links for the Repository and Relevant Pull Request(s):

 

Project Repository: https://github.com/joomla-projects/soc21_guided-tour

Pull Request: https://github.com/joomla-projects/soc21_guided-tour/pull/5

 

Read more https://volunteers.joomla.org/teams/summer-2021-guided-tours/reports/1564-soc-2021-guided-tour-week-2

Add comment
Be nice, No ovet advertising unless you agree to our rates. Posting indicates agreement and consent.


Security code
Refresh