The XP framework offers consistent, multi-purpose, object oriented, production-tested collection of classes, APIs for app server connectivity, web services, dynamic web sites, date access and manipulation, logging, collections, I/O, databases, O/R mapping, XML, unittesting, and much more.

Featured:

Core concepts

The XP framework, while running on PHP, offers possibilities more commonly known from Java or C#: Unified class loading, XAR archives for classes and resources, its own reflection API and a consistent type system, generics, annotations, type-safe enumerations and more. Learn more about the XP Framework here.



O/R-mapping API

The XP framework offers an API to object persistence via the DataSet and Peer classes. These classes implement a variation of the "Row Data Gateway" pattern and the "Table Data Gateway". Based on the framework's rdbms API, the O/R mapper makes it easy to access databases without thinking about SQL!



Remoting

Crons written in Perl, websites using what is called LAMP, Java middleware based on JBoss, a Wiki in Python, GUIs written in Delphi or C#, Statistics using Ruby on Rails, and so on. Sound familiar? While having one language to fit them all would surely be an ideal to follow, it is seldomly realistic. The XP framework's remoting API integrates application servers in PHP, C# and Java with clients in various languages, in a lightning-fast, transaction-safe and stable fashion.



See also

API documentation

[Generated]

RFCs

[Request For Comments]

Installation

[Setting up the framework]

Coding standards

[SQL, PHP]