Web Engineering Blog
Post date: Thursday, December 10, 2015 - 03:44
Updated date: Thursday, December 10, 2015 - 19:45
Summary
Don't confuse a DOM collection with a JS array: Array functions, such
as the forEach
looping method, cannot be applied to a DOM
collection!
For instance, when you retrieve all rows of an HTML table element, you get an
HTMLCollection
, which is an array-like object, but not an instance
of Array
, and therefore the following code does not succeed because
the Array
method forEach
is not defined for an
HTMLCollection
like myTableEl.rows
:
Post date: Wednesday, November 11, 2015 - 21:55
Updated date: Wednesday, November 11, 2015 - 21:55
If you'd like to learn about how to get rid of boilerplate code, read the slides of Gerd Wagner's talk Model-based development of web apps with mODELvIEWjs given on 3 November 2015 at the CodeMotion conference in Berlin.
Post date: Monday, November 2, 2015 - 13:22
Updated date: Tuesday, November 17, 2015 - 14:13
You probably know what Boolean operators and truth values are. But do you know George Boole?
Post date: Friday, October 23, 2015 - 00:29
Updated date: Wednesday, December 9, 2015 - 11:55
The first summary article has been published on our new page Summaries, Cheat Sheets and Posters.
Post date: Wednesday, October 14, 2015 - 09:48
Updated date: Friday, February 19, 2016 - 16:33
In the Web of Things (WoT), special communication networks composed of sensor nodes, actuator nodes and service nodes form the basis for new types of web applications, which are directly connected to the real world via sensors and actuators, and can be private, such as smart home apps, personal robotics apps and factory control applications, or public, such as air pollution monitoring systems and city parking management systems.
Post date: Tuesday, October 6, 2015 - 16:16
Updated date: Wednesday, October 7, 2015 - 08:47
The proper way of creating an HTML table
with JavaScript and
inserting it into the HTML body
element is using the DOM methods insertRow and insertCell, as in the following code example:
Post date: Tuesday, September 29, 2015 - 16:36
Updated date: Tuesday, October 6, 2015 - 13:04
If you want to become a great app developer, it's not sufficient that you master your favorite programming technologies. It's essential that you understand all basic concepts and techniques, not just in programming, but also in information management.
A programming (or software development) technology typically combines a programming language (such as JavaScript, Java or C#) with a framework/library for user interface and data storage programming (such as BackboneJS, JSF or ASP.NET MVC).
Post date: Monday, August 31, 2015 - 17:38
Updated date: Friday, September 18, 2015 - 15:12
The concept of a class is fundamental in object-oriented programming. Objects instantiate (or are classified by) a class. A class defines the properties and methods (as a blueprint) for the objects that instantiate it. Having a class concept is essential for being able to implement a data model in the form of model classes within a Model-View-Container (MVC) architecture.
Post date: Monday, July 27, 2015 - 10:45
Updated date: Wednesday, December 9, 2015 - 11:37
When working with embedded devices, RAM (random access memory) is one of the most valuable and limited resource of the system. The focus of this article is on the RAM usage optimization for Arduino MCUs, but the same principle applies to many other embedded devices.
Post date: Thursday, July 23, 2015 - 23:54
Updated date: Wednesday, December 9, 2015 - 11:40
Three easy ways to programmatically reboot/reset an Arduino MCU.