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

Latest Articles - DZone

article thumbnail
Tim Ferriss and the Four-Hour Workweek: How to Escape the 9-5 Routine
Take a look at the concepts behind Tim Ferriss's bestselling book on rethinking productivity.
May 7, 2019
by Fred Wilson
· 7,371 Views · 4 Likes
article thumbnail
Java 8 Steaming (groupBy Example)
Learn more about Java 8 Streams and how they can be applied to aggregate functions.
May 7, 2019
by Bhupender G
· 29,599 Views · 9 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,604 Views · 3 Likes
article thumbnail
Microservices With GraphQL
A developer goes through some Java and XML code used to create a basic microservice application that uses GraphQL to fetch data.
May 7, 2019
by Arun Pandey DZone Core CORE
· 27,895 Views · 20 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,336 Views · 22 Likes
article thumbnail
Multiple Cache Configurations With Caffeine and Spring Boot
Caching is key.
May 7, 2019
by Bozhidar Bozhanov
· 24,847 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,908 Views · 13 Likes
article thumbnail
Build and Deploy a Node.js Application into Azure Web Apps Using Azure DevOps (CI/CD)
In this tutorial, we look at how to get a Node.js app up and running and then deploy it to an instance of Azure DevOps.
Updated May 6, 2019
by Sudheer Mareddy
· 26,543 Views · 6 Likes
article thumbnail
How to Make a Vue.js Website SEO Friendly
While SEO is typically relegated to a marketing role, your code can have an effect too. Learn how to use Vue.js to improve your site's/app's rankings.
Updated May 6, 2019
by Ted Mikulski
· 66,242 Views · 1 Like
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,418 Views · 5 Likes
article thumbnail
VMs vs. Containers for Microservices
What makes more sense for an enterprise?
Updated May 6, 2019
by Spruha Pandya
· 23,208 Views · 9 Likes
article thumbnail
Another Way of Creating struct Instances in Rust
Follow along to learn a new way to create struct instances in Rust.
May 6, 2019
by Ayush Mishra
· 11,404 Views · 1 Like
article thumbnail
This Swearing Roomba Is What Python Was Born to Create
YouTuber Michael Reeves may be young, but he totally gets the true spirit of the Python programming language.
May 6, 2019
by Sarah Sinning
· 11,696 Views · 3 Likes
article thumbnail
Spring Controllers Implementing Interfaces?
Want to learn more about Spring Controllers?
May 6, 2019
by Mohammad Nadeem
· 43,130 Views · 2 Likes
article thumbnail
An Overview of JDK Vendors
Still not sure which version of the JDK is right for your project? Don't worry — we've got you covered.
Updated May 6, 2019
by Ardit Ymeri
· 39,470 Views · 8 Likes
article thumbnail
How to Build a Light REST Client With JavaScript
We take a look at how to build a REST client using the free backend as a service platform, Backendless, and a good amount of JavaScript code.
May 6, 2019
by Vladimir Upirov
· 9,568 Views · 4 Likes
article thumbnail
Autocorrelation in Time Series Data
Explore autocorrelation in time series data and see why it matters.
May 6, 2019
by Anais Dotis-Georgiou
· 43,193 Views · 3 Likes
article thumbnail
Agile Coaching With MuHinShu
We take a look in-depth look at how the Japanese concept of MuHinShu is applied to an Agile framework.
May 6, 2019
by Rickard Jones
· 8,281 Views · 9 Likes
article thumbnail
ARCore With Google: Building an Augmented Images Application
Learn more about how you can create your own augmented images with Google's ARCore.
May 6, 2019
by Ayusch Jain
· 21,054 Views · 1 Like
article thumbnail
Exploring the Scrum Values Workshop
Take a look at this workshop that will allow you to teach the Scrum values to your team.
May 6, 2019
by Fabio Panzavolta
· 5,669 Views · 1 Like
  • Previous
  • ...
  • 1062
  • 1063
  • 1064
  • 1065
  • 1066
  • 1067
  • 1068
  • 1069
  • 1070
  • 1071
  • ...
  • 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
×