Why Use LXP?
LXP provides a simple way to build powerful web sites without using a “programming” language. If you can use mark-up, you can use LXP to help provide dynamically manageable content.
Additionally, LXP’s integration with PostgreSQL allows for a deeper degree of content in your web sites. Traditionally, if you wanted to perform logic on result sets from a database, you would have to use PHP, Perl, or compiled C or C++. With LXP, use of such languages is no longer required.
Using LXP allows you to utilize the power of PostgreSQL’s features—including user-defined functions, triggers, and procedural languages (such as PL/pgSQL)—to provide the logic for your data. With LXP, there is no longer a need to use complicated programming languages for the majority of your simple tasks. Even mathematical operations, date and time evaluations, and involved string formatting can be performed with LXP, via the connection to PostgreSQL.
While this simplicity is one of LXP’s strengths, we understand that sometimes a more comprehensive solution is required (or simply preferred) for the design of a given function. For this reason, if you need the power of a comprehensive programming language in part of your web site, you can use either of LXP’s Apache or URI methods to embed any available document type within LXP-managed output.