Home » JavaScript (page 30)

JavaScript

Angular 2 coming to Java and Python: the first multi-language full stack platform?

Angular 2 is getting near the final release, and the whole community is really excited about the possibilities that it will bring. But the latest announcement a couple of days ago about the likely final release in May included one important quote about the future of Angular: With Angular 2, we’re really attacking it from a ‘platform of capabilities’ standpoint… ...

Read More »

jQuery History Example

The aim of this example is to show you how to use the jQuery for accessing the browser history. Sometimes the web site’s user may want to go back to the previous page or forward to the next page. The following methods can be used for this purpose. back() method for loading the previous URL in the history list. forward() ...

Read More »

External Javascript Example

HTML, CSS and Javascript are the programming power team that have been used together since virtually forever, so it’s only logical to think that they can be included into one another in a multitude of ways. As much as I agree that HTML & CSS have a very special connection, to the point that it’s very difficult to even imagine ...

Read More »

How does Angular 2 Change Detection Really Work ?

The Angular 2 change detection mechanism is much more transparent and easier to reason about than its equivalent in Angular 1. But there are still situations (like when doing performance optimizations) when we really need to know whats going on under hood. So let’s dig deeper into change detection by going over the following topics: (sample code is here): How ...

Read More »

jQuery Lightbox Example

In this example, we’re having a look at a very popular jQuery plugin called Lightbox. Lightbox is originally a small javascript library used to overlay images on top of the current page. It’s a snap to setup and works on all modern browsers. It is one of the easiest solutions when it comes to individual image viewers or even galleries ...

Read More »

Quickstart: Angular2 with TypeScript and Gulp

Angular2 is around the corner. The new version of the framework is much simpler to learn thanks to easier and more concise concepts like component-based architecture, new dependency injection or built-in modularity. In this step-by-step tutorial you will learn how how to get started with Angular2 with TypeScript and Gulp. Source code available on Github. Introduction Angular 1.x is probably ...

Read More »

JavaScript Properties Example

Properties are one of the most basic Javascript notions. Basic to the point that they are more often than not overlooked in the language’s literature. However, it’s crucial to know and study them even for those who only want to have even the most elementary knowledge about JS. 1. What are Properties exactly? According to the official definition in the ...

Read More »

jQuery Http Get / Post Example

The aim of this example is to present and use the jQuery Http Get and Post methods. The jQuery get() and post() methods are used to request data from the server with an HTTP GET or POST request. These are the two commonly used methods for a request-response between a client and server. GET requests data from a specified resource ...

Read More »

Creating a NodeJS Web Server to Run angular-seed

The angular-seed project on GitHub is a great way to start playing with AngularJS. It allows you to get an AngularJS single-page web app up and running very quickly. If you want to run your web app with NodeJS then you will need to create a basic Node server. I will attempt to explain how to create a Node server configuration using some common Express framework components. ...

Read More »