An evaluative project made for the subject of Authoring and Multimedia II of the college course named Systems and Digital Media at the Federal University of Ceará (UFC).)
Código pertence originalmente ao professor Wellington Sarmento
- Create:
- Formulário de cadastro:
cadastro.ejs
; - Rota no backend: cadastro no backend em
routes.ejs
; - Validação: função
addValidation(data)
; - Interface entre view e servidor (Controller): função
add(form,link)
;
- Formulário de cadastro:
- Read:
- Listagem na interface do usuário:
list.ejs
; - Montagem dinâmica dos usuarios na tabela função
createList(resp
; - Rota no backend: retorno do vetor de usuarios em
routes.ejs
; - Ação de listagem função
updateList(link)
;
Agradeço também ao meu colega Germano Luz por ter me auxiliado na construção dinamica da tabela na função
createList()
. - Listagem na interface do usuário:
- Update
- Formulário de edição:
cadastro.ejs
; - Rota no backend: cadastro no backend em
routes.ejs
; - Validação: função
validaUpdate(data)
; - Interface entre view e servidor (Controller): função
update(form,link)
;
Criação do professor Welligton em sala de aula (online) junto dos alunos.
- Formulário de edição:
- Delete:
- Formulário de edição para deletar:
cadastro.ejs
; - Rota no backend: cadastro no backend em
routes.ejs
; - Validação: no servidor;
- Interface entre view e servidor (Controller): função
update(form,link)
;
Criação do professor Welligton em sala de aula (online) junto dos alunos.
- Formulário de edição para deletar: