Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Perl "Beans" ..?

by Tanalis (Curate)
on Dec 03, 2003 at 21:20 UTC ( [id://312017]=perlmeditation: print w/replies, xml ) Need Help??

Monks,

I'm currently developing a portal-style web application to tie together a number of independantly developed systems, hopefully to improve their accessibility to users and to boost uptake.

Each of these systems returns data in a slightly different format, and I've developed a framework to allow "translation" modules to plug in and interface with each of the external systems, returning data to a core application which is responsible for data presentation and user validation, among other things.

I've been experimenting with XML::Writer as a way of standardising the returns from each of the translator modules, hopefully to allow me to develop a standard interface that the core application can make use of. This module provides much of what I require, and coupled with XML::Parser I can quickly decode the information when it's needed.

This started to get me thinking about Java, and its implementation of beans, and my thinking that the Perl I've developed is essentially simulating that. I did some more searching on CPAN and found PerlBean, but I'm not sure whether using that would have any great benefits. In addition, I'm very much in favour of keeping an XML interface around, as some of the people who'll be working on the system in the future don't use Perl and a standard, non-proprietry interface would be of use.

I'd be interested to hear peoples' thoughts on this, especially concerning the PerlBeans module. Does anyone have experience with this, and, if so, how beneficial was it over simply simulating beans with XML? Any other thoughts and comments are welcome...

Replies are listed 'Best First'.
Re: Perl "Beans" ..?
by Anonymous Monk on Dec 03, 2003 at 22:06 UTC
Re: Perl "Beans" ..?
by adrianh (Chancellor) on Dec 04, 2003 at 15:20 UTC

    I can't comment on PerlBean since I've not had any exposure to it.

    However, from your description of manipulating lots of XML based info into a portal web-app I think you could probably spend some time profitably by taking a look at AxKit.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://312017]
Approved by particle
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found