{"id":22988736,"url":"https://github.com/yashgwork/sitecoreassignment","last_synced_at":"2025-04-02T11:43:12.164Z","repository":{"id":268015155,"uuid":"898869452","full_name":"YashGWork/SitecoreAssignment","owner":"YashGWork","description":"Assignment: Building Sitecore Component","archived":false,"fork":false,"pushed_at":"2024-12-16T15:54:00.000Z","size":2535,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T02:42:27.860Z","etag":null,"topics":["csharp","dotnet","experience-editor","mvc","nuget","sitecore"],"latest_commit_sha":null,"homepage":"https://eurtech-react.vercel.app/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YashGWork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-05T07:33:54.000Z","updated_at":"2024-12-16T15:54:04.000Z","dependencies_parsed_at":"2024-12-13T20:36:40.510Z","dependency_job_id":null,"html_url":"https://github.com/YashGWork/SitecoreAssignment","commit_stats":null,"previous_names":["yashgwork/sitecoreassignment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashGWork%2FSitecoreAssignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashGWork%2FSitecoreAssignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashGWork%2FSitecoreAssignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashGWork%2FSitecoreAssignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YashGWork","download_url":"https://codeload.github.com/YashGWork/SitecoreAssignment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246811236,"owners_count":20837745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","experience-editor","mvc","nuget","sitecore"],"created_at":"2024-12-15T04:13:50.413Z","updated_at":"2025-04-02T11:43:12.130Z","avatar_url":"https://github.com/YashGWork.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Overview\n\nThis project involves the development and implementation of a website using Sitecore. The following steps outline the process undertaken from initial coding to final verification. For detail documentation refer to Sitecore Assessment documentation pdf included in the repository.\n\n## 1. Initial Analysis\n\nThe first stage after raw coding the website was to analyze the website and individual components/renderings to determine the base data templates that can be reused across various site components/renderings, as well as the renderings (View/Controller) that will be used in Sitecore.\n\n### 1.1 Component Analysis\n- Created an Excel file with a list of all the components to be developed.\n  \n### 1.2 Field Breakdown\n- Divided the components into individual fields and analyzed them to identify the base data templates for reuse.\n\n## 2. Template Creation\n\nWith a clear understanding of the overall structure of the website components, I began creating the necessary templates, which included:\n- Branch templates (renderings/components)\n- Base data templates\n- Data templates inheriting from the base data template\n- Page templates organized in a structured folder, with standard values assigned to the base and data templates.\n\n### 2.1 Base Data Templates\n- Created base data templates for reuse across various website components/renderings, ensuring appropriate field names and standard values.\n\n### 2.2 Data Templates\n- Generated data templates using the appropriate base data templates, field names, and standard values.\n\n### 2.3 Page Template\n- Created the page template for utilization.\n\n## 3. Layout Construction\n\nThe next step was to construct a layout in the layouts folder that is linked with the website's raw code and to add it to the page template.\n\n### 3.1 Layout Creation\n- Developed a layout and specified the source for it.\n\n### 3.2 Presentation Details\n- Added the layout to the presentation details of the produced page template.\n\n## 4. Item Creation for Testing\n\nCreated an item inheriting the page base template in the `sitecore/content` to construct the assignment item and examine the raw HTML/CSS/JavaScript functionality of the site, confirming that the layout is working properly.\n\n## 5. Data Template Organization\n\nEstablished a folder and inherited the branch template to create the appropriate data templates corresponding to the components folder.\n\n## 6. Data Source Configuration\n\nInherited the necessary data templates and populated them with the required data and data sources.\n\n## 7. Rendering Development\n\nAfter completing the data sources, the raw HTML/CSS was separated into renderings, and the appropriate placeholders were added to the main code.\n\n### 7.1 View/Controller Renderings\n- Created View/Controller renderings by attaching the various views, assigning the corresponding raw HTML/CSS, and modifying the main website HTML to include the required placeholders.\n\n### 7.2 Integration into Content Tree\n- Added the renderings to the main content tree site item along with the previously created data sources and verified that the site is functioning correctly with the renderings.\n\n## 8. Dynamic Content Integration\n\nReplaced the raw HTML/CSS/JavaScript data with the applicable Sitecore fields from the data source, applying the necessary logic based on the renderings utilized.\n\n## 9. Final Verification\n\nThe final step was to confirm that the website was functioning correctly after replacing the static content with dynamic content from Sitecore, making any necessary adjustments as needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashgwork%2Fsitecoreassignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashgwork%2Fsitecoreassignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashgwork%2Fsitecoreassignment/lists"}