|This article relies too much on references to primary sources. (April 2012)|
||The topic of this article may not meet Wikipedia's notability guidelines for products and services. (April 2012)|
|Original author(s)||Darryl L. Pierce, Red Hat engineer|
|Stable release||0.2.0 / August 6, 2010|
|Development status||old fashioned, but in use|
|Operating system||Linux, Cross-platform|
|License||GNU Lesser General Public License|
|Website||Newt Syrup page on Fedora|
Newt Syrup is an application framework written in Python that uses the Newt widgets for creating the user interface. It allows programmers to easily write text-based computer programs that can be run on any operating system that has a Python interpreter and is supported by the Newt.
The framework uses the concept of pages and page flows, where a page represents a single screen of the application and the page flow is based on the data entered by the user.
The main components of an application are the application object, a screen object, and a system of 1 or more pages. The logic for how the application decides which page to show next is separate from the code used to display the data (known as the MVC design pattern, although there is a default flow that moves sequentially through the list of pages in the application.
A text-based version of Virtual Machine Manager was the original application that inspired the framework.