Skip to content
/ wns Public

WNS is a component-based, class-based Node.JS MIDDLEWARE

License

Notifications You must be signed in to change notification settings

yeptlabs/wns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WNS

Welcome to WNS Middleware (v0.0.97) Build Status

What's the idea?

To build your application/service, just installing packages, configuring as you like and extending COMPONENTS and PACKAGES (if you want). You can easly integrate you application/service with any Node.JS module.

Installation

$ npm install -g wnserver

Quick Start

Building your first SERVER

$ wns --new myServer
$ cd myServer

Building your first server's APP (using default template)

$ wns --config set appDirectory apps/
$ wns --app myApp

Running your application

Let's just install the HTTP server

$ wnspm install http

And run it.

$ node index

Installing packages to your SERVER/APP

Just go to the SERVER or APP folder and type:

$ wnspm install [package]

Examples of packages: http, mongo, winston, template

Oficial Packages

  • HTTP: Full http package
  • MVC: Classes for MVC application.
  • DB: Base classes for database integration
  • MONGO: Classes for MongoDB integration
  • MYSQL: Classes for MySQL integration
  • TEMPLATE: Classes for template system. (DustJS integration)
  • WINSTON: Classes for using Winston as log service.

For more packages, search them here.

Main Features

  • Class/Component-based development
  • Package Management
  • Improved Event System
  • Typed Arguments (optional)
  • Support for CoffeeScript

Philosophy

  • Intuitiveness
  • Performance
  • Speed
  • Professional
  • Security
  • Modules and components
  • Build as your like

More information:

License MIT

Copyright (c) 2012- Pedro Nasser [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Bitdeli Badge

About

WNS is a component-based, class-based Node.JS MIDDLEWARE

Resources

License

Stars

Watchers

Forks

Packages

No packages published