partial.js is the best ever web application framework for creating a rich web sites and web services. The framework has good documentation and contains many examples. Please support the framework on GitHub and other social networks.
Current version (v1.3.1) is Release Candidate 2 (RC 2)
VIDEO - What's new?: http://www.youtube.com/watch?v=-Y3LC2QmGpQ
$ npm install partial.js
Development:
- Download empty project
- Download empty project (Visual Studio, WebMatrix / Windows)
- Documentation: Website testing on the internet (tunnel between localhost and internet)
- Documentation: Publish a website - REVERSE PROXY
- Documentation: partial.js for Sublime Text 2 Editor
Interesting:
- express.js vs partial.js
- Tutorial
- Download partial.js modules
- Framework supports NoSQL Embedded database for max. 20 000 documents per database
Social networks:
- Discussion forum
- Flattr partial.js
- Follow partial.js on GitHub
- Follow partial.js on Twitter - @partialjs
- Follow partial.js on Facebook
- Follow partial.js on Google Plus
Examples:
- NEW - Sushi website example
- NEW - TODO list example
- More than 90 examples
- HTML 5 full website example
- Older code: blog written in partial.js (without installation)
- Older code: e-shop written in partial.js (without installation)
Modules:
- Online counter
- FileServer
- FileCache
- FileStorage
- Fulltext search engine
- Authorization
- Session (in-memory, redis or memcached)
- Login with Facebook
- Less CSS - lesscss.org
- SASS CSS - www.sass-lang.com
- Jade view engine
- doT view engine
- Live storage
- Markdown parser
Other products:
- node.js - FileStorage - storing of uploaded files (tip for partial.js)
- node.js - Fulltext search - fulltext search engine for web application (tip for partial.js)
- node.js - PayPal Express Checkout (tip for partial.js)
- node.js - Coucher - CouchDB database provider (tip for partial.js)
- node.js - MongoLab provider - MongoLab client (tip for partial.js)
- node.js - NoSQL embedded database
- node.js - Backup / Restore - Backup / Restore solution
Client-side libraries
- jQuery two way bindings
- jQuery templates - partial.js templating
- jQuery file upload (+ drag&drop)
- partial.js routing on client-side via HTML 5 history API
- VIDEO: Node.js / partial.js debugging of web applications
- VIDEO: partial.js / node.js - balancing of requests
- VIDEO: HTML 5 Server-Sent Events (JavaScript) via partial.js & node.js
- VIDEO: node.js / partial.js - Live streaming via multipart/x-mixed-replace + CSS auto vendor prefix
- VIDEO: Deployment of partial.js / node.js website on appfog.com (freehosting)
- VIDEO: WebSocket (Real-time) HTML5 Chat in 5 minutes - node.js & partial.js
- VIDEO: partial.js / web application framework for node.js
- NEW Supports workers - example: workers
- NEW Supports versioning of static files - example: static-version
- Supports redirects - example: host redirect
- Supports restrictions - example: restrictions
- Controller proxy - example: proxy
- Supports server sent events - example: server sent events
- Supports live streaming via multipart/x-mixed-replace - example: live streaming
- Supports uploading via multipart/x-mixed-replace - example: live uploading
- Supports CSS auto vendor prefixes - read the benefits
- 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', 'logged', etc.] - example: routing flags
- Simple cacheing - example: 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: controller sharing
- 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: controller sharing
- 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: framework-custom
- Supports modules (module can create a route, view, template, resource, etc.) - example: module
- Supports inject config from URL - example: config inject
- Supports inject module from URL - example: module inject
- Supports inject controller from URL - example: controller inject
- Supports inject definition from URL - example: definition inject
- Supports form data validation - example: validation
- Supports simple log writer - example: logs
- Supports simple restrictions - example: restriction
- Supports serve static files and custom handling static files - example: static-file-handling
- Supports streaming static files - implemented Accept-Ranges - example: video-streaming
- 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 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: image-resize
- 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 example: 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
- About 9 000 lines of JavaScript code, all files have 270 kB
- NO DEPENDENCIES *** NO DEPENDENCIES *** NO DEPENDENCIES
- More examples
- Documentation
- Supports internal NoSQL embedded database - example: authorization or example: contact form
## Install partial.js step by step
$ sudo npm install -g partial.js
$ mkdir mywebsite
$ cd mywebsite
$ partial.js
$ node debugging
# OR
$ node index 8080
$ open http://127.0.0.1:8000
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.