All Consultants Are The Same, Right?

See the original posting on DZone Python

Last month, I published the "Considering Offshoring? Consider These Lessons Learned" article, which provided five lessons that I have learned when attempting to employ offshore or nearshore services to assist with development efforts. One of those learned lessons reminded us that:

"Service providers exist to provide services for their clientele. At the core, they are doing it as a means to generate revenue." 

As a reader of this article, one might pose the question…

Qlik Core for Developers: Lessons Learned in Workshop Creation

See the original posting on DZone Python

Another ForwardJS came and went in San Francisco and, as usual, I had a blast while I was there. This time around, I was representing Qlik with a sponsored workshop, so it was my first crack at getting Qlik Core into the hands of fresh-faced developers new to the engine? — ?and here’s some things I learned.


Don’t Make Assumptions About What Tech Your Developers Know

Qlik Core is a containerized version of our engine, so we have a Docker image on Docker Hub for it.

Implement Middlewares Using Endpoint Routing in ASP.NET Core 3.0

See the original posting on DZone Python

If you have a middleware that needs to work on a specific path, you should implement it by mapping it to a route in ASP.NET Core 3.0, instead of just checking the path names. This post doesn’t handle regular middlewares, which need to work all request, or all requests inside a Map or MapWhen branch.

At the Global MVP Summit 2019 in Redmond I attended the hackathon where I worked on my GraphQL middlewares for ASP.NET Core. I asked Glen Condron for a review of the API and the way the middleware gets configured. He told me that we did it all right. We followed the proposed way to provide and configure an ASP.NET Core middleware. But he also told me that there is a new way in ASP.NET Core 3.0 to use this kind of middleware.

Using ASP.NET Core Identity Users in Integration Tests

See the original posting on DZone Python

I have an application that uses ASP.NET Core Identity with classic logins and there’s a need to cover this application with integration tests. Some tests are for anonymous users and others for authenticated users. This blog post shows how to set selectively set authenticated ASP.NET Core user identities for ASP.NET Core integration tests.

Getting Started

We start with an ASP.NET Core web application where basic authentication is done using ASP.NET Core Identity. There’s an integration tests project that uses a fake startup class and custom appsettings.json from my blog post, Using custom startup class with ASP.NET Core integration tests. Take a look at this post as there are some additional classes defined.

Handy Beanstalkd Admin Console

See the original posting on DZone Python

I’ve been building apps with queues lately and mostly using beanstalkd as my queue because it is very simple, very fast, and, on my platform, it is [apt install beanstalkd] easy to install. I have also been using a handy web interface for beanstalkd which I like so much that I felt I ought to share! It’s beanstalk-console, which is a PHP-based web interface to one (or many) beanstalkd servers.

Beanstalkd is a very simple queueing system and I’ve enjoyed using it from a few different tech stacks. It uses "tubes" rather than channels, supports priorities, and uses a simple string for the body of the "job" on the queue.

Real-Time Interaction Between Maps With Socket.io and JavaScript

See the original posting on DZone Python

I was doing some thinking recently. I was thinking about how I could make maps more useful than just displaying visual content on the screen when requested. While displaying map information on a screen is useful in many circumstances, it doesn’t make for the most exciting of examples. This lead me to thinking about things from a more interactive level.

Take the example of first responders, such as law enforcement, fire, and medical. It might not make the most sense for them to be looking and refreshing a map to find incidents. Instead, what if the map automatically refreshed and was synchronized between the first responders? What I mean by this is, what if incidents automatically appeared on everyone’s map at the same time without interaction?

Using a Custom Startup Class With ASP.NET Core Integration Tests

See the original posting on DZone Python

My previous post demonstrated how to use a custom appsettings.js file with integration tests in ASP.NET Core. But in practice it’s not enough and very often we need a custom startup class that extends the one in the web application project to configure the application for integration tests. This blog post shows how to do this.

Getting Started

Using a custom startup class is a little bit tricky. I start again with a simple, classic integration test from the ASP.NET Core integration testing documentation. 

How to Use Backendless With React.js: Real-Time Database Integration Tutorial

See the original posting on DZone Python

This is the third part of our series on using Backendless with a React.js frontend app. You can catch up on the previous articles here: Part 1 and Part 2. If you’d like to jump in now, you can simply create a new Backendless app, clone our previous progress from our repository, and use this commit as an entry point for today’s article.

Our goal for today is to showcase integration with our Real-Time (we call it RT) database for delivering changes in your data table from the server to the client. We have previously written about implementation of RT in an Angular app ( "How to Use the Backendless Real-Time Database in Your Angular App"). If you’re interested in Angular or you just want to see difference between the usage of RT with React and Angular, we’d recommend you give that article a read.

Getting Webhooks Behind That Firewall of Yours

See the original posting on DZone Python

In this post, I’ll show you how to receive webhooks in real time from GitHub.com, even if your CloudBees Core stuff is behind a firewall. You can generalize this to other services too — such as BitBucket or DockerHub, or anything really that emits webhooks, but the instructions will be for GitHub projects hosted on github.com. The benefit, of course, is that you can use these public hosted services if you like, but your Core instances do not necessarily have to be directly open to the internet.

What Are Webhooks?

Just a very quick refresher on what webhooks are: Messages (often JSON, but not always) typically posted by HTTP(S) from a server to a client that is listening for events.

Creating a Simple Web Service Using HTTP-RPC and Kotlin

See the original posting on DZone Python

HTTP-RPC is an open-source framework for implementing RESTful and REST-like web services in Java. It is extremely lightweight and requires only a Java runtime environment and a servlet container. The entire framework is distributed as a single JAR file that is about 50KB in size, making it an ideal choice for applications where a minimal footprint is desired.

WebService

HTTP-RPC’s WebService type provides an abstract base class for REST-based web services. It extends the similarly abstract HttpServlet class provided by the servlet API.

Custom appsettings.json File for ASP.NET Core Integration Tests

See the original posting on DZone Python

ASP.NET Core introduced the concept of TestServer for the integration testing of web applications. Integration tests need web applications to run with all the bells and whistles to make sure that all the components work together with no flaws. Often we need special settings for integration tests as web applications cannot use live services and the easiest way to do it is to use a special appsettings.json file. This blog post shows how to do it.

Getting Started

Let’s start with minimalistic integration test from ASP.NET Core integration tests document.

How to Use Backendless With React.js, Part 2: CRUD Tutorial

See the original posting on DZone Python

React.js development

In the previous article in this series, we started working on a single-page application which is based on a combination of and with Backendless for the backend. If you missed that article, we recommend you to start there. If you already have a Backendless account and you are already familiar with a React/Redux stack, you can just clone our previous progress from this commit, create a new Backendless app, and use it as an entry point for today’s article. Let me describe the main goal for this article and what we plan to cover:

  • Create a separate component for our persons list.
  • Add a PersonsEditor for creating and updating persons.
  • And add an ability to delete Persons.

Persons Data Container

As you can imagine, our app will grow up quite a bit during this article, so we need to move logic for rendering our list of persons to a separate class/component. There we will keep a data connection and UI representation, and it will also help us in the future to manage Real-Time subscriptions.

SyntaxError: Reserved Word

See the original posting on DZone Python

Remember when you were a mere beginner in JavaScript? While learning you must have come across the term, ‘reserved words.’ These are the words that you can’t use as names for variables. Apart from mainstream keywords like break, var, if…else, etc., there are many more reserved keywords.

SyntaxError: "x" is a reserved identifier (Firefox) 
SyntaxError: Unexpected reserved word (Chrome)

Above is the error messages you will receive if you use such words by accident. Seasoned JS developers, too, commit such blunders while coding.

Swift vs. Objective-C: Generated Code

See the original posting on DZone Python

Frequently, when disassembling apps or applications I need to determine weather the app is implemented in Objective-C or Swift. You can do that in a variety of ways, usually, including looking into the application via otool or jtool to understand what libraries the app needs or looking for tags in various function names (like there word "swift," for example).

I thought it would be interesting to start to compare the function semantics in Objective-C and Swift to see how they differ. I’ve recently gone over function vs. message passing semantics to prepare for this comparison, so we can start to take a look at Swift code, which is much more complex than Objective-C. We’re going use two similar programs for this comparison – though that similarity is only skin deep, as we’ll see.

How to Use Backendless With React.js

See the original posting on DZone Python

React.js is one of the best and most popular front-end frameworks available for app builders. The barriers to entry in terms of understanding how to develop an app with React are very low, which is why many JavaScript developers choose the React library for web or mobile applications. It also works very well with a large number of data providers. Therefore, today we are beginning a series of articles about "How to use Backendless with ReactJS." In this series, we will familiarize you with a number of Backendless features, show you how to use our real-time database with the React-Redux store, show you how to deploy your app to Backendless File Storage, and demonstrate how to easily inject the into your React application.

In this article, we will start by creating a new Backendless App and building a simple React app. Our demo app will be an Address Book app, so to get started we will show how to load and display some data from the server. In the future, we will modernize the application by adding more functionality.

Extending the ONLYOFFICE Online Editors Functionality With Plugins

See the original posting on DZone Python

ONLYOFFICE is a free and open source web-based office suite that can be easily deployed on your own server, integrated with your web application, and extended with your own plugins.

A plugin is the simplest way to add missing or additional features, like Symbol Table. Using plugins you can easily integrate document editors with any other editor, for example, to edit images. or connect any third-party service, be it online, like YouTube, or self-hosted, like Highlight Code.

1 2 3 4 152