xFx v2

From XAP Automation
Revision as of 22:19, 1 May 2007 by Edward (Talk | contribs)

Jump to: navigation, search

xFx v2 is a port of Stuart Booth's xAP Framework.Net project to .Net 2.0. by Edward Pearson.

The areas of major change are:

  • Consolidation of the framework into a single dll (xfx.dll).
  • Re-write of the application configuration aspects to use the .Net 2.0 approach.
  • Changes to avoid use of obsolete or deprecated .Net v1.1 features, including:
    • Re-work of classes using IResumable interface to not use thread.Abort
    • New framework calls for DNS, URI functions etc
  • Removal of any code with ambiguous licence conditions.
  • Re-implementation of any non open-source code allowing the entire source of the framework to be made available with no dependent binary dll's.
  • Renaming of classes and methods where the previous name had proved confusing.
  • Relaxation of validation behaviour to increase performance.
  • Bug-fixes for off-spec behaviour (e.g., sub-address wildcarding)
  • Rework of the IP addressing behaviour for broadcast selection and port usage.
  • Rework of the UDP socket code for efficiency.
  • Support for extended UID's (with back-compatibility for xAP v1.2 UID's).

Due to the large number of changes made, moving a project from the .Net v1.1 framework to v2 is likely to break code but, since the basic structure and approach of the framework has remained the same, these should be fairly rapid to fix.

Some aspects of the .Net 1.1 version framework have not been carried forward into v2. One of the objectives of the v2 port was to provide a 'leaner and meaner' framework. The most notable exclusion is the considerable number of classes that encapsulated specific schemas (the xAPSchemas.dll) which the current author considered to be an awkward and very labour-intensive way to provide specific schema support. Better means of providing schema validation (model-driven) are under investigation. Consumers of the original xAPSchema.dll should download the source code and incorporate the classes they require into their own projects.

Unfortunately much of the accompanying documentation and tutorial material for the original xAP Framework is no longer available and the job of reproducing this remains. For the time being documentation will be restricted to the 'help file' generated from the framework code. This is currently quite sparse and of varying quality across the framework. It will be updated on a frequent basis until it reaches a sufficient level of usability.

So, where can you get xFx v2? Follow this link to my website.