Hello Kraken

fig01← Binding Preprocessing in Knockout 3.0 | Debugging Bindings in Knockout 3.0 →

A guest post by Lenny Markus, who has been involved in technology in one way or another over the last 15 years. He is a problem solver at heart and has spent the last two years at @PayPal working on a variety of interesting challenges, trying to find elegant solutions that make life easier for others. He always mentors and try to raise the bar for everyone around him. He can be reached at @lennymarkus.

Care and feeding of your pet Kraken

Before we get started, let’s make sure you’ve set up your system correctly. Kraken works best with NodeJS version >= 0.10.12. Be sure that your npm installation is up to date.

In this post, I’m going to create a basic KrakenJS application, explain its structure and point out the features of the Kraken suite.

Installing the generator

The first step in creating a Kraken application is to install the code generator. This generator is written for Yeoman, and similarly to Rails, it can help you quickly create scaffolding for an application.

You install the generator globally (-g flag), using npm:

$ sudo npm install generator-kraken –g

This command will install the generator and all its dependencies. Once done, we can proceed to create an application.

Generating an application

Go ahead and type the following:

$ yo kraken

This will invoke Yeoman, and run the Kraken generator. You will be asked a few questions about the new project you want to set up: the Project Name, Description, Author, and optional usage of RequireJS (Say no for now):

, '""`. hh / _ _ \ |(@)(@)| Release the Kraken! ) __ ( /, '))((`.\ (( () )) `\ `)(' /' [?] Application name: helloKraken [?] Description: A simple kraken application [?] Author: @LennyMarkus [?] Use RequireJS? (Y/n) n

The generator will proceed to create a new directory (Project Name), and set up your new application.

Once complete, you can run your application right away:

$ cd helloKraken $ npm start

By default, your application will start on port 8000. You can visit it on and it will greet you.

This is your plain vanilla Kraken app.

What just happened?

The generator created a new application with the following structure:

There are a few more files, but let’s focus on these in the figure for the time being, going in order of interest.

package.json

This is your package definition file. It contains the name and description of your application, based upon the description you provided, as well as all of the necessary dependencies.

Source: blog.safaribooksonline.com

You might also like:

The Three Little Pigs - Disney Story Book
The Three Little Pigs - Disney Story Book
Read and download free books on Full …
Read and download free books on Full …
Cat in the Hat- Story book video
Cat in the Hat- Story book video

~ ~ ~ FOR SALE - children's book web site busine

If you have always wanted to be a childrens book author or illustrator...
FOR SALE - The Many Adventures of Drippy the Raindrop
Drippy and friends is already earning money, online selling his stories and related materials to teachers since 1999. Can be run from home, or any where, really - be your own boss, choose your own hours.
I, Joel, wrote two different adventures about a cute little Rain Drop named Drippy, and the Water Cycle. They are self published in book form and as e-books on a web site. A health situation forces me to sell my blue buddy. Sale will include all rights to the stories (text and illustrations), additional story ideas and merchandising ideas, related materials originals, copy right transfers, and web site (with domain name www

Hee hee, i don't have time to read all your post

Posts today, but, the headline on this one caught my eye in my email box, you think my dog is fictional!!?? HILARIOUS!! I'm so proud!!
I said my dog didn't cost any more than ANY other dog, and yeah, i trained him myself. I learned many things online, and read some books, totalling $14 for the 3 of 'em. I love reading anyway.
I also learned a lot on "DogTrickAcademy", i strongly recommend that site for those who have dogs with behavior problems, their is a support community, I'm really well known on that site, they even offered me a consult position there, but, i turned it down, said i'd rather be free to ask any dumb question i wanted to

Read the newspaper online

Rather than paying for a subscription.
Cut out bottled water (if you use that).
Use the library for books and magazines.
Partner up with a friend to take advantage of 'buy one get one free' sales (I always laugh when you get a free 10 lb bag of potatoes when you buy one 10 lb bag ... how many potatoes can one family eat? But you can split it with a friend.)
Seek out free entertainment -- story hours, street fairs, parks with cool playground equip.
Adjust the temp in your home by 1 or 2 degrees so your heating/cooling bill is lower.

Froggy Bakes a Cake book read aloud …
Froggy Bakes a Cake book read aloud …
Free Kids Books Online - Two new …
Free Kids Books Online - Two new …
Ravinder Singh Online Book Reading
Ravinder Singh Online Book Reading

Related posts:

  1. Slavery Books Online
  2. Read Star Wars books online
  3. Toy Story Books Online