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.
$ npm install -g wnserver
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: 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.
- Class/Component-based development
- Package Management
- Improved Event System
- Typed Arguments (optional)
- Support for CoffeeScript
- Modules and components
- Build as your like
- About LOOK HERE
- Cases LOOK HERE
- Examples LOOK HERE
- Community LOOK HERE
- API and Documentation LOOK HERE
- FAQ LOOK HERE
Copyright (c) 2012- Pedro Nasser firstname.lastname@example.org
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.