Learn C#: Tutorials for Beginners, Intermediate, and Advanced Programmers – Part 2

See the original posting on DZone Python

If you’re a beginner developer or someone looking to learn a new language, C# is a great choice for a number of reasons. Unlike C++, for instance, C# offers automatic memory management, and it also offers solid Type Safety compared to JavaScript and Node.js. C# has a robust base of class libraries; the .NET framework includes hundreds of libraries for working with the file system, managing security, and more.

Microsoft heavily supports C#, issuing fixes and updates rapidly – so it’s a more readily updated language compared to other languages, such as Java. Like Java, C# is one of the most popular programming languages, and as such, it has a large, active user community, making it easy to find troubleshooting solutions and coding help on StackOverflow and other online communities.

Learn C#: Tutorials for Beginners, Intermediate, and Advanced Programmers – Part 1

See the original posting on DZone Python

If you’re a beginner developer or someone looking to learn a new language, C# is a great choice for a number of reasons. Unlike C++, for instance, C# offers automatic memory management, and it also offers solid Type Safety compared to JavaScript and Node.js. C# has a robust base of class libraries; the .NET framework includes hundreds of libraries for working with the file system, managing security, and more.

Microsoft heavily supports C#, issuing fixes and updates rapidly – so it’s a more readily updated language compared to other languages, such as Java. Like Java, C# is one of the most popular programming languages, and as such, it has a large, active user community, making it easy to find troubleshooting solutions and coding help on StackOverflow and other online communities.

5 Fantastic Features Shipping With Node.js 8 LTS

See the original posting on DZone Python

We get a new semver major LTS every year with Node.js – last year we got Node.js 6 that brought a suite of killer new features to an LTS release.

You can expect this year to be no different, with Node.js 8 planned to go LTS on October 31st. Shipping with Node.js 8 are some truly game changing features that are true improvements to the LTS release line.

Developing RESTful APIs With Loopback

See the original posting on DZone Python

Note: Check out the repo to get the code.

RESTful API Overview

API (Application Programming Interface) endpoints are the connections between your application and the rest of the developer community. You can decide to open up your data source to the world by crafting API endpoints that developers can consume. Furthermore, developing an application that will require clients for different platforms such as Desktop, Android, iOS and Windows platform will most likely need a RESTful API for all the clients to access data seamlessly. Unless of course, you are engaging GraphQL, the alternate option to RESTful APIs.

Aspect Oriented Programming in C# With RealProxy

See the original posting on DZone Python

Introduction

Aspect Oriented Programming (AOP) is a very powerful approach to avoid boilerplate code and archive better modularity. The main idea is to add behavior (advice) to the existing code without making any changes in the code itself. In Java, this idea was implemented in the AspectJ and Spring frameworks. There are PostSharp (not free), NConcern, and some other frameworks (not very popular and easy to use) to do almost the same thing in .NET.

It is also possible to use a RealProxy class to implement AOP. You can find some examples on how to do this: Example1, Example2.

A Step-by-Step Tutorial for Developing a Progressive Web App With ReactJS

See the original posting on DZone Python

Progressive Web Apps (PWAs) have rapidly grown in popularity as essentially fast, performance-based web applications streamlined for delivering mobile app-like experiences. PWAs are built using HTML, CSS, and JavaScript to create a level of usability and performance that’s in parity to native mobile applications. They are responsive, consume lesser data and storage space, and supports push notifications and offline usage in the browser.

Building a progressive web app has now become a web development trend every enterprise wants to follow. Big players such as Twitter and Flipboard recently launched their progressive web apps to deliver mobile experiences to users, without requiring them to actually install the app. In this article, you will learn how to build a progressive web app using React. So, let’s get started.

Building Applications With Angular Material

See the original posting on DZone Python

Angular Material is a set of high-quality UI components developed by the Angular team, based on the Google Material design specification. These components help us to build applications with an attractive, yet familiar, UI, giving users a consistent experience across devices.

In this Angular tutorial, you will learn how to set up material design in your Angular app. In the course of this tutorial, we will be using Angular IDE. Let’s get started by firing up our Angular IDE and creating a new Angular project named AngularMaterialTutorial.
Image title

Extending Vue.js Components

See the original posting on DZone Python

Do you have components in your Vue app that share similar options, or even template markup?

It’d be a good idea to create a base component with the common options and markup, and then extend the base component to create sub components. Such an architecture would help you apply the DRY principle in your code (Don’t Repeat Yourself) which can make your code more readable and reduce the possibility of bugs.

Custom Column Names in Phoenix Models

See the original posting on DZone Python

When working with the Phoenix framework, you need to create your data models and plug in your database schema to your app. If you are not starting your project from the scratch, there is a high probability that you want your data models to adhere to an existing database schema with unconventional column names. So without any further ado, let’s see how we can introduce custom column names in Ecto.

For this example, I am assuming that you have already set up your Phoenix app. If you haven’t yet, go through the awesome documentation of Phoenix Framework and create your app.

Spring WebFlux With Kotlin – Reactive Web

See the original posting on DZone Python

Spring – Even Fancier

I’m one of the guys who fell in love with Kotlin and wouldn’t write any more Java; if it was that easy. If you’re not familiar with my articles, have a look at the other Kotlin related posts here.

Besides Kotlin, I’ve always been into Spring ever since I started with Java some years ago. I still like the framework although it’s getting bigger and bigger and you often don’t quite know which features to choose, amongst all the alternatives. As the framework itself is growing, the documentation, which is one of best you’ll ever get to see, also is.

Bucklescript vs Elm vs Typescript: Typed JavaScript Showdown!

See the original posting on DZone Python

You, a web developer, have probably heard of Typescript, may have heard of Elm, and you might even have heard of Bucklescript/ReasonML as well. Each of these represents a compiles-to-JavaScript language with strong type support, but each has some different opinions, philosophies, and features.

In this article, I’ll walk you through the features of each of these options and compare their build ecosystems, editor tooling, and JavaScript interop. In addition, as is my habit, I’ve written up a small example in each of these languages (well, actually, I’ve taken one of Elm’s small demos and re-created it in the other two). I’ll discuss my impressions of the tooling and the coding experience along the way.

The Recipe for Angular in a Java EE Environment: Aot Build

See the original posting on DZone Python

In this additional part of the series "The Recipe for Angular 2 in a Java EE Environment" I want to show how to implement an Aot Build for the UI. The Angular2AndJavaEE project uses the Ahead of Time compilation feature of Angular to minimize size and maximize speed. Aot needs URL rewriting and to access the right application for the selected language. For that, the tuckey urlrewriter is used. Then I show how to add Swagger to the REST API for easy testing of the REST Interface. 

Web Module Build

The Web Module Build has been explained in the article about the Maven build. Here I will explain steps 4 and 6 that have been enhanced to support the Aot Build.

Cloud Native Development for Node.js and Docker [Video]

See the original posting on DZone Python

The full lifecycle for developing, staging, and shipping a Node.js application to production is composed of various parts – at the core, you write an application in Node.js, yes. But how do you make sure it’s going to work in production like it does in your development environment? Further, how are you going to ensure that once in production your application can scale up and down as needed?

This week, we talked with Jonathan Carter of Microsoft, discussing what the modern development lifecycle for the cloud native world we live in would look like. What are the takeaways? What are the tools, platforms, and resources you should be using? Jonathan gave us a fantastic overview of the full process, from building in dev to production at scale – check out the details:

How You Can Translate Any Random D3 Example to React

See the original posting on DZone Python

You and I both know that when it’s time to code some D3, the easiest approach is to find an example that does something similar, copy its code, and tweak it a bit.

But a lot of those examples are in old versions of D3, and what if you’re using React or something and can’t just plop code into your project like nobody’s business? Here’s what you do:

Understanding Heap Usage in Node.js Applications With N|Solid

See the original posting on DZone Python

Heap snapshots are extremely helpful for debugging memory-based issues in Node.js applications quickly and effectively.

A heap snapshot is just what it sounds like – a static snapshot of memory usage details at a moment in time – and it provides a glimpse at the heap usage of V8, the JavaScript runtime that powers Node.js. By looking at these snapshots, you can begin to understand where and how memory is being used.

Death to Legacy CMS Platforms: How XMS Solutions Are Transforming the Future

See the original posting on DZone Python

Have you ever seen the movie Office Space where the fax machine doesn’t work? Every day, the office workers struggle to use it, especially one certain employee, until he decides that enough is enough and ultimately kills it (with the help of his equally frustrated colleagues).

I think we can all relate to wanting to drop-kick outdated technology.

An Intro to Realtime APIs Using Pushpin

See the original posting on DZone Python

Realtime APIs are at the center stage of web and app development because more and more users expect realtime experiences. The traditional transactional request and response APIs may work if you don’t need up-to-the-minute data, but if you broadcast live triathlon results, you know your users want realtime updates to the scoreboards (an actual application by the way). 

There are many popular realtime services that developers can use like Pushpin, Pusher, and Streamdata.io. If you’re truly interested, the ProgrammableWeb offers a large API Directory with more examples of realtime APIs and others.

Work Your Own Way With Crafter CMS (Series Part 1): Step-Through Debugging

See the original posting on DZone Python

Most CMS platforms do a decent job of simplifying content and digital experience creation and editing for non-technical content managers. The challenges really start once you need to innovate and development is required. Traditionally CMS platforms have been pretty bad for developers. They require a lot of CMS specific knowledge and don’t integrate with developer tools and process.
Here are 7 things that developers really want with a CMS:

  1. Let me work locally with my own tools like my IDE and my source code management.
  2. Let me leverage my existing skills. I want a low learning curve. Don’t make me learn a new, niche framework.
  3. Let me work in teams on multiple projects at the same time without interfering.
  4. Let me maintain a real development process.
  5. Make the integration with the CMS seamless.
  6. Don’t make me do builds.
  7. Don’t make me do heavy deployments.

In this installment of the Work Your Way Series, we’re going to tackle item #1: Let me work locally with my own tools like my IDE and my source code management. Let’s start with some background: Crafter CMS uses Git as its primary content store. That’s the foundation of the solution for developer desire #1. A developer can mount a local clone of a Crafter CMS project directly with their IntelliJ, Netbeans, Eclipse or other IDE. That means they can use their preferred development tools to edit and debug code and templates. And as they work, all of the changes they make are tracked by the Crafter CMS via its native Git support. Sounds awesome right? Let’s learn how to get set up.

1 2 3 4 82