Skip to main content

Features

Nagare is a components based framework: a Nagare application is a composition of interacting components each one with its own state and workflow kept on the server. Each component can have one or several views that are composed to generate the final web page. This enables the developers to reuse or write highly reusable components easily and quickly.

Thanks to Stackless Python, Nagare is also a continuation-based web framework which enables to code a web application like a desktop application, with no need to split its control flow in a multitude of controllers and with the automatic handling of the back, fork and refresh actions from the browser.

Its component model and use of the continuation come from the famous Seaside Smalltalk framework.

Python is a great language and Nagare makes full use of it:

  • the views of the components are Python methods rendering a DOM tree, built in programmatic XHTML or from a template,

  • the control flow of the components is coded in Python, thanks to the continuation,

  • data management in DBMS using SQLAlchemy or its declarative layer Elixir,

  • if a Python function is given instead of an expected Javascript code, Nagare automatically generates a translation from Python to Javascript.

Furthermore Nagare integrates the best tools and standard from the Python world. For example:

  • WSGI: binds the application to several possible publishers,

  • lxml: generates the DOM trees and brings to Nagare the full set of XML features (XSL, XPath, Schemas …),

  • setuptools: installs, deploys and extends the Nagare framework and the Nagare applications too,

  • PEAK Rules: generic methods are heavily used in Nagare, to associate views to components, to define security rules, to translate Python code to Javascript …

  • WebOb: for its Request and Response Objects.

Using Nagare frees the developer from the classic burden of web programming:

  • No more manual URL mapping. Nagare directly associates a Python callback to a link or a field of a form.

  • No global session object. All the states of all components are kept on the server.

  • Easy development with Nagare own Python multi-threaded server including automatic reloading and possible clustering deployment using a memcached server.

  • Automatic conversion of the parameters received to Unicode and automatic generation of UTF-8 encoded web pages. Nagare is a full Unicode framework.

  • Possible automatic generation of, always 100% valid, XHTML or HTML according to the browser capability.

  • Transparent Ajax rendering of a component, without any Python or Javascript code to add.

Installation

For a standard installation, read the docs/quickstart.txt document.

Read docs/framework_installation.txt to install the latest development version or to create a Nagare developer installation.

Release files for nagare 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nagare 0.1.0
File Size Uploaded
nagare-0.1.0.tar.gz 169.6 kB Details

Release files / nagare-0.1.0.tar.gz

Download URL nagare-0.1.0.tar.gz
Size 169.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e583d58eb2cf845797bcaa425575d37cc6e57f89edbc3bb94ca8afd6019e887c
BLAKE2b-256 checksum
How to use checksums
e757b831a37e0acc59e91469ed0734be31fcd449ec65624d8e1acc1ad2f41552
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.5.1

1 release file

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page