Understanding DDoS Attacks: A Comprehensive Overview

Understanding DDoS Attacks: A Comprehensive Overview Distributed Denial of Service (DDoS) attacks have become one of the most prevalent and disruptive threats in the digital landscape. These attacks can cripple websites, disrupt online services, and cause significant financial and reputational damage to organizations. What is a DDoS Attack? A DDoS attack occurs when multiple systems … Read more

Understanding AMP: Accelerated Mobile Pages for Faster Web Experiences

Understanding AMP: Accelerated Mobile Pages for Faster Web Experiences Accelerated Mobile Pages (AMP) is an open-source framework developed by Google with the goal of creating web pages that load quickly on mobile devices. In today’s fast-paced digital world, speed is a crucial factor in user experience and search engine rankings. This article explores what AMP … Read more

HTML5: Revolutionizing Web Development

HTML5: Revolutionizing Web Development HTML5, the latest iteration of the Hypertext Markup Language, has dramatically transformed the landscape of web development since its introduction. As the cornerstone of web technologies, HTML5 offers enhanced functionality, improved performance, and greater flexibility compared to its predecessors. This article delves into the key features and benefits of HTML5, highlighting … Read more

Authentication with Compound-Passport

One of the most useful CompoundJS plugins is Compound-Passport. If you aren’t familiar with Passport, it is an authentication library for Node that provides a common API to authenticate with Facebook, Twitter, Google, Github and over a hundred other OpenId and OAuth login sources. This is how I was able to get authentication with Facebook added to … Read more

Unit Testing with Thrill.js

Functional testing the DOM can be a daunting task. Tools like Qunit and Mocha make it easier, but the real trick is automating the testing process from the Terminal so that it can run continuous integration in the background and throw errors when a test fails. Thrill.js has turned out to be just the tool I was looking for. There … Read more

executeAsyncScript() in Selenium Webdriver for Node

If you aren’t familiar with it, the NodeJS version of the Selenium WebDriver is a great way to write functional tests in JavaScript and automatically run them in your browsers. The NodeJS WebDriver uses the Selenium Server Java jar under the covers to work its magic. The main downside of the WebDriver is that the documentation is inconclusive at … Read more

Compound.js Routes

Previously, I introduced you to Compound, an awesome MVC framework for NodeJS. Today, I am going to expound on how the routing works in Compound. If you are not familiar with how MVC work, I suggest you take a look at some of my older articles about JavaScript Architecture and Code Separation. From here on, I will assume … Read more

What are the Best Productivity Apps for OSX?

I’ve been a huge fan of Apple since college. What’s not to love? The user interface is clean and intuitive, the shell is based on Linux, which makes it easy to use and Macs hold up really well to both wear and tear and malicious software. I use a Macbook Pro as my primary development … Read more

How Do You Make a Compound.js Application?

NodeJS may still be young, but there are already several MVC frameworks popping up to run exclusively on Node. My favorite is CompoundJS. Compound was written to look like to Ruby on Rails. In fact, Compound’s original name was “Railway on Express.” As the defunct name implies, Compound runs on top of the ExpressJS framework. Some of … Read more

How Do You Write an Anvil.js Plugin?

Anvil.js is a powerful “Convention over configuration” build tool that was built by Alex Robson and sponsored by appendTo, which is incidentally where I work now. One of the most powerful things about Anvil is that it has an intentionally light core. It was meant to be primarily run by plugins. Authoring Anvil plugins is a pretty painless ordeal. … Read more