Moksha Documentation contents
ΒΆ
The Vision
What is Moksha?
A Platform
A Framework
An Architecture
A Hub
Data Aggregation
Messaging layer
Caching layer
Moksha Feed API
Data Interpretation
Collaborative glue
Live streams
Consumers
Extension Points
Data Persistence
SQLAlchemy
Cache
Git
Data Visualization
Live Widgets
Scalability
Extensive caching
Scalable databases
Scalable components
Moksha Architecture
Moksha Features
WSGI Middleware Stack
Messaging Hub
Low-latency Browser Socket
Plugin Infrastructure
Widget Creation API
Highly Scalable Architecture
Expert System
The technology that powers Moksha
Python
TurboGears, Pylons, Paste
WSGI Middleware
ToscaWidgets
Mako and Genshi
SQLAlchemy
jQuery
Orbited
js.io
AMQP/Qpid
0mq
Twisted
Architecture Interaction
Getting Started with Moksha
Setting up a Moksha RPM & mod_wsgi environment (Fedora, RHEL, CentOS)
Installing the Moksha Apache/mod_wsgi server
Running Moksha
Running Orbited
Running the Moksha Hub
Install the dependencies and setup your RPM tree
Watching the logs
Virtualenv installation (Other Linux distros, OSX, Windows, etc)
Installing the necessary dependencies
Getting the code
Bootstrapping the environment
Starting
Stopping
Debugging
Using Moksha
Hello World Moksha Demo
The Controller
Running the Moksha stack
Bringing a templating engine into the mix
Building a basic Widget
Real-time Messaging
Creating a message producer
Creating a message consumer
Running the Moksha Hub
Creating a Live Widget!
Sending messages from the Live Widget
Creating a database model
Populating our database
Querying our database
Caching
Using Moksha with TurboGears2
Inject the Moksha Middleware
Hooking up the Moksha BaseController
Inject the global resources
Create the Moksha Data Producer
Making existing widgets “live”
Updating the entry-points
Using Moksha’s real-time pipes outside of Python
Subscribing to real-time message streams
Sending messages to the broker
Moksha Quickstart Templates
Creating a new moksha app with all components
Quick and dirty method of running your app
Creating and installing an RPM for your new package
Creating a new TurboGears2 app
Moksha Plugin Entry Points
What is an Entry Point?
Mounting the root controller of your application
Mounting a TurboGears application
Installing a ToscaWidget
Mounting a WSGI application
Configuration
Widgets
Moksha Widget Docs
Caching
Using the cache within a widget
Changing the backend cache storage
Global Resource Injection
Installing a Global Resource Widget
LiveWidget dependency on moksha_socket
Live Widgets
A basic LiveWidget
Live Feeds
A Live Feed Demo Widget
The Live Feed Widget
Live Widget Interaction
Dependency on GlobalResourceInjectionWidget
Moksha Dashboard Container Widgets
Configuration Format
Tabbed Container
Dashboard Container
Issues
External Documentation
Hello World Moksha Demo
The Controller
Running the Moksha stack
Bringing a templating engine into the mix
Building a basic Widget
Real-time Messaging
Creating a message producer
Creating a message consumer
Running the Moksha Hub
Creating a Live Widget!
Sending messages from the Live Widget
Creating a database model
Populating our database
Querying our database
Caching
Widgets
Moksha Widget Docs
Caching
Using the cache within a widget
Changing the backend cache storage
Global Resource Injection
Installing a Global Resource Widget
LiveWidget dependency on moksha_socket
Live Widgets
A basic LiveWidget
Live Feeds
A Live Feed Demo Widget
The Live Feed Widget
Live Widget Interaction
Dependency on GlobalResourceInjectionWidget
Moksha Dashboard Container Widgets
Configuration Format
Tabbed Container
Dashboard Container
Issues
External Documentation
Moksha Plugin Entry Points
What is an Entry Point?
Mounting the root controller of your application
Mounting a TurboGears application
Installing a ToscaWidget
Mounting a WSGI application
Configuration
Messaging
Topics
Consumers
Creating
Installing
Producers
Polling Producers
Installing
Live Widgets
A basic LiveWidget
Live Feeds
A Live Feed Demo Widget
The Live Feed Widget
Live Widget Interaction
Dependency on GlobalResourceInjectionWidget
The Moksha Hub
MokshaHub
CentralMokshaHub
Message Brokers
STOMP
AMQP
0mq
Messaging Scenarios
Moksha Middleware
Using the MokshaMiddleware
Moksha’s Full Platform WSGI Stack
Hacking with Moksha
Setting up your RPM/virtualenv development environments
Getting the code
Bootstrapping Your Environment
Rebuilding and reinstalling Moksha
Rebuilding and reinstalling all Moksha apps
Rebuilding and reinstalling a specific Moksha apps
Restart paster
Restart the Moksha Hub
Debugging your setup
Watching the logs
Generating documentation
Running the test suite
Rebuilding and reinstall
everything
, restart
everything
, and run the test suite
Freezing requirements
Profiling the WSGI stack
Deployment
Installing and configuring the Moksha mod_wsgi environment
Serving ToscaWidgets static resources
Setting up an AMQP message broker
Setting up memcached
Copyright
License
Related Topics
Documentation overview
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.