CSS Measuring Units

We look into the world of measuring units used in CSS in this post

It’s programming, mathematics and art! “Everything you can imagine is real.” - Pablo Picasso CSS is fascinating! It is a mixture of programming, mathematics and art as Chris Coyier says. For me, it was just a way to change colours and sizes during the initial days of my tryst with web applications. Those were the days of tables where you aligned your content by creating tables within your HTML page. Scary as hell! But over the years I realised how cool CSS really is. It has become as important as any language in modern web development world. There is a...
Read More

Desktop apps with Electron - 2

In this post we see how to add multiple window options to the app that we made in previous post.

Creating multiple windows in your electron app In my last post, I wrote about how to get a basic Electron app up and running. But what do you do if you want a multi-window app? For example, if you want to display various user specific options once you select from the app menu. Let’s see how to get this done. In our main.js file, we add a couple of lines of code to trigger the options window when a user clicks on the options menu. For this we include a module called ipc which enables us to send commands across...
Read More

Desktop apps with Electron - 1

Let us see how we can create a desktop app using JavaScript, HTML and CSS using Electron framework.

What is the fuss all about? In my last post, I wrote about how JavaScript has taken over the programming world and now extends beyond the boundaries of a web browser. It exisits on the server side and on various desktop apps as well. So we’ll see how to create a simple desktop app using Electron. Electron is an open source framework maintained by Github to enable building cross platform desktop apps using web technologies like HTML, CSS and JavaScript. Electron was initially built to power Github’s Atom editor. Electron has been gaining popularity as is it easier for developers...
Read More

JavaScript Everywhere!

JavaScript has come a long way as a programming language, just my thoughts on it and a retrospect.

Retrospect For past few years, JavaScript has taken over the programming world like no other language before. From something like this: // simple alert box alert('How are you today?'); to something as complex as: // a Node.js server var http = require("http"); var server = http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/html"}); response.write("working"); }); server.listen(80); console.log("Server is listening"); My earliest memory of JavaScript is from a time when it was used to popup little messages on the screen using our ever dear friend, the alert box. It was considered to be an evil language for quite a long time. In fact...
Read More