Hi Guil,

the session model is different from what we had in TBE. The most direct replacement would be to make your application a project type for EVN. For that, see Help > TopBraid Teamwork Framework Help, or directly:

http://localhost:8083/tbl/swp?_viewClass=teamworkdoc:Index#ProjectTypes

This gives you some extra features such as change tracking, permissions and working copies if you need that.

If the data doesn't need to be fully persistent, you can use SWP "session graphs". These live across network transactions for the duration of the client session. The starting point is the function ui:createSessionGraph() which returns a graph URI similar to the URN for TBE session graphs. You could create them when your application's main page is created and then remember a reference to the session graph in a SWP context variable.

Another conservative solution would be to create a single database (or an SDB with dynamic named graphs) and create one resource for every user. That resource would be the starting point for all data dangling off for that user. In SDB (and in 4.5 also TDB) you can use any number of named graphs, as long as they start with the same URI prefix. See the TBC help on SDB for details.

HTH
Holger



On 7/28/2014 10:33, Guilherme Scomparim wrote:

Hi All,

I am creating a new SWP application that was copied from the Default applications model.

In order to improve the performance of some of my screens, it would be good if I could load some data calculated from the query_graph at the time of loading the application in a temporary memory.

I tried to use the ui:tempGraph but then I realized it is completely wiped out when the page rendering has been completed.

The behavior I am trying to build is similar to the <urn:x-tb:session> in ensemble. It is like having a session graph.

Any help or advice would be welcome.

Many thanks,

Guil


--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com <mailto:topbraid-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL 
Web Pages and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to