Apache Pivot: Difference between revisions

Content deleted Content added
m convert special characters found by Wikipedia:Typo Team/moss (via WP:JWB)
 
(23 intermediate revisions by 16 users not shown)
Line 1:
{{Short description|Open-source platform for building applications in Java}}
{{Blacklisted-links|1=
*http://java.dzone.com/articles/table-row-editing-apache-pivot
*:''Triggered by <code>\bdzone\.com\b</code> on the global blacklist''
*http://java.dzone.com/news/interview-greg-brown-todd-volk
*:''Triggered by <code>\bdzone\.com\b</code> on the global blacklist''|bot=Cyberbot II}}
{{One source|date=February 2012}}
{{ Infobox Softwaresoftware
| name = Apache Pivot
| logo = [[File:Apache Pivot logo.svg|200px|Pivot logo]]
| screenshot =
| caption =
| developer = [[Apache Software Foundation]]
| caption =
| latest release version = 2.0.25
| developer = [[Apache Software Foundation]]
| latest release date = {{releaseStart date and age|20122017|0507|2108}}
| status = Active
| latest release version = 2.0.2
| latest release date = {{release date|2012|05|21}}
| latest preview version =
| latest preview date =
| operating system = [[Cross-platform]]
| size = 20 &nbsp;MB (archived)
| platform = [[Java platform|Java]]
| repo = {{URL|https://svn.apache.org/repos/asf/pivot/|Pivot Repository}}
| programming language = [[Java (programming language)|Java]]
| genre = [[Rich Internetweb Applicationsapplication]] toolkit
| license = [[Apache License]] 2.0]]
| website = {{URL|http://pivot.apache.org/}}
}}
{{Portal|Free and open-source software}}
'''Apache Pivot''' is an [[open-source software|open-source]] platform for building [[Rich web application|rich web applications]] in [[Java (programming language)|Java]] or any [[Java Virtual Machine|JVM]]-compatible language. It is released under the [[Apache License]] version 2.0.
 
==Architecture==
Its [[class (software)|class]]es are divided in the following categories:<ref name="ov">[http://pivot.apache.org/tutorials/platform-overview.html Platform Overview {{pipe}} Apache Pivot]</ref>
* '''Core classes''' that enable the classes in the other categories to function
* '''WTK classes''' that provide user interface elements such as buttons and lists. These are built according to the [[model-view-controller]] architecture. Most of Pivot's classes are included in the WTK category.
Line 36 ⟶ 32:
 
==WTK==
WTK or widgets toolkit are the graphical components of Apache Pivot. There are more widgets than in other Java GUI libraries like [[Java Foundation Classes|JFC]]/[[Swing (Java)|Swing]], [[Standard Widget Toolkit|SWT]] or [[JavaFX]]. The components are based on Java2D and are completely skinnable and support color schemes. The demos "Kitchen Sink" and "Component Explorer" give a complete overview and show the possibilities of interaction.<ref>{{Cite web |date=2010-01-21 |title=Apache Pivot brings Java into RIA world |url=https://sdtimes.com/apache/apache-pivot-brings-java-into-ria-world/ |access-date=2022-09-27 |website=SD Times |language=en-US}}</ref> Additionally, it is easy to add and use self-made components because of the open structure. Also part of WTK are the so-called decorators which add graphical effects and even animations to the components.
 
==BXML==
In Apache Pivot, the GUI usually is designed using [[BXML]] files. BXML is an XML-based markup language for simplifying the construction of Java object hierarchies. While it is most often used to define the user interface of an Apache Pivot application, it is not limited to user interface construction, and can actually be used to create hierarchies of any object type. In the case of Apache Pivot the designer can place the WTK-components and set their properties without writing a single line of Java code. In more complex projects there usually is one class file for each BXML file to hold the logic, though there are other possibilities.
In more complex projects there usually is one class file for each BXML file to hold the logic, though there are other possibilities.
 
==Scripting==
Apache Pivot supports all [[Scripting for the Java Platform|JSR 223]] scripting languages to script the BXML files. It is even possible to create an entire Pivot application without any compiled code at all.<ref>{{Cite web |date=24 September 2016 |title=Table Row Editing in Apache Pivot |url=https://alephwebsite.com/ |website=Web Advice}}</ref> The script fragments can either be placed inside certain tags directly inside a BXML file, or in external files which get included during runtime.
 
==Non-GUI features==
The WTK is just one part of Pivot, but it is a complete RIArich web application framework. Pivot has its own Collection API (to ease synchronizing the contents to the GUI) and APIs for accessing REST web services and parsing [[RSS]], [[JSON]] and [[XML]].
 
==References==
Line 52 ⟶ 47:
 
==External links==
* {{officialOfficial website|http://pivot.apache.org}}
* [http://www.developria.com/2009/01/pivot-platform-overview.html Introducing Pivot, Greg Brown]
* [http://java.dzone.com/news/interview-greg-brown-todd-volk Interview: Greg Brown & Todd Volkert from the Pivot Framework, Geertjan Wielenga]
* [http://java.dzone.com/articles/table-row-editing-apache-pivot Table Row Editing in Apache Pivot, Todd Volkert]
* [http://michaelbushe.wordpress.com/2009/12/22/creating-an-executable-apache-pivot-app-using-maven Creating an Executable Apache Pivot App using Maven]
* [http://www.jroller.com/aalmiray/entry/griffon_beyond_swing Griffon: Beyond Swing]
* [http://www.prnewswire.com/news-releases/the-apache-software-foundation-announces-apache-pivot-as-top-level-project-82049997.html The Apache Software Foundation Announces Apache Pivot as Top-Level Project]
* [http://www.sdtimes.com/APACHE_PIVOT_HATCHES_FROM_INCUBATOR/By_Alex_Handy/About_APACHE_and_JAVA/34074 Apache Pivot Hatches from Incubator]
 
{{Apache Software Foundation}}
{{apache}}
{{Rich Internetweb applications}}
 
[[Category:Apache Software Foundation projects|Pivot]]
[[Category:Rich Internet applicationsApplications]]
[[Category:XML software]]
[[Category:Rich Internet applications]]