You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Bob Harner <bo...@gmail.com> on 2011/10/01 03:00:42 UTC

Re: PageCatalog

I've been playing with the latest version just now. It's very cool to
have this. Any thoughts about how to secure this page in production? I
think it's too sensitive to leave wide open by default, and yet some
of this page would be very handy to have in production.

On Fri, Sep 30, 2011 at 2:53 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
> Just checked in some further improvements to PageCatalog, including an
> internal Layout component for decent L&F (shared with PageCatalog and
> ServiceStatus).
>
> I'm finding this component very useful helping me upgrade an existing
> app from 5.2 to 5.3: it makes it easy to spot the kind of problems
> that occur because 5.2 was too lenient (just click "load all pages")
> and see if there are any errors. It's also useful for seeing how long
> it takes to load a page and how many components are on the page.  I
> may extend the stats in the future.
>
> I'll try and find some time to document this on the confluence site.
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: PageCatalog

Posted by Howard Lewis Ship <hl...@gmail.com>.
Well, in production mode, the "dangerous" functionality is turned off,
such as running GC, or forcing the component class loader to reset.
So you can see a list of page names (boring, I would hope) or you
could force all pages to load (not likely to cause much trouble, since
all pages will eventually get loaded anyway).

Still, adding an onActivate() that checks for access from localhost
and redirects to "/" might now be a bad idea.

On Fri, Sep 30, 2011 at 6:31 PM, Kalle Korhonen
<ka...@gmail.com> wrote:
> Agree. How about: in production mode available from localhost only by
> default, overridable with a symbol value to some known ip/pattern?
>
> Kalle
>
>
> On Fri, Sep 30, 2011 at 6:00 PM, Bob Harner <bo...@gmail.com> wrote:
>> I've been playing with the latest version just now. It's very cool to
>> have this. Any thoughts about how to secure this page in production? I
>> think it's too sensitive to leave wide open by default, and yet some
>> of this page would be very handy to have in production.
>>
>> On Fri, Sep 30, 2011 at 2:53 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
>>> Just checked in some further improvements to PageCatalog, including an
>>> internal Layout component for decent L&F (shared with PageCatalog and
>>> ServiceStatus).
>>>
>>> I'm finding this component very useful helping me upgrade an existing
>>> app from 5.2 to 5.3: it makes it easy to spot the kind of problems
>>> that occur because 5.2 was too lenient (just click "load all pages")
>>> and see if there are any errors. It's also useful for seeing how long
>>> it takes to load a page and how many components are on the page.  I
>>> may extend the stats in the future.
>>>
>>> I'll try and find some time to document this on the confluence site.
>>>
>>> --
>>> Howard M. Lewis Ship
>>>
>>> Creator of Apache Tapestry
>>>
>>> The source for Tapestry training, mentoring and support. Contact me to
>>> learn how I can get you up and productive in Tapestry fast!
>>>
>>> (971) 678-5210
>>> http://howardlewisship.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: PageCatalog

Posted by Kalle Korhonen <ka...@gmail.com>.
Agree. How about: in production mode available from localhost only by
default, overridable with a symbol value to some known ip/pattern?

Kalle


On Fri, Sep 30, 2011 at 6:00 PM, Bob Harner <bo...@gmail.com> wrote:
> I've been playing with the latest version just now. It's very cool to
> have this. Any thoughts about how to secure this page in production? I
> think it's too sensitive to leave wide open by default, and yet some
> of this page would be very handy to have in production.
>
> On Fri, Sep 30, 2011 at 2:53 PM, Howard Lewis Ship <hl...@gmail.com> wrote:
>> Just checked in some further improvements to PageCatalog, including an
>> internal Layout component for decent L&F (shared with PageCatalog and
>> ServiceStatus).
>>
>> I'm finding this component very useful helping me upgrade an existing
>> app from 5.2 to 5.3: it makes it easy to spot the kind of problems
>> that occur because 5.2 was too lenient (just click "load all pages")
>> and see if there are any errors. It's also useful for seeing how long
>> it takes to load a page and how many components are on the page.  I
>> may extend the stats in the future.
>>
>> I'll try and find some time to document this on the confluence site.
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org