DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

The Latest Frameworks Topics

article thumbnail
An Angular PWA From Front-End to Backend: Creating a Login Process
Learn how to make an Angular PWA that uses Spring Boot on the backend that can handle login processes.
May 8, 2019
by Sven Loesekann
· 12,381 Views · 6 Likes
article thumbnail
Introduction to Angular Grid
In this post, we look at how to at ag-Grid to Angular applications, going over all the code and commands you'll need.
May 7, 2019
by Swathi Prasad
· 17,963 Views · 5 Likes
article thumbnail
Angular Application : Spring Data-ldap part-3
Having created the Spring rest service in the previous two blogs, it is time to look at the angular based application that will be interacting with those end points. I prefer using angular-cli to create and add features to my application, it is an easy and reliable way of adding stub code which is easier to manage and traverse. ng : Angular CLI A simple definition from the angular.io website The Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain Angular applications. You can use the tool directly in a command shell, or indirectly through an interactive UI such as Angular Console. In this blog I will try to provide quick insights into how one can use Angular CLI and some basic introduction of its commonly used commands, as we work towards creating our example application to consume the Sprint Data-LDAP rest endpoints. The first step in the journey is to install angular cli. Please note, I am not going to cover angular basics, or node and npm and will assume you have some prior exposure to these technologies. How to install @angular/cli You can open a terminal and issue a simple command to install the angular cli as in shown in the image below. npm install -g @angular/cli To validate you can issue a command as under on the terminal ng -v ng --version On the day I am writing this blog the version that I am using is 7.3.8. Options The --help option can help you explore the options for any of the commands. In the image below you can see all the options available that we can use along with new. The information is available with a brief ddescription to what purpose it serves. If you issue just ng on the terminal you can see the commands that you can use and can explore further by using the --help option. Node & NPM The Node and NPM version information for my sytem is samarthyas$ node -v && npm -v v10.4.1 6.4.1 Creating a New app Time to get started for creating a new application that I will use for my Spring data-ldap integration. ng create --help Provides with all the information required to launch a new application. Let's create the boiler plate code using the new option ng new samarthya -d Option: --dry-run (-d) I have used an option -d for dry run which lists the file that it will create without actually creating them on the disk. I often use this option to see the number of files that it will create and the folder structure, if applicable. You can also see the NOTE at the end pointing to the information - no changes were made. Option: --skip-install Skip install allows you skip npm install that is executed after the files are created, I seldom use it, but is a good option to reduce the development time. After I verified, the list of files that it will create, time for executing the command without the flag. The last step of the command is executing the npm install that pulls in all the dependencies required to launch test and debug the application. You can open the folder in any preferred code editor, I use VS code and is my go to option for any Angular related development and validate the folder structure. From the angular documentation Folder and files PURPOSE app/ Contains the component files in which your app logic and data are defined. See details in App source folder below. assets/ Contains image files and other asset files to be copied as-is when you build your application. environments/ Contains build configuration options for particular target environments. By default there is an unnamed standard development environment and a production ("prod") environment. You can define additional target environment configurations. browserslist Configures sharing of target browsers and Node.js versions among various front-end tools. See Browserslist on GitHub for more information. favicon.ico An icon to use for this app in the bookmark bar. index.html The main HTML page that is served when someone visits your site. The CLI automatically adds all JavaScript and CSS files when building your app, so you typically don't need to add any
May 7, 2019
by Saurabh Sharma
· 3,596 Views · 3 Likes
article thumbnail
Pillars of AWS Well-Architected Framework
The five pillars of the AWS Well-Architected Framework are your keys to building the most reliable cloud framework possible.
May 7, 2019
by Chandani Patel Bhagat
· 23,272 Views · 22 Likes
article thumbnail
Multiple Cache Configurations With Caffeine and Spring Boot
Caching is key.
May 7, 2019
by Bozhidar Bozhanov
· 24,801 Views · 4 Likes
article thumbnail
Effective Advice on Spring @Async: Final Part
Learn more about how Spring @Async works with HttpRequest.
May 7, 2019
by Shaamik Mitraa
· 22,885 Views · 13 Likes
article thumbnail
Apollo Client Watchquery: Jasmine Test Case Coverage
In this quick post, we look at how to increase test case coverage for an Angular web application.
Updated May 6, 2019
by Shrisowdhaman Selvaraj
· 9,409 Views · 5 Likes
article thumbnail
Spring Controllers Implementing Interfaces?
Want to learn more about Spring Controllers?
May 6, 2019
by Mohammad Nadeem
· 43,113 Views · 2 Likes
article thumbnail
Tutorial: MCUXpresso SDK With Linux, Part 2: Commandline Debugging With GDB
Learn more about commandline debugging with GDB.
May 6, 2019
by Erich Styger
· 8,548 Views · 2 Likes
article thumbnail
Build a Secure App With Spring Boot and Vue.js
Learn more about app security with Spring Boot, Vue, and Okta.
May 2, 2019
by Andrew Hughes
· 50,159 Views · 7 Likes
article thumbnail
Microservices Integration Tests With Hoverfly and Testcontainers
Learn how to test your microservices and integration efforts using these handy frameworks.
May 1, 2019
by Piotr Mińkowski
· 14,987 Views · 3 Likes
article thumbnail
Customizing Automatic HTTP 400 Error Response in ASP.NET Core Web APIs
In this post, we'll see how we can customize the default error response from the ASP.NET Core Web API.
Updated April 30, 2019
by Karthik Chintala
· 47,198 Views · 1 Like
article thumbnail
Micronaut Tutorial: Server Application
In this part of my tutorial series on the Micronaut framework we are going to create a simple HTTP server-side application running on Netty.
Updated April 29, 2019
by Piotr Mińkowski
· 22,697 Views · 2 Likes
article thumbnail
Using Docker for Python Flask Development
In this tutorial, we learn how to set up a Docker container to act as the development environment for Python Flask-based web development.
April 29, 2019
by James Warner
· 13,911 Views · 3 Likes
article thumbnail
Spring Data LDAP
Check out this post to learn more about securing Angular apps with the Spring Data LDAP.
April 29, 2019
by Saurabh Sharma
· 38,875 Views · 8 Likes
article thumbnail
Spring Tips: WebMvc.fn — The Functional DSL for Spring MVC [Video]
WebMvc.fn is the functional DSL for Spring MVC that you always wanted!
April 26, 2019
by Josh Long
· 24,162 Views · 2 Likes
article thumbnail
Don't Complicate Spring Controllers With Commotions
Don't complicate things.
April 26, 2019
by Mohammad Nadeem
· 24,385 Views · 7 Likes
article thumbnail
How to Use Hazelcast Auto-Discovery With Eureka
This post presents a step-by-step guide of how to set up your Eureka server and use it for the Hazelcast discovery.
April 25, 2019
by Rafał Leszko
· 13,743 Views · 2 Likes
article thumbnail
First Steps With GCP SQL
In this post, we will take a look at how we can use Google Cloud Platform (GCP) SQL as a database for our Spring Boot application.
April 25, 2019
by Gunter Rotsaert DZone Core CORE
· 13,242 Views · 1 Like
article thumbnail
Add Secure Token Authentication to Your Java App
Learn more about how you can add secure token authentication to your Java apps.
Updated April 25, 2019
by Andrew Hughes
· 129,441 Views · 34 Likes
  • Previous
  • ...
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • ...
  • Next
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook
×