Turbo Gears
   HOME
*



picture info

Turbo Gears
TurboGears is a Python web application framework consisting of several WSGI components such as WebOb, SQLAlchemyKajikitemplate language and Repoze. TurboGears is designed around the model–view–controller (MVC) architecture, much like Struts or Ruby on Rails, designed to make rapid web application development in Python easier and more maintainable. Since version 2.3 the framework has also been providing a "minimal mode" which enables it to act as a microframework for usage in environments where the whole stack is not required nor wanted. TurboGears components TurboGears is built on top of numerous disparate libraries and middleware. The default tools have changed between the 1.x, 2.x and 2.3+ series, but most of these components can be used in either as there is support for many alternative configurations. The following are the primary components a developer would interact with. TurboGears 2.x components * SQLAlchemy ( Model) - defines the table structures of the user's d ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Mako (templating Engine)
Mako may refer to: Biology * Mako shark, the genus ''Isurus'', consisting of two living and several fossil species: ** Shortfin mako shark, ''Isurus oxyrinchus'', the more common mako ** Longfin mako shark, ''Isurus paucus'', the rarer mako Places * Makó District, Hungary ** Makó, a town and district seat * Magong or Mako, a Taiwanese city People * Mako (actor), stage name of Japanese-American actor Makoto Iwamatsu (1933–2006) * , Japanese actress * , Japanese media artist * , Japanese singer and actress * , Japanese actress * , Japanese singer and vocalist * Mako Kamitsuna, American Film director * , Japanese volleyball player * , Japanese author * , formerly Princess Mako of the Japanese imperial family * ,Japanese fashion producer * , Japanese professional footballer * , Japanese kickboxer * , Japanese figure skater * , Japanese badminton player * , American novelist * Mako Vunipola (born 1991), New Zealand-born English rugby player * Mako Tabuni (1979-2012), was an a ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Jinja (Template Engine)
Jinja is a web template engine for the Python programming language. It was created by Armin Ronacher and is licensed under a BSD License. Jinja is similar to the Django template engine but provides Python-like expressions while ensuring that the templates are evaluated in a sandbox. It is a text-based template language and thus can be used to generate any markup as well as source code. The Jinja template engine allows customization of tags, filters, tests, and globals. Also, unlike the Django template engine, Jinja allows the template designer to call functions with arguments on objects. Jinja is Flask's default template engine and it is also used by Ansible, Trac, and Salt. Features Some of the features of Jinja are: * sandboxed execution * automatic HTML escaping to prevent cross-site scripting (XSS) attacks * template inheritance * compiles down to the optimal Python code just-in-time * optional ahead-of-time template compilation * easy to debug (for example, line number ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


MochiKit
MochiKit is a light-weight JavaScript library written and maintained by Bob Ippolito. Inspired by the Python networking framework, Twisted, it uses the concept of deferred execution to allow asynchronous behaviour. This has made it useful in the development of interactive web pages which maintain a dialog with the web server, sometimes called Ajax applications. Of particular note is its ability to load and manipulate JSON-encoded data sets, and MochiKit.DOM, a set of functions to easily create dynamic page components. MochiKit forms the foundation of the client-side functionality of the TurboGears Python web-application stack. Perhaps as a result of the author's involvement in the Python community, MochiKit exhibits many idioms familiar to Python programmers, and is commonly used in Python-based web applications. See also * Comparison of JavaScript frameworks * TurboGears TurboGears is a Python web application framework consisting of several WSGI components such as WebOb ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

JSON
JSON (JavaScript Object Notation, pronounced ; also ) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other serializable values). It is a common data format with diverse uses in electronic data interchange, including that of web applications with servers. JSON is a language-independent data format. It was derived from JavaScript, but many modern programming languages include code to generate and parse JSON-format data. JSON filenames use the extension .json. Any valid JSON file is a valid JavaScript (.js) file, even though it makes no changes to a web page on its own. Douglas Crockford originally specified the JSON format in the early 2000s. He and Chip Morningstar sent the first JSON message in April 2001. Naming and pronunciation The 2017 international standard (ECMA-404 and ISO/IEC 21778:2017) specifies "Pronounced , as in 'Jason and The ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Ajax (programming)
Ajax (also AJAX ; short for " Asynchronous JavaScript and XML") is a set of web development techniques that uses various web technologies on the client-side to create asynchronous web applications. With Ajax, web applications can send and retrieve data from a server asynchronously (in the background) without interfering with the display and behaviour of the existing page. By decoupling the data interchange layer from the presentation layer, Ajax allows web pages and, by extension, web applications, to change content dynamically without the need to reload the entire page. In practice, modern implementations commonly utilize JSON instead of XML. Ajax is not a technology, but rather a programming concept. HTML and CSS can be used in combination to mark up and style information. The webpage can be modified by JavaScript to dynamically display—and allow the user to interact with the new information. The built-in XMLHttpRequest object is used to execute Ajax on webpages, allowing ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


CherryPy
CherryPy is an object-oriented web application framework using the Python programming language. It is designed for rapid development of web applications by wrapping the HTTP protocol but stays at a low level and does not offer much more than what is defined in RFC 7231. CherryPy can be a web server itself or one can launch it via any WSGI compatible environment. It does not deal with tasks such as templating for output rendering or backend access. The framework is extensible with filters, which are called at defined points in the request/response processing. Pythonic interface One of the goals of the project founder, Remi Delon, was to make CherryPy as pythonic as possible. This allows the developer to use the framework as any regular Python module and to forget (from a technical point of view) that the application is for the web. For instance, the common Hello World program with CherryPy 3 would look like: import cherrypy class HelloWorld: def index(self): retur ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Kid (templating Language)
Kid is a simple template engine (web), template engine for XML-based vocabularies written in Python (programming language), Python. Kid claims to have many of the best features of XSLT, Template Attribute Language, TAL, and PHP, but "with much of the limitations and complexity stamped out". Kid initially acted as the Model–View–Controller, View component of the TurboGears framework in the framework's version 1.x implementation; however, the TurboGears project team has since replaced it with Genshi (templating language), Genshi, citing perceived performance advantages. Kid is used by the Fedora Project in the repoview utility which creates a set of static HTML pages within a Yellowdog Updater, Modified, YUM repository. Example Python part: from kid import Template template = Template(file='mytemplate.kid', title='bar', mylist=['1', '2', '3', '4', '5', '6'] ) print template.serialize() Template part: title goes here item goes here ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  




SQLObject
SQLObject is a Python object-relational mapper between a SQL database and Python objects. It is experiencing community popularity, and forms a part of many applications (e.g., TurboGears). It is very similar to Ruby on Rails' ActiveRecord in operation in that it uses class definitions to form table schemas, and utilizes the language's reflection and dynamism to be useful. SQLObject supports a number of common database backends: included in the distribution are MySQL, PostgreSQL, SQLite, Sybase SQL Server, MaxDB, Microsoft SQL Server and Firebird. The first version of SQLObject was publicly released in October 2002. See also * TurboGears * SQLAlchemy * Storm A storm is any disturbed state of the natural environment or the atmosphere An atmosphere () is a layer of gas or layers of gases that envelop a planet, and is held in place by the gravity of the planetary body. A planet retains an atmos ... References External links * Object-relational mapping Python (pro ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Python Paste
Python Paste, often simply called paste, is a set of utilities for web development in Python. Paste has been described as "a framework for web frameworks". The Python Paste package contains Python modules that help in implementing WSGI middleware. The package includes a WSGI wrapper for CGI applications. It also includes a simple webserver that can produce WSGI requests. WSGI middleware The WSGI standard is an interface that allows applications to use Python code to handle HTTP requests. A WSGI application is passed a Python representation of an HTTP request by an application, and returns content which will normally eventually be rendered by a web browser. A common use for this is when a web server serves content created by Python code. There are, however, other uses: WSGI middleware is Python code that receives a WSGI request and then performs logic based upon this request, before passing the request on to a WSGI application or more WSGI middleware. WSGI middleware appears ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]