Zum Inhalt springen

springboot.firststeps(P1)

springboot.firststeps(P1)

personaController.java no perfe + @DateTimeFormat @Controller public class PersonaController { @Autowired PeopleRepository peopleRepository; @Autowired MoviesRepository moviesRepository; @Autowired GenresRepository genresRepository; protected String listarConFiltro(Filtro filtro, Model model){ List<People> personas; // boolean mostrarReparto… Weiterlesen »springboot.firststeps(P1)

springboot.firststeps(P2)

peliculaController.java package es.taw.movies.controller; import es.taw.movies.dao.*; import es.taw.movies.entity.MovieCast; import es.taw.movies.entity.MovieCrew; import es.taw.movies.entity.Movies; import es.taw.movies.ui.Filtro; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; import java.util.List; @Controller… Weiterlesen »springboot.firststeps(P2)

springboot.firststeps(lib)

libroControlador.java <%@ taglib prefix=“form“ uri=“http://www.springframework.org/tags/form“ %> <%@ page import=“es.uma.taw.libroswebapp.entity.LibroEntity“ %> <%@ page import=“java.util.List“ %> <%@ page import=“es.uma.taw.libroswebapp.entity.GeneroEntity“ %> <%@ page contentType=“text/html;charset=UTF-8″ language=“java“ %> <html> <head> <title>Catálogo de libros disponibles</title> </head>… Weiterlesen »springboot.firststeps(lib)

UI/UX – 大規模な CSS への対応

大規模なスタイルセットを記述する場合、CSS では限界があります。そこで登場するのが、CSS プリプロセッサ と呼ばれるツールです。その中でも代表的なのが SCSS (サス、Sassy CSS) です。 SCSS – CSS プリプロセッサ SCSS は CSS をより効率的かつ構造的に書くための拡張言語です。SCSS コードは、CSS に変換可能であり、実行時には CSS としてブラウザに解釈されます。 SCSS の主な機能とメリット メリット SCSS 記法 メリット 変数 $primary-color: #007bff; 一括変更、管理のしやすさ… Weiterlesen »UI/UX – 大規模な CSS への対応