[Catalyst] Re: Status of Reaction - ready for new projects?

2008-01-01 Thread Aristotle Pagaltzis
* Chisel Wright <[EMAIL PROTECTED]> [2008-01-02 00:05]:
> http://search.cpan.org/~mstrout/Reaction/

That was just a placeholder and is far away from what it looks
like now. Look at the repository instead:

http://code2.0beta.co.uk/reaction/svn/

SVN::Web:

http://code2.0beta.co.uk/reaction/svnweb/index.cgi/reaction

Regards,
-- 
Aristotle Pagaltzis // 

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Status of Reaction - ready for new projects?

2008-01-01 Thread Lars Balker Rasmussen
On Tue, Jan 01, 2008 at 03:00:57PM -0800, John Napiorkowski wrote:
> I remember reading somewhere about a Winter of Code
> perl project to use Reaction but I can't seem to find
> it, so I might have heard incorrectly.

You haven't.

http://www.shadowcat.co.uk/resources/woc_todo/
-- 
Lars Balker RasmussenConsult::Perl

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Status of Reaction - ready for new projects?

2008-01-01 Thread John Napiorkowski

--- Barry Hoggard <[EMAIL PROTECTED]> wrote:

> I'm starting on a new catalyst project and wondering
> if I should start
> out with Reaction.  Is there a website or repository
> I can check out?
> I didn't see one on the catalyst wiki.
> 
> 
> -- 
> Barry Hoggard

Barry,

You might want to say hello on the reaction IRC
channel that you can get to from irc.perl.org since
this project doesn't seem to have a mailing list that
I heard of.  The repo is at:

http://code2.0beta.co.uk/reaction/svn/Reaction

But there is such heavy development going on you might
have trouble figuring where to start with all the
branches, etc.  Play with trunk I think is what I last
heard, but I haven't logged into the IRC channel for
more than a week (on vacation) so I could be wrong. 
Ask on the IRC.

Also I've been reading at least one blog with some
discussion of Reaction:  http://groditi.vox.com/  and
I hope the author doesn't mind me pointing it out :)

I remember reading somewhere about a Winter of Code
perl project to use Reaction but I can't seem to find
it, so I might have heard incorrectly.

Hope this helps.

Sincerely,
John




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Status of Reaction - ready for new projects?

2008-01-01 Thread Chisel Wright
On Tue, Jan 01, 2008 at 05:34:04PM -0500, Barry Hoggard wrote:
> I'm starting on a new catalyst project and wondering if I should start
> out with Reaction.  Is there a website or repository I can check out?
> I didn't see one on the catalyst wiki.

A quick google for "matt trout reaction" throws up:

  http://search.cpan.org/~mstrout/Reaction/

Looks like it's still a dev release on CPAN, but I'm assuming it's
progressed since then as he's using it for his WoC TODO app.
-- 
Chisel Wright
e: [EMAIL PROTECTED]
w: http://www.herlpacker.co.uk/

  My computer's so fast it finishes an infinite loop in 5 minutes.

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Status of Reaction - ready for new projects?

2008-01-01 Thread Barry Hoggard
I'm starting on a new catalyst project and wondering if I should start
out with Reaction.  Is there a website or repository I can check out?
I didn't see one on the catalyst wiki.


-- 
Barry Hoggard

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Re: Best Practices for wizards, steps?

2008-01-01 Thread Ashley Pond V

On Jan 1, 2008, at 9:40 AM, Aristotle Pagaltzis wrote:

* Dennis Daupert <[EMAIL PROTECTED]> [2008-01-01 17:45]:

I'm curious what people consider best practices for developing
widgets that involve a series of steps, funtions that involve
clicking thru a series of pages.


Don’t break the web: make sure each step has its own URI,
as opposed to using the session to store the user’s position.
That’s all I can think of right now.


I just completed a submission process where the user does a regular
form and then is taken to a legal authorization doc (instead of
the regular old "I read and agree" checkbox). I was a little stumped
at first too but then I just implemented like its own page which
if arrived at without a doc, 404s or sends you to submit a doc and
if arrived at when authorization is already done, "flashes" you to
that effect on the view page.

It felt foreign to do it that way at first. Instead of session
and param juggling but once it was done, it was amazing how much
more straightforward it is. Just as Aristotleleleslsles[1] suggests.

With roles, chaining, captures, and flash messages you can make an
extremely convoluted logic tree pretty straightforward to code.

-Ashley
--
1 Oh, go read his post about A. Pagaltzis.


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Session, DateTime and Storable

2008-01-01 Thread Christopher Laco
Dave Rolsky wrote:
> On Mon, 31 Dec 2007, Christopher Laco wrote:
> 
>> I've heard mention of this before, but I can't find the thread.
>> I have the latest DateTime, Storable and
>> Catalyst::Plugin::Session/Authentication and I've getting heap of these
>> in my logs:
>>
>>> Use of uninitialized value in subroutine entry at
>>> blib/lib/Storable.pm (autosplit into
>>> blib/lib/auto/Storable/_freeze.al) line 339.
>>
>> This seems to be caused by storaing a DateTime object in the session. If
>> I store a string instead of a DT instance, the warnings go away.
>>
>> Anyone have any ideas on this one?
> 
> It _should_ work. If you filed a bug report with a simple reproduction
> recipe (that just uses DateTime and Storable, not Catalyst), I'm sure it
> would be fixed.
> 
> 
> -dave

I'm not having any luck coming up with tests yet, mostly because I'm
having a hard time tracking down how exactly C::P::Session::Store,
Store::File, Cache::Cache and Cache::FileCache go about their business.

But, I did stumble upon the trigger.

In my case, I have a DBIx::Class resultset from the database with
DateTime columns from InflateColumn::DateTime. These date/times are
inflated without a timezone [because I didn't specify one], so they are
'floating'.

If, at the point I send those times to the Store->for_session part of
the Auth stuff I insert new Datetime->now (UTC not floating), the
warnings go away. If I insert new DateTime->new objects without a
time_zone (floating), the warnings come back.

So, now it's just a matter of reproducing the steps needs to get it to
bitch.

-=Chris






signature.asc
Description: OpenPGP digital signature
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Session, DateTime and Storable

2008-01-01 Thread Christopher Laco
Ruben Fonseca wrote:
> 
> On 2008/01/01, at 04:57, Christopher Laco wrote:
> 
>> I've heard mention of this before, but I can't find the thread.
>> I have the latest DateTime, Storable and
>> Catalyst::Plugin::Session/Authentication and I've getting heap of these
>> in my logs:
>>
>>> Use of uninitialized value in subroutine entry at
>>> blib/lib/Storable.pm (autosplit into
>>> blib/lib/auto/Storable/_freeze.al) line 339.
>>
>> This seems to be caused by storaing a DateTime object in the session. If
>> I store a string instead of a DT instance, the warnings go away.
>>
>> Anyone have any ideas on this one?
> 
> The only thing I can tell you about this is: STAY WAY FROM SERIALIZING
> DATETIME INTO STORABLE!
> 
> I've had a project that did that, and I had tons of problems, some like
> the warnings you mentioned and others resulting in real 'dies'.
> 
> I've asked this mailling list without any good tip. I was so angry then
> that I solved my problem once and for all by storing the individual
> parts of datetime in the storable (month, day, year, ).
> 
> Probably the stupidest solution, but it solved my problems after 1 month
> of battle.
> 
> Ruben


A Catalyst project?
What Session Store were you using?



signature.asc
Description: OpenPGP digital signature
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Re: Best Practices for wizards, steps?

2008-01-01 Thread Aristotle Pagaltzis
* Dennis Daupert <[EMAIL PROTECTED]> [2008-01-01 17:45]:
> I'm curious what people consider best practices for developing
> widgets that involve a series of steps, funtions that involve
> clicking thru a series of pages.

Don’t break the web: make sure each step has its own URI,
as opposed to using the session to store the user’s position.
That’s all I can think of right now.

Regards,
-- 
Aristotle Pagaltzis // 

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Session, DateTime and Storable

2008-01-01 Thread J. Shirley
On Jan 1, 2008 9:15 AM, Christopher Laco <[EMAIL PROTECTED]> wrote:

> Dave Rolsky wrote:
> > On Mon, 31 Dec 2007, Christopher Laco wrote:
> >
> >> I've heard mention of this before, but I can't find the thread.
> >> I have the latest DateTime, Storable and
> >> Catalyst::Plugin::Session/Authentication and I've getting heap of these
> >> in my logs:
> >>
> >>> Use of uninitialized value in subroutine entry at
> >>> blib/lib/Storable.pm (autosplit into
> >>> blib/lib/auto/Storable/_freeze.al) line 339.
> >>
> >> This seems to be caused by storaing a DateTime object in the session.
> If
> >> I store a string instead of a DT instance, the warnings go away.
> >>
> >> Anyone have any ideas on this one?
> >
> > It _should_ work. If you filed a bug report with a simple reproduction
> > recipe (that just uses DateTime and Storable, not Catalyst), I'm sure it
> > would be fixed.
> >
> >
> > -dave
>
> I'll start digging around this morning andsee if I can come up with
> something.
>
> -=Chris
>
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>

Make sure you have latest DateTime::Locale -- it is a separate dist, and has
caused problems for me in the past.  Although the latest versions of
DateTime do force 0.35 of ::Locale, it may still be relevant.

Maybe...


*shoots in the dark*

:)
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Session, DateTime and Storable

2008-01-01 Thread Christopher Laco
Dave Rolsky wrote:
> On Mon, 31 Dec 2007, Christopher Laco wrote:
> 
>> I've heard mention of this before, but I can't find the thread.
>> I have the latest DateTime, Storable and
>> Catalyst::Plugin::Session/Authentication and I've getting heap of these
>> in my logs:
>>
>>> Use of uninitialized value in subroutine entry at
>>> blib/lib/Storable.pm (autosplit into
>>> blib/lib/auto/Storable/_freeze.al) line 339.
>>
>> This seems to be caused by storaing a DateTime object in the session. If
>> I store a string instead of a DT instance, the warnings go away.
>>
>> Anyone have any ideas on this one?
> 
> It _should_ work. If you filed a bug report with a simple reproduction
> recipe (that just uses DateTime and Storable, not Catalyst), I'm sure it
> would be fixed.
> 
> 
> -dave

I'll start digging around this morning andsee if I can come up with
something.

-=Chris



signature.asc
Description: OpenPGP digital signature
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Session, DateTime and Storable

2008-01-01 Thread Dave Rolsky

On Mon, 31 Dec 2007, Christopher Laco wrote:


I've heard mention of this before, but I can't find the thread.
I have the latest DateTime, Storable and
Catalyst::Plugin::Session/Authentication and I've getting heap of these
in my logs:


Use of uninitialized value in subroutine entry at blib/lib/Storable.pm 
(autosplit into blib/lib/auto/Storable/_freeze.al) line 339.


This seems to be caused by storaing a DateTime object in the session. If
I store a string instead of a DT instance, the warnings go away.

Anyone have any ideas on this one?


It _should_ work. If you filed a bug report with a simple reproduction 
recipe (that just uses DateTime and Storable, not Catalyst), I'm sure it 
would be fixed.



-dave

/*===
VegGuide.Orgwww.BookIRead.com
Your guide to all that's veg.   My book blog
===*/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Best Practices for wizards, steps?

2008-01-01 Thread Dennis Daupert
I'm curious what people consider best practices for developing widgets that 
involve a series of steps, funtions that involve clicking thru a series of 
pages.

I want to make widgets to create slideshows, photo albums, a structured series 
of steps for whatever. 

/dennis



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] "Rails is a Ghetto"

2008-01-01 Thread Mike Whitaker

This is a long rant I’m writing in serial form. Stay tuned for
more about Ruby conferences and why they suck, and why the
Pickaxe book is what killed Ruby.


All I can say is… wow.

I’ll be re-assessing and processing for a while.


He sounds a little angry :)


A little???!!!

The quote I found interesting was "...Ruby on Rails means stay on the  
Rails. There is an established best practice way to build web  
applications with Rails and that's the entire point of the system."

--
Mike Whitaker - [EMAIL PROTECTED]



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] "Rails is a Ghetto"

2008-01-01 Thread Andy Armstrong

On 1 Jan 2008, at 03:18, Aristotle Pagaltzis wrote:

This is a long rant I’m writing in serial form. Stay tuned for
more about Ruby conferences and why they suck, and why the
Pickaxe book is what killed Ruby.


All I can say is… wow.

I’ll be re-assessing and processing for a while.



He sounds a little angry :)

--
Andy Armstrong, Hexten





___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Session, DateTime and Storable

2008-01-01 Thread Ruben Fonseca


On 2008/01/01, at 04:57, Christopher Laco wrote:


I've heard mention of this before, but I can't find the thread.
I have the latest DateTime, Storable and
Catalyst::Plugin::Session/Authentication and I've getting heap of  
these

in my logs:

Use of uninitialized value in subroutine entry at blib/lib/ 
Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al)  
line 339.


This seems to be caused by storaing a DateTime object in the  
session. If

I store a string instead of a DT instance, the warnings go away.

Anyone have any ideas on this one?


The only thing I can tell you about this is: STAY WAY FROM  
SERIALIZING DATETIME INTO STORABLE!


I've had a project that did that, and I had tons of problems, some  
like the warnings you mentioned and others resulting in real 'dies'.


I've asked this mailling list without any good tip. I was so angry  
then that I solved my problem once and for all by storing the  
individual parts of datetime in the storable (month, day, year, ).


Probably the stupidest solution, but it solved my problems after 1  
month of battle.


Ruben



-=Chris

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/ 
catalyst@lists.scsys.co.uk/

Dev site: http://dev.catalyst.perl.org/


-
Rúben Fonseca <[EMAIL PROTECTED]>
Technical Consultant
log 

Tel: +351 21 330 42 20
Fax: +351 21 330 42 19
Calçada Marquês de Abrantes, 45 - 3º Dto
1200-718 Lisboa
-




___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/