{"id":19098472,"url":"https://github.com/ucfopen/materia-server-client-assets","last_synced_at":"2025-04-30T15:26:07.080Z","repository":{"id":38290950,"uuid":"146222623","full_name":"ucfopen/Materia-Server-Client-Assets","owner":"ucfopen","description":"Common Javascript and CSS resources needed for Materia and the Materia Widget Development Kit.","archived":false,"fork":false,"pushed_at":"2023-10-11T19:33:36.000Z","size":3557,"stargazers_count":3,"open_issues_count":40,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-19T04:42:12.866Z","etag":null,"topics":["hacktoberfest","materia"],"latest_commit_sha":null,"homepage":"https://ucfopen.github.io/Materia-Docs/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ucfopen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-08-26T22:58:53.000Z","updated_at":"2022-01-03T19:27:16.000Z","dependencies_parsed_at":"2024-06-19T19:23:39.139Z","dependency_job_id":null,"html_url":"https://github.com/ucfopen/Materia-Server-Client-Assets","commit_stats":{"total_commits":526,"total_committers":11,"mean_commits":47.81818181818182,"dds":0.5760456273764258,"last_synced_commit":"7ce05180949c8086fa73921e7561d7d32c6b8f38"},"previous_names":[],"tags_count":94,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucfopen%2FMateria-Server-Client-Assets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucfopen%2FMateria-Server-Client-Assets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucfopen%2FMateria-Server-Client-Assets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucfopen%2FMateria-Server-Client-Assets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ucfopen","download_url":"https://codeload.github.com/ucfopen/Materia-Server-Client-Assets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251730562,"owners_count":21634412,"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":["hacktoberfest","materia"],"created_at":"2024-11-09T03:46:00.699Z","updated_at":"2025-04-30T15:26:07.019Z","avatar_url":"https://github.com/ucfopen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Materia Client Assets\n\n## This repository is now deprecated. No additional commits to this repo are expected.\n\nAs of Materia v10.0.0, all static assets - JS and CSS - have been re-authored and re-integrated into the main repository. This repository will persist, but only for archival purposes.\n\n---\n\nThis repository contains all the javascript and css needed for the Materia Server and some assets needed for the Materia Widget Development Kit.\n\nVisit the [Materia Documentation](https://ucfopen.github.io/Materia-Docs) for more information.\n\n\n# Conventions and Guidelines\n\n## Angular\n\n* Each module is in it's own file, in a directory matching the type of module it is\n* use dashes to seperate words in file names\n* tests use the same name of the module they are testing (`module.js` and `module.test.js`)\n* file names start with the type of module it is: `filter-`, `dir-`, `ctrl-`, `srv-`\n* reusable code that has a wider scope then a single module is placed in a service module\n\n\n### Order of Code Angular Controllers\n\nBy convention, all controllers are written in a certain order from top to bottom:\n\n1. Variables and constants used in the controller\n2. Function defenitions, do define directly on $scope\n3. Expose variables and methods to $scope\n4. Initialize state\n\n\n```javascript\nconst app = angular.module('materia')\napp.controller('peopleController', function($scope) {\n\t// define vars and consts\n\tlet _people = []\n\n\t// define functions\n\tconst _sortNames = (a, b) =\u003e `${a.first} ${a.last}`.localeCompare(`${b.first} ${b.last}`)\n\n\tconst getPeople () =\u003e {\n\t\t// load users from some place\n\t\t_people.sort(_sortNames)\n\t\t$scope.people = _people\n\t}\n\n\t// Expose on scope\n\t$scope.people = []\n\t$scope.getPeople = getPeople\n\n\t// initialize\n\tgetPeople()\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucfopen%2Fmateria-server-client-assets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucfopen%2Fmateria-server-client-assets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucfopen%2Fmateria-server-client-assets/lists"}