hapi is an alternative to express.js and can be used to create a node.js server. Today I’m going to show you some of my initial thoughts on how pioc can be used together with hapi (current version: 8.0) to create node.js applications.
Author Archives: Patrick Gotthardt
pioc: Dependency Injection Container for node.js
Freshly released: pioc, a Dependency Injection Container for node.js
Using JSDoc with AMD/require.js modules
For quite some time I’ve been searching for just the right formula to get JSDoc 3 to work with my AMD modules. Thankfully, the next version of JSDoc (3.3.0) finally seems ready for the job and I wanted to take the time to explain how it can be done.
Using Highland.js with jide.js
Highland.js is an interesting library for working with node-like Streams that can be used within the Browser. While most of what it does is
not really necessary with jide.js, I still thought that it might be interesting to see how it can be used together with jide.js.
What about jide.js performance?
The other day, I noticed that there is a nice and simple benchmark for toolkits like jide.js: jashkenas’s Ember/Backbone.
Extending the TagList with auto completion
Before we start, let me say this: The following tutorial, while interesting, is not compatible with jidejs-1.0.0-beta2. While writing the demo for it, I noticed a few bugs (will be fixed in beta3) that prevent the code presented here from functioning properly. I believe it is still a very interesting article about jide.js and highlights […]
Create a TagList control with jide.js
Today, we’re going to look at yet another example of a custom control written with jide.js. I had the idea for this control while taking a look at Ghost, a blog engine written in Javascript (Node.js). The way you edit tags for a blog entry in Ghost looks quite nice and I wanted to see […]
Notifications in jide.js
Today we’ll create a number of controls that allow you to add notifications (think of Growl) to your website.
To do that, we need to create two controls: A Notification
and a NotificationArea
. The Notification
will be the actual notification that displays your message to the user, while
the NotificationArea
will be an area on the screen where the notifications should be displayed.
Creating a collapsible sidebar page with jide.js
There is an almost unlimited amount of useful or interesting controls you could create with jide.js. This time, we’ll create a page layout that has a collapsible sidebar. This type of control is extremely common for mobile applications, where screen space is a limited resource. As always, you can find the finished control in my […]
Syntactic sugar for classes in jide.js
jide.js comes with a simple class framework, jidejs/base/Class
, however, you don’t have to use it if you don’t like it. jidejs/base/Class
is quite simple. It helps you to extend from other classes, mix in other objects and define custom methods. Things tend to get ugly when you need to define ObservableProperties, though. Let’s take another […]