Skip to content
Oliver Hinckel edited this page Aug 17, 2012 · 5 revisions

Docs

Core Concepts

The framework consists of a number of core functionalities:

  • Class loading - class naming, uses(), packages, static intializers, anonymous class creation
  • XAR archives - creating, using, class loading integration, the xar command.
  • Type system - the lang.Type class, primitives, classes, type wrappers, type hierarchy
  • Generics - parametrized types, create(), declaration, benefits
  • Reflection - the lang.XPClass class, invoking methods, accessing fields, packages, types
  • Annotations - meta-data for classes, fields and methods
  • Type-safe enumerations - the lang.Enum class, attaching functionality to enum members

Topics

This section will give an introduction to the basics of common tasks and how to accomplish them using the XP framework.

  • Databases - the rdbms package, object persistence, finders, criteria, transactions and drivers.
    • Basics - the rdbms API, statements, transactions, connection manager.
    • Object persistence - Row Data Gateway, Table Data Gateway, DataSets, criteria and restrictions.
  • I/O - files, folders, archives, sockets, servers and various protocols implementation.
    • Basics - the File and Folder classes, reading file contents.
  • XML - DOM- and SAX parsing, XPath, XSLT, tree and node data xml creation, XML / object mapping.
    • Basics - Data-driven Tree and Node classes.
    • XSL - XSL processing, callbacks, exslt
    • XML Marshalling - XML / object mapping.
  • Dates - Date and time, timezones, date manipulation.
    • Date - The Date, DateMath and TimeSpan classes.
    • Timezones - Time zone handling.
  • Collections - Map, List, Queue, Stack, Set and more: The util.collections API.
    • Basics - Map, List, Queue, Stack, Set and more
    • Generics - Shows how the collections classes can be used a generics (a vector of strings e.g.)
    • Overloading - Array operator overloading.
  • Web - Http scriptlets, portlets API, XML / XSL based tier solution, SOAP, WDDX, JSON and XMLRPC
    • Basics - The HttpScriptlet base class.
    • Web runner - Setup a web application
    • XML - The XMLScriptlet class
  • Imaging - Image creation and manipulation, graphs, EXIF and IPTC extraction support.
    • Basics - The Image class.
    • Image Meta data - EXIF and IPTC data
Clone this wiki locally