You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by ps...@comcen.com.au on 2001/08/09 05:30:34 UTC
"Pull" model: Where do I start?
Hi Guys,
I'm starting a new Turbine project - fresh slate,
and have decided I will make use of Peer(s) and Pull model.
Only thing is I can't find much documentation on the
appropriate way to do this.
Any suggestions... ( Scott E. ?) ?
Ta,
Patrick.
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
wierd action problem between platforms
Posted by Dave Hollar <da...@bizpiranha.com>.
I have two tdk 2.1 installations - one on linux and one on my win2k laptop
for when I'm traveling - and I transfer my changes between the two. But I'm
seeing different behavior on the two. Specifically, I have an ActionEvent
class that performs as expected on linux but on the laptop there is one
action that is not found - and the default doPerform is executed instead.
It is possible that between the platforms I have missed some changes between
the back and forth but I've tried to cover that extensively.
Has anyone experienced this before? Any thoughts?
thanks in advance-
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: "Pull" model: Where do I start?
Posted by Sean Legassick <se...@informage.net>.
On Thu, Aug 09, 2001 at 09:31:11PM +1000, Scott Eade wrote:
> The documentation for the pull service can be found by first selecting
> the Services link under Documentation on the turbine site and then
> Pull Service (there are a whole bunch of documents on the Services
> page that are really useful, but their existence is not completely obvious
> unless you make an effort to explore the turbine site).
>
> http://jakarta.apache.org/turbine/services/pull-service.html
>
> While the documentation is a little thin,
That is my first cut at some pull service docs - feel free to make
suggestions (or even better submit patches :-)
Sean
--
Sean Legassick
sean@informage.net
homo sum: humani nihil a me alienum puto
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: "Pull" model: Where do I start?
Posted by Scott Eade <se...@backstagetech.com.au>.
From: <ps...@comcen.com.au>
> Hi Guys,
> I'm starting a new Turbine project - fresh slate,
> and have decided I will make use of Peer(s) and Pull model.
>
> Only thing is I can't find much documentation on the
> appropriate way to do this.
>
> Any suggestions... ( Scott E. ?) ?
>
> Ta,
>
> Patrick.
>
Hi Patrick.
The documentation for the pull service can be found by first selecting
the Services link under Documentation on the turbine site and then
Pull Service (there are a whole bunch of documents on the Services
page that are really useful, but their existence is not completely obvious
unless you make an effort to explore the turbine site).
http://jakarta.apache.org/turbine/services/pull-service.html
While the documentation is a little thin, it does point you to several
existing tools that are predefined by turbine - looking an the source
for these is the best way to go. The important point to grasp is that
this is actually a very simple concept that makes retrieving data for
your pages really really easy. In terms of benefits derived for the
amount of time required to grasp the concept the payback is
enormous.
I started my pull tool by copying the code necessary for the
ApplicationTool and Recyclable interfaces from one of the existing
tools and then added methods as necessary for providing the data
to my pages. After a short while I had a library of methods that
I could invoke whenever I needed them (not particularly OO on
my part). Most likely a request tool should be all you need - the
advantage being that you don't need to worry about keeping your
code threadsafe.
Cheers,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org