Using BO with XML instead of temp table


Author
Message
Doron Farber
Doron Farber
StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 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

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
How are you planning on displaying the results?  If you are going to use a web browser control to show the results, then there is not much to do past retrieving the results and dumping them into the web browser control for display.  Otherwise, I would need more detail to understand what you are planning on doing.
Doron Farber
Doron Farber
StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)
Group: Forum Members
Posts: 92, Visits: 612
Hi Trent,

That's correct.  We are planning on displaying the result in a web browser control.  From there, we will link to various other pages. 

Here’s a thread going back and forth regarding XML/XSLT versus using a basic Grid.  http://bytes.com/groups/net/121665-what-pros-cons-using-xslt

Regards,

Doron

 

 




Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K 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