Package Exports
- partial.js
- partial.js/builders
- partial.js/utils
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (partial.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
web application framework for node.js
- Homepage / www.partialjs.com
- Follow partial.js on Twitter @partialjs
- E-shop example: e-shop written in partial.js and SQLite3
- Documentation: partial.js documentation
- Async web framework - example
- Simple view engine - example
- Simple routing + support flags ['xhr', 'post', 'get', 'put', 'delete', 'upload', 'json', 'logged', 'unlogged', 'debug'] - example
- Simple cacheing - http cache example, partial cache example
- Simple directory structure (controllers, modules, public, logs, tmp, templates, views, resources)
- Simple code structure
- Simple error handling
- Simple cookie manipulation - example
- Simple listing via templates - example
- XSS protection
- Share controller functions and models over framework - example
- Assertion Testing - example
- Supports custom helpers - example
- Supports routing to static file for dynamic creating static file - example
- Supports controller sharing between other controllers - example
- Supports debug mode with custom settings without cache - example
- Supports file upload - example
- Supports copy&paste custom code between projects - example
- Supports modules (module can create route, view, template, content, resource or static CSS/JS file) - example
- Supports form data validation - example
- Supports simple log writer - example
- Supports simple restrictions example
- Supports serve static files
- Supports HTML minification
- Supports JavaScript compress
- Supports JavaScript dynamic compress in views - example
- Supports simple LESS CSS (with compress) - example
- Supports Markdown parser - example
- Supports resources (for multilanguage pages) - example
- Supports prefixes for mobile devices - example
- Supports simple SMTP mail sender - example
- Supports simple mail templating - example
- Supports custom authorization - example
- Supports simple image processing (resize, crop, blur, sepia, grayscale, etc.) with GraphicsMagick or ImageMagick - example
- Supports internal nosql embedded database - example: authorization or example: contact form
- Easy adding dynamic META tags in views or controllers - example
- Easy adding dynamic Settings in views or controllers - example
- Simple use paypal payment with node-paypal - example
- Supports simple paging builder - example
- Supports live usage information - example
- Supports dynamic stop server - example
- Supports verification of framework - example
- Supports backup and restore website - example, auto-backup example
- About 8 000 lines of JavaScript code, all files have 300 kB
- No dependencies
- More examples
- Documentation
partial.js presentation
Install step by step partial.js
$ sudo npm install -g partial.js
$ mkdir mywebsite
$ cd mywebsite
$ partial.js
$ node keepalive 8080
$ open http://127.0.0.1:8080
Interesting modules
- Simple Backup/Restore module for node.js - https://github.com/petersirka/backup
- PayPal Express Checkout for node.js - https://github.com/petersirka/node-payment-paypal
- CouchDB client for node.js - https://github.com/petersirka/node-couchdb
- MongoDB (www.mongolab.com) REST client for node.js - https://github.com/petersirka/node-mongolab
- HTTP-RDBMS REST node.js client for partial.js (MySQL, SQL Server, OleDB, ODBC) - https://github.com/petersirka/node-rdbms
I am still improving my english. Please do not hesitate to contact me in any contradictions.
The MIT License
Copyright (c) 2012-2013 Peter Širka petersirka@gmail.com
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.