- Homepage / www.partialjs.com
- GET STARTED
- Follow partial.js on Twitter @partialjs
- Download empty project
- Blog example: new example - blog written in partial.js (without installation)
- E-shop example: new example - e-shop written in partial.js (without installation)
- Documentation: partial.js documentation
- Framework benefits
- Changelog
- Download partial.js modules
- HTML 5 Server-Sent Events (JavaScript) via partial.js & node.js
- node.js / partial.js - Live streaming via multipart/x-mixed-replace + CSS auto vendor prefix
- Deployment of partial.js / node.js website on appfog.com (freehosting)
- WebSocket (Real-time) HTML5 Chat in 5 minutes - node.js & partial.js
- partial.js / web application framework for node.js
- NEW - Controller proxy - example: proxy
- NEW - Supports server sent events - example: sse
- NEW - Supports live streaming via multipart/x-mixed-replace - example: mmr
- NEW - Supports uploading via multipart/x-mixed-replace - example: mmr
- NEW - Supports CSS auto vendor prefixes - read the benefits
- NEW - Supports Websocket (Standard - RFC 6455) - example: websocket
- Async web framework - example: async methods
- Simple view engine - example: view engine
- Simple routing + support flags ['xhr', 'post', 'put', 'delete', 'upload', 'logged', etc.] - example: routing flags
- 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: cookies
- Simple listing via templates - example: listing via templates
- XSS protection example: XSS
- Share controller functions and models over the framework - example
- Assertion Testing - example: testing
- Supports custom helpers - example: custom helpers
- Supports routing to static file for dynamic creating static file - example: routing
- Supports controller sharing between other controllers - example
- Supports debug mode with custom settings without cache - example: debug mode
- Supports file upload - example: file upload
- Supports copy&paste custom code between projects - example
- Supports modules (module can create a route, view, template, content, resource, etc.) - example: module
- Supports inject module from URL example: module inject
- Supports form data validation - example: validation
- Supports simple log writer - example: logs
- Supports simple restrictions example: restriction
- Supports serve static files
- Supports streaming static files - implemented Accept-Ranges
- Supports HTML minification
- Supports JavaScript compress
- Supports JavaScript dynamic compress in views - example: dynamic JavaScript compress
- Supports simple LESS CSS (with compress) - example: LESS CSS
- Supports Markdown parser - example: Markdown
- Supports resources (for multilanguage pages) - example: resources
- Supports prefixes for mobile devices - example: prefixes
- Supports SMTP mail sender (attachment, HTML, basic authentication) - example: SMTP mail sender
- Supports simple mail templating - example: mail templating
- Supports custom authorization - example: authorization
- Supports basic access authentication - example: basic access authentication
- Supports simple image processing (resize, grayscale, etc.) via GraphicsMagick/ImageMagick - example
- Easy adding dynamic META tags in views or controllers - example: meta tags
- Easy adding dynamic Settings in views or controllers - example: view settings
- Simple use paypal payment with node-paypal project - example: paypal
- Supports simple pagination builder - example: pagination builder
- Supports live usage information - example: framework usage
- Supports dynamic stop server - example: stop server
- Supports verification of framework - example: verification
- Supports backup and restore website - example: backup & restore, auto-backup example
- About 9 000 lines of JavaScript code, all files have 330 kB
- NO DEPENDENCIES *** NO DEPENDENCIES *** NO DEPENDENCIES
- More examples
- Documentation
- Supports internal NoSQL embedded database - example: authorization or example: contact form
## 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
- FileStorage REST client for node.js - https://github.com/petersirka/node-filestorage
- 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
I am still improving my english.
Copyright (c) 2012-2013 Peter Širka [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.