পৃষ্ঠাসমূহ

Search Your Article

CS

Pageviews

Showing posts with label Aurelia Tutorial. Show all posts
Showing posts with label Aurelia Tutorial. Show all posts

Monday, February 13, 2017

Aurelia - Overview

The best definition of the framework can be found in Aurelia official docs −
Well, it's actually simple. Aurelia is just JavaScript. However, it's not yesterday's JavaScript, but the JavaScript of tomorrow. By using modern tooling we've been able to write Aurelia from the ground up in ECMAScript 2016. This means we have native modules, classes, decorators and more at our disposal...and you have them too.

Aurelia - Environment Setup

In this chapter we will show you how to get started with Aurelia framework. Before we do that, you will need NodeJS installed on your system.
SN Software Description
1 NodeJS and NPM NodeJS is the platform needed for Aurelia development. Checkout our NodeJS Environment Setup.

Aurelia - First Application

In this chapter we will explain Aurelia starting app that we created in our last chapter. We will also guide you through the folder structure so you can grasp the core concepts behind Aurelia framework.

Aurelia - Components

Components are main building blocks of Aurelia framework. This chapter will show you how to create simple components.

Aurelia - Component Lifecycle

Aurelia use component lifecycle methods to allow us manipulating component lificycle. In this chapter we will show you those methods and explain component lifecycle.

Aurelia - Custom Elements

Aurelia offers a way to add components dynamically. You can reuse single component on different pars of your app without need for including HTML multiple times. This chapter will explain how to achieve this.

Aurelia - Dependency Injections

In this chapter we will show you how to use Aurelia dependency injection library.
First we need to create new file dependency-test.js inside src folder. In this file, we will create simple class DependencyTest. This class will be later injected as a dependency.

Aurelia - Configuration

In this chapter we will show you how to configure Aurelia framework for your needs. Sometimes you will need to set initial configuration or run some code before the app is rendered to the users.

Aurelia - Plugins

When you start building your app, most of the time you will want to use some additional plugins. This tutorial will explain how to use plugins in Aurelia framework.

Aurelia - Data Binding

Aurelia has its own data-binding system. In this tutorial we will show you how to bind data with Aurelia, and also explain different binding mechanics.

Aurelia - Binding Behavior

In this chapter we will show you how to use behaviors. You can think of binding behavior as a filter that can change binding data and display it in different format.

Aurelia - Converters

If you need to convert some values in Aurelia app, you can use converters instead of manually converting values to desired format.

Aurelia - Events

In this chapter we will show you Aurelia events.

Event Delegate

Even delegation is useful concept where event handler is attached to one top level element instead of multiple elements on the DOM. This will improve application memory efficiency and should be used whenever possible.

Aurelia - Event Aggregator

Event aggregator should be used when your events needs to be attached to more listeners or when you need to observe some functionality of your app and wait for the data update. In this chapter we will show you simple example.

Aurelia - Forms

In this chapter we will show you who to use forms in Aurelia framework.

Text Input

First we will see how to submit an input form. The view will have two input forms for username and password. We will use value.bind for data binding.

Aurelia - HTTP

In this chapter we will show you how to work with HTTP requests in Aurelia framework.

Step 1 - Create View

Let's create four buttons that will be used for sending requests to our API.

Aurelia - Refs

In this short chapter we will show you simple example of Aurelia refs. We can use it to create a reference to a particular object. We can create a reference to elements or attributes, as seen in the following table.

Aurelia - Routing

Routing is important part of every application. In this chapter we will show you how to use router in Aurelia framework.

Step 1 - Create Pages

We already created components folder in one of the former tutorials. If you don't have it created already, you should place it inside src folder.

Aurelia - History

In this chapter we will show you how to use aurelia-history plugin.

Step 1 - Install Plugin

This plugin is already available as a part of the standard configuration. If you have set aurelia.use.standardConfiguration() as a part of a manual configuration you are ready to go.

Aurelia - Animations

In this chapter we will explain how to use CSS animations in Aurelia framework.

Step 1 - View

Our view will have one element that will be animated and a button to trigger animateElement() function.