Author: Saba Bokhari (caGrid Knowledge Center)
Table of Contents
|This Article is presented in BETA status.|
We appreciate any and all feedback on this article. If you wish to provide feedback, please email firstname.lastname@example.org
Jython is a Java implementation of Python that combines expressive power with clarity. Jython is freely available for both commercial and non-commercial use and is distributed with source code. Jython is complementary to Java and is especially suited for the following tasks:
- Embedded scripting - Java programmers can add the Jython libraries to their system to allow end users to write simple or complicated scripts that add functionality to the application.
- Interactive experimentation - Jython provides an interactive interpreter that can be used to interact with Java packages or with running Java applications. This allows programmers to experiment and debug any Java system using Jython.
- Rapid application development - Python programs are typically 2-10X shorter than the equivalent Java program. This translates directly to increased programmer productivity. The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products.
Django is an open source web application framework, written in Python, which follows the model-view-controller architectural pattern
Django's primary goal is to ease the creation of complex, database-driven websites. Django emphasizes reusability and "pluggability" of components, rapid development, and the principle of DRY (Don't Repeat Yourself). Python is used throughout, even for settings, files, and data models.
Django also provides an optional administrative CRUD (create, read, update and delete) interface that is generated dynamically through introspection and configured via admin models.
This tutorial will explain how to set up a Django on Jython web application that can:
- Sync with the Trust Fabric
- Perform Grid Authentication
- List available Grid Services
- Discover available Grid Services
- Perform CQL queries against Data Services
- Store CQL queries used for future use
- Part 1 - Download and Install Software
- Part 2 - Create your Eclipse Project
- Part 3 - Set up the Database
- Part 4 - Set up the Target Grid
- Part 5 - Sync With Trust Fabric
- Part 6 - Authentication
- Part 7 - List Services
- Part 8 - Discover Services
- Part 9 - Data Services Querying
- Part 10 - Using Saved Queries
- Part 11 - Finishing Touches