Posts Tagged ‘functions’

underscorejs

Functional programming in JavaScript and the underscore.js library

Functional programming is a programming methodology being a variation of declarative programming, in which functions belongs to the fundamental values, and the emphasis is on valuation of (often recursive) functions. It’s used also by the underscore.js library, which supports functional programming in JavaScript. Functional programming in JavaScript and underscore.js This JavaScript library offers a variety […]

core_tech

Algorithms and data structures in JavaScript

In today’s article will be a very important topic, namely: algorithms and data structures in JavaScript. It is an important topic for programming in general. We should not have prejudices – Javascript is suitable for this purpose very well. Perhaps some things will be in ths language a bit harder, but that others will be […]

date-time-javascript

Date and time functions in JavaScript

Today we take a closer look at ready-made tools to assist us in working with date and time. So libraries with functions to operate on date and time in JavaScript; formating, parsing, comparing, etc. We already talked about basics of date and time functinos in JavaScript here. Now we turn to the more advanced tools. […]

prototype_js-logo1

Prototype JS Framework in a nutshell. Part 1.

Here is the first part of the short courses, describing JavaScript frameworks. The first of these will be Prototype JS. Prototype JS Framework – from scratch A little bit of preliminary information appears in the article JavaScript Frameworks – foreword. The purpose of this article is not to replace the documentation, but the description of […]

code_secured

Testing code and handling errors in JavaScript

Debug it! In this article we will take a look on testing the code and error handling in JavaScript. Handling errors in JavaScript At the beginning would have to say a few words about the need for testing. We need to test everything! Preferably at each stage of creating the code. And we must take […]

good2

Best solutions in JavaScript – part 1

Update 09-2014 : note – this article has been originally created several years ago, so maybe a little different from today’s standards of good and recommended solutions. Today we recommend the first part of best practices and solutions in JavaScript. It is purely practical. We present tips and simple tricks. Best solutions in JavaScript An […]

interesting-programming-stuff

Interesting issues and good practices in JavaScript

Welcome to the first, but certainly not the last topic of this type, which touches interesting features of JavaScript, tricks and less common structures, like the with instruction. Interesting issues and good practices in JavaScript For a good start: Tip #1 – the ‘with’ instruction The with instruction, being a part of JavaScript language, allow […]

direction-next-step

Functions and events. JavaScript basics part 2.

Functions and events in JavaScript … … will be the main topic in this part of articles about JavaScript basics. So let’s go. Functions in the JavaScript Functions are the next important element of the language. As we already mentioned in part 1: functions exist independently, while methods are directly associated to the objects. When […]