Angular From Scratch Tutorial – Index Angular From Scratch Tutorial – Step 8: Miscellany TARGET Modal’s stuff in general. NGX-BOOTSTRAP MODAL Closing the Modal Returns Failure ERROR TypeError: Cannot read properties of undefined (reading ‘hide’) at main.js:1:434209 at UT (main.js:1:69900) at s (main.js:1:70062) at HTMLButtonElement.<anonymous> SOLUTION BEFORE The new modal component … Read More “Angular From Scratch Tutorial – Step 9: Modal” »
Angular From Scratch Tutorial – Index PREVIOUS: Angular From Scratch Tutorial – Step 7 NEXT: Angular From Scratch Tutorial – Step 9: Modal TARGET Several additional stuff. ngStyle SEE: – NgStyle & NgClass ngClass SEE: – NgStyle & NgClass – Angular NgClass Example – How to Add Conditional CSS Classes Return value email(): … Read More “Angular From Scratch Tutorial – Step 8: Miscellany” »
Angular From Scratch Tutorial – Step 1 Angular From Scratch Tutorial – Step 2: Components Angular From Scratch Tutorial – Step 3: Binding Angular From Scratch Tutorial – Step 4: Adding Bootstrap Angular From Scratch Tutorial – Step 5: Directives Angular From Scratch Tutorial – Step 6: Service and Dependency Injection Angular From Scratch Tutorial … Read More “Angular From Scratch Tutorial – Index” »
Follow the example. The JSON file: _config.json { “devpg”: { “username”: “johndoe”, “password”: “secret”, “database”: “mydb”, “host”: “127.0.0.1”, “dialect”: “postgres”, “port”: “5432”, “url”: “postgres://johndoe:secret@127.0.0.1:5432/mydb” }, “prodpg”: { “username”: “server1”, “password”: “secret”, “database”: “mydb”, “host”: “localhost”, “dialect”: “postgres”, “port”: “5432”, “url”: “postgres://server1:secret@localhost:5432/mydb” }, “sessionKey”: “alfja1234”, } The component.ts file import { Component, OnInit } from ‘@angular/core’; … Read More “angular: Reading JSON files” »
Revision 2022. TARGET This tutorial is the 4th step of the series and its code evolves from the 3rd step. The target is to apply Object-Oriented and MVC architecture concepts for a Todo site using relationship, where: Todo 1 ——– + TodoItem One Todo may have one or more TodoItem instances. The concepts seen … Read More “NODE.JS: SEQUELIZE: MVC Project – 4TH STEP” »
Target A revision of all the main steps to install an Angular site with Spring Boot web service using Docker. The app calls the web service that works with a mocking database and shows the top ten movies list. The main page loads the movies’ list on its initialization. Since the persistence layer is not … Read More “Docker: Step-by-Step For An Angular Project Using Spring Boot Web Service [ML33743]” »
EXAMPLE #1 – Simplest public enum Enum_ { SCJP, SCWCD, SWWD, WWFF; public static void main(String[] args) { System.out.println(Enum_.SCJP); System.out.println(Enum_.valueOf(“SCJP”)); Enum_[] e = Enum_.values(); System.out.println(“e[1] = ” + e[1]); System.out.println(“Enum_.SCJP = ” + Enum_.SCJP); System.out.println(“Enum_.valueOf(\”SCJP\”) = ” + Enum_.valueOf(“SCJP”)); Enum_[] ae = Enum_.values(); System.out.println(“Enum_[] ae: “); for(Enum_ e1:ae) { System.out.println(e1); } Enum_ en = Enum_.SCJP; … Read More “Java: Enum Examples – Templates for Enumerations” »
LINUX There are many tutorials using a similar approach, for instance: Installing Multiple Versions of Node.js Using nvm Install Node.js Locally with Node Version Manager The tutorial show a curl or wget command using a pre-defined URL that points to a specific version. My question is that versions come old and I’d like an alternative … Read More “Node.js: Using multiple versions of Node.js with NVM command” »