Using BO with XML instead of temp table


Author
Message
Doron Farber
Doron Farber
StrataFrame User (212 reputation)StrataFrame User (212 reputation)StrataFrame User (212 reputation)StrataFrame User (212 reputation)StrataFrame User (212 reputation)StrataFrame User (212 reputation)StrataFrame User (212 reputation)StrataFrame User (212 reputation)StrataFrame User (212 reputation)
Group: Forum Members
Posts: 92, Visits: 612
Hi Trent,

I will be using XML data (returned from a stored procedure) and an XSLT to display the results of our search.  Is there a way to use the BO tailored to this scenario?

Please see below link what I am actually doing just to be clear of the subject.

http://forum.strataframe.net/Topic21580-8-2.aspx#bm21888|

Thanks,

Doron

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Well, you won't want to use XML within the BO itself as that would be really slow.  You will want to leave all BO logic intact as this will be the best way to go.  However, you can create a custom property or method that allowes you to interact with the data in an XML format.

For example, you could create a property called XMLData which in turn calls an internal method to produce the desired output.  Since at this point you do not need to update the XML data, just display it, then this would work great.  You could set it up as a custom property and then you would be able to access this at any point and even bind to it.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search