logo

XApperator

lightweight, manouverable and quickly deployed

Frequently Asked Questions

Isn't this Just-another-Perl-framework

Yes and No. Although there are many existing Perl based MVC frameworks, and most more sophisticated than XApp, there are some things that differentiate XApp from the others.

How is XApp different to Hibernate, Ruby-on-Rails etc?

see the alternatives page

Scalabilty? Transaction rate? Performance?

XApps raison d'etre is to facilitate low volume editing of file-system stored flat XML data structures without the need for client-side plug-ins. It is not intended to be a general purpose web application development platform or end-user publishing mechanism. You need to look elsewhere if that's what you're after.

Wouldn't SQL/RDMBS be better than XML?

As mentioned above, XApp is aimed at editing of simple structured data files (ie XML) and basic CRUD like modifications to them. It grew out of a need to handle editing of structured data where publishing was handled elsewhere. If you need to query data in a complex way or in large volumes and efficiency is top of your list, then you should look elsewhere

Where's the Security?

In keeping with XApps lightweight goal the issue of security is really up to the person deploying the framework. There is no user or group management or authentication. Typically you'd be looking at something like rewrite-rules to mask the location of the controller.cgi and sever-side HTTP authentication for access

Why not use XForms?

At present there isn't a great deal of production ready native browser support for XForms, there are loads of plugins but XApp is designed to have very low client side dependency, just simple HTML forms with a small set of user actions, server-side validation and some lightweight client-side Javascript validation. It may be crude, but it's quick to setup, easy to diagnose, and it works

How about AJAX?

This popular (re)emerging approach to web app development (client side Javascript that interacts with the backend through HTTP fetches and puts of XML data) looks great. XApp does use some client-side validation but the XML pipe to the back-end is just overkill when XApp is allways gonna be handling very simple data-structures, operations and connections

Why not use XML-Schema to describe the Record format?

If you've had any experience with XML-Schema you'll know how complex it can be and how unlikely it would be that Joe Webb would cut Schema definitions directly. The simple config.xml file format for specifying record fields and types borrows a little from W3 Schema but will still seem familiar to HTML cutters.

The custom <schema> element used in config.xml could itself be generated offline by transforming some other schema language and inserted or linked to.

What is CRUD?

CRUD is an acronym for create, retrieve, update, and delete. It is used to refer to the basic functions of a database or persistence layer in a software system.

What about cool-feature-X?

Basically, if XApp aint doin it yet it probably never will. Its the KISS rule.


Authored using: XApperator