E V E R Y

T H I N G
 
 
 I N  I T S
P L A C E.

Bento

"In nature all things return to their common
 source and are distributed along different
 paths; through one action the fruits of a
 hundred thoughts are realized."

-- I Ching

bentodev.org
 
Home
FAQ
Scenarios
Specs and Docs
Download
About bentodev.org
Contact

Bento: An Object-Oriented Markup Language
A powerful new tool for web developers

 

Updates


News

bentodev.org is now Bento-powered! The content on this site is being served by BentoServlet/Tomcat.

View the Bento source for this site.

View BentoServlet status for this site.

Language
An alpha version of the Bento grammar has been released in decorated JavaCC (JJTree) format.
>>

Reference Implementation
Development is proceeding towards the alpha version of a Bento reference implementation. Enough features have been implemented to handle simple pages.
>>

Core
The Bento keyword core denotes the global namespace. Objects defined in a core statement are globally defined. Among these are the standard objects needed by every web site (page, for example). The Bento core is thus roughly equivalent to the standard libraries and APIs of other languages.

The Bento core is still in the research stage. It is not expected to be finalized until a larger body of experience has accumulated.
>>

  • Bento offers a new level of expressive power, flexibility, and enhanced productivity for web developers and designers

  • Free, nonproprietary and open source

Want to learn the basics of Bento in 15 minutes?
See Bento in a Nutshell.

Bento Scenarios

Separating content and presentation

This simple but fundamental scenario shows how a class hierarchy naturally separates content and presentation.


Managing content

This scenario shows how content management features can be built into a site using Bento.

Supporting multiple browsers

This scenario shows how Bento can shield developers from browser-dependent details.


Integrating with back end systems

This scenario illustrates the ease with which a Bento site can access external information sources.

More scenarios

Why Bento is a good bet

What is Bento?

Bento is an object-oriented declarative language for defining web sites.
>>

Who

...is Bento for?


Bento is for developers of web sites large and small.
>>




No one owns Bento. Bento is an open, non-proprietary language with an open-source reference implementation.
>>




The Bento specification is maintained by bentodev.org, a community of developers and others who share the goals and vision of the Bento language.
>>

Why use it?

The benefits of Bento include reliability, maintainability, reusability and extendability.
>>

How do you use it?

You can either compile Bento files into HTML (or XHTML, JSP, PHP, etc.) or you can serve Bento directly.
>>
   

Introducing Object-Oriented Declarative Programming

Bento is a declarative language which follows object-oriented principles. While a number of procedural languages are object-oriented (C++, Java, Python and others), Bento is the first declarative language to incorporate the fundamental principles of object orientation: encapsulation, which is the ability to hide data and logic in an object; inheritance, the ability to define a new kind of object as an extension of an existing kind, specifying only the differences; and polymorphism, the ability to use such an extended object wherever the original object is expected.

Any developer who works in HTML, ASP, JSP, PHP or virtually any other declarative language can now choose to work in Bento instead. Bento files are easily compiled into HTML, ASP, etc. using a Bento compiler such as bentoc, free for download. Alternatively, a Bento server such as BentoServlet (also free for download) can use the Bento files to generate HTML dynamically.

The benefits of using object-oriented techniques are substantial:

  • makes hard problems tractable
  • makes huge projects manageable
  • makes complex programs maintainable
  • allows solutions to be captured, generalized and reused, turning an expense (a programmer's time and effort) into an investment

Code Is Poetry

Another benefit of object-oriented programming is harder to measure but no less important: it is more fulfilling for the programmer. Most programmers choose their field because they deeply enjoy programming. Programming is a form of creative expression, and the most widely used languages among professional programmers are the ones that best enable programmers to be creative.

Object-oriented techniques allow programmers to write metaphors in code, to find and express deeper truths, to reconcile form and function.


top


Use of any software, source code and documentation obtained from this site is governed by the Bento Poetic License.

Copyright © 2002 by bentodev.org