Building an App With Nette and Adding Authentication, Part 1

See the original posting on DZone Python

Check out the repo to get the code.

Nette is a free, open-source PHP framework designed for building web applications. Nette is a set of decoupled and reusable PHP packages that will make your work easier. And Nette is also known as the quick and comfortable web development framework in PHP because it has the tools that allow you to bang out PHP applications rather quickly. Nette has a bundle of tools that make it one of the popular PHP frameworks out there. These tools include Tracy, Latte, and Tester.

Building a Realtime Chat App With Django and Fanout Cloud

See the original posting on DZone Python

Chat is one of the most popular uses of realtime data. In this article we’ll explain how to build a web chat app in Django, using Django EventStream and Fanout Cloud. The Django EventStream module makes it easy to push JSON events through Fanout Cloud to connected clients.

Introduction to Django and Realtime

Django was created in 2003 when websites were orders of magnitude simpler than they are now. It was built on a request-response framework – the client sends an HTTP request, Django receives it, processes it, and returns a response back to the client.

Announcing Oracle JET 4.0 and Web Components

See the original posting on DZone Python

This release of Oracle JET brings many new features. None bigger than a completely new Custom Element based syntax for defining all JET UI components. We believe you will find this new syntax more intuitive and natural to work with when developing your HTML content. This is being done to further our effort to stay current with HTML standards and specifications such as the HTML5 Web Component specification. To learn more about developing with this new syntax, refer to the JET Developers Guide.

While you don’t have to move to the new custom element syntax when you migrate your application to use v4.0.0, it is highly recommended that you start all new work using this new syntax. The custom element syntax can co-exist with the existing data-bind syntax (e.g. ojComponent) in the same page without any problems. They are designed to work together until the time the data-bind syntax has reached End of Life, which is currently planned for on or about the time JET v8.0.0 is released (approx two years from the v4.0.0 release).

Top Gantt Chart Solutions for Angular

See the original posting on DZone Python

In this article, we’ll take a look at three different Angular Gantt charts. Our field of interest includes the basic features and documentation. Without going into technical details, we’ll check what these charts can do and how easy it’ll be to find a particular documentation page that describes how you can reach the desired functionality. Well, let’s start!

1. angular-gantt

angular gantt

Code Splitting With Vue.js and Webpack

See the original posting on DZone Python

One possible downside to bundling your single page app with Webpack is that you can end up with a really big bundle file, sometimes several megabytes in size!

The problem with this is that a user must download the whole file and run it before they can see anything on the screen. If the user is on a mobile device with a poor connection this process could take quite some time.

Not Everyone Needs API Scale, Some Just Need API

See the original posting on DZone Python

I know that catering to the enterprise is where the money is at. I know that playing with all the cool new containerized, event sourcing, continuously integrated and deployed solutions are where you can prove you know your stuff. However, in my world, I come across so many companies, organizations, and government agencies that just need things to work. They don’t have the skills, resources, or time to play with everything cool, and really could just use some better access to their data and content across their business, with trusted partners, and maybe solicit the help of 3rd party developers to help carry the load.

Many of the conversations I am having within startups and tech circles often focus on scale, and the latest tech. I get that this is the way things work in alpha tech circles, and this is applicable in your worlds, always moving forward, pushing the scope of what we are doing, and making sure we are playing with the latest tools is how it’s done. However, not everyone has this luxury, and many companies can’t afford to hire the talent needed or pay the cost associated with doing things with the most modern approach, or even the right way. Remember, when you are talking about Kafka, Kuburnetes, Docker, GraphQL, and other leading-edge solutions, you are talking from a place of privilege. Meaning you probably have the time, resources, and space to implement the most modern approach, and have the team to do it right.

Reselect Selectors: How to Avoid an Endless Cycle in a React-Redux Application

See the original posting on DZone Python

Reselect is a popular library that provides a convenient way of getting values from the store in a React-Redux application. What makes it so good is its memoization ability. You can read all this in the documentation. In two words, when you use the createSelector() function, it memoizes an output of every input selector and recalculates the resulting value only if any of the input selectors changes its output. An important thing to note here is that reselect uses reference equality (===) to determine a value change.

As a motivation to use memoization, the documentation suggests an increase of performance, because recalculation on every call may be quite expensive. But we will see in this article that using a memoized selector is sometimes the only way to go in a React-Redux application, even if calculations are very cheap and don’t affect performance.

Coding Standards for Magento Framework

See the original posting on DZone Python

Coding standards for Magento have been around for ages. Sure, they have undergone modifications and minor changes. Overall, they have helped hundreds of programmers maintain a certain standard of code quality. Right now, if you want to design your own Magento module, you need to adhere to a few coding standards yourself. An easier way to understand the concept of Magento coding standards is to view them as coding practices that Magento has adopted over the years.

Here are a few principles that you should follow to stay on the right track while coding –

Easy JavaScript: What Are Template Literals?

See the original posting on DZone Python

In ES6, two types of literals were introduced:

  1. Template Literals for string concatenation and expression embedding in a string
  2. Tagged Template Literals to tag the Template Literal in a function so the literal can be evaluated in the function

Let’s assume that you need to do the string concatenation with a dynamic expression or with the value of a variable. Take a look at the following code:

Advanced RxJS With Angular and Web Speech (Part 2)

See the original posting on DZone Python

This is Part 2 of our 2-part tutorial. RxJS Advanced Tutorial With Angular and Web Speech: Part 1 covered the following:

  • Introduction to reactive programming with Rx* and observables
  • Setting up our Angular app
  • Integrating the Annyang library for speech recognition support
  • Implementing a form component allowing users to speak or type words to use in the madlib story

In Part 2, we will cover:

Tutorial: How a Web Application Can Consume Data From a Web API

See the original posting on DZone Python

This November will mark my second anniversary as a Zone Leader for DZone.  Writing six to eight articles a month has been a thrilling experience – allowing me to continue learning in our ever-changing world of Information Technology.

A few weeks ago on our Slack channel, one of the other Zone Leaders mentioned finding a RESTful end-point that provides details behind an author’s posts on DZone.  This piqued my interest, as I have always wondered what additional statistics I could locate for my articles.

Create Spring Beans in Your Site With Crafter CMS

See the original posting on DZone Python

Crafter CMS supports scripting in Groovy. It’s awesome. It’s lightweight. It’s fast. It’s easy. That said, when solutions start to become more sophisticated, developers need ways to manage the complexity. Spring bean factory is an inversion-of-control implementation that has become a standard for wiring components of a system together. Crafter CMS lets you create classes in Groovy and wire them together as Spring beans that can be used by other scripts in the system.

Step 1: Create Your Classes

Put your classes under scripts/classes/groovy. For example, you could put them under scripts/classes/groovy/mysite/AddressBook.groovy.

Developing a Basic Web Application Using Python

See the original posting on DZone Python

There are a few things we need to explain before getting into the thick of things. Let’s focus on the overall picture with a few analogies:

  • The internet is a network of computers. Its goal is to enable communication between them.
  • A network is composed of nodes and edges. Visually, it is a set of dots and connections. The London tube map is an example.
  • Your family, friends, colleagues, and acquaintances can be thought of as a network of people. (This is how social networks model our relationships.)
  • To communicate, we must have a means by which our messages reach the intended destination.
  • On one hand, we need something physical to connect the computers. These are the wires.
  • On the other hand, we need some conventions (software) to ensure messages reach their destinations.
  • One way this is done over the internet is called TCP/IP.
  • TCP ensures the messages arrive safely with nothing missing. Every computer has an IP which is a unique address.
  • You can think of TCP as an envelope and IP as the address on it.

HTTP and the Request/Response Cycle

To communicate effectively, the elements of a network need to agree on some protocol. That protocol for humans can be English, but there are other protocols (Chinese, for example).

Using ASP.NET Core TagHelpers [Podcast]

See the original posting on DZone Python

Recently, Microsoft announced the release of ASP.NET Core 2.0. With this release comes a new feature for building HTML views called TagHelpers. With ASP.NET Core 2.0, TagHelpers allow developers to write component based-views for server-side rendering by utilizing a syntax similar to HTML. This new syntax incorporates concepts used in HTML, elements, and attributes.

When using TagHelpers in a .cshtml view, Visual Studio treats the TagHelper as it would HTML, but with added server-side functionality. Often with HTML Helpers, the CSS class attribute was difficult to add and completely lacked Intellisense. With TagHelpers, developers get rich Intellisense for not only server-side code, but also with any HTML attributes supported by Visual Studio.

Parsing HTML: Selecting the Right Library (Part 2)

See the original posting on DZone Python

Last time, we looked over the various HTML parsers you can consider when working with Java. This time, we’ll examine a couple of popular C# libraries worth considering as we examine their features, benefits, and drawbacks when processing HTML.

C#

AngleSharp

The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.

Web App Architecture: Trends, Best Practices, and More

See the original posting on DZone Python


At Stackify, we understand the amount of effort that goes into creating great applications. That’s why we build tools for Application Performance Management (APM), log management, and a whole suite of application support tools (in one solution) to make your life easier and your apps better. But every developer knows that the foundation of an outstanding application is its architecture. In this overview, we’ll take a closer look at web application architecture, its importance for future growth, current trends, and best practices.

1 2 3 4 5 85