Re: [Catalyst] New website using Catalyst

2007-08-23 Thread Ashley

On Aug 22, 2007, at 2:42 AM, Rob Clarke wrote:
This is a really slick looking site. I'd also be interested in how  
you implemented forms.




It is nice. I'm interested in how you did your sharing stuff. The  
digg this, stumbled it, etc. Was it Perl-centric, CPAN, straight  
cut and paste XHTML, or something from the YUI stuff? If you can,  
please share.


-Ashley




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


Re: [Catalyst] New website using Catalyst

2007-08-23 Thread Matt Rosin
Hi,
It's a very attractive site! Wonderful. What things did you use YUI for?
Matt R.

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


[Catalyst] CMS

2007-08-23 Thread Matt Rosin
Catalyst makes it easy to build a site with lots of little modules of
content composing a single page - the actual content (words/images)
being scattered in static apache directories, the database, the
templates folders and the code. At some point a content management
system of some type is needed.

While I hand-roll this sort of thing now it might be nice to have a
standard module with perhaps a rich editor and HTML form, or it might
be more powerful with the ability to manage various stories/images on
disk or db, and integrate uploads even, like some of the portal
building systems do. Perhaps one integrated well with Catalyst could
also allow the user to select template files to use in a given part of
the screen to replace not just on a story basis but on a div basis.

I'd just like to ask if anyone uses a CMS (beyond just hand-rolling
for each instance) or has been seeing similar needs. I think much
development time is spent on creating object management interfaces
which perhaps could be boiled down to some repetitive functionality.

Matt Rosin

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


[Catalyst] C::P::Scheduler

2007-08-23 Thread Will Smith
Hi,
 I'm trying to use the plugin to run a cron job by adding this to the myapp.pm :
 __PACKAGE__-schedule(
 at= '0 * * * *',
 event = '/email/checkemail',
 auto_run = 1,
 );
 
 This suppose to set the process checkemail run every hour, but it does nothing 
at all. I am not sure whether I have put those line in the wrong place, or 
something else I have to do. Do I need to have a Schedule.yml file (this is 
only an option according to the doc)? Someone has done this, please give me 
some instruction. And if I want  to run the process more often, like every 15 
min, how could I modify the value, if possible.
 Thank you
 
   
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] C::P::Scheduler

2007-08-23 Thread taulmarill
Am Do, 23.08.2007, 14:45, schrieb Will Smith:
 Hi,
  I'm trying to use the plugin to run a cron job by adding this to the
 myapp.pm :
  __PACKAGE__-schedule(
  at= '0 * * * *',
  event = '/email/checkemail',
  auto_run = 1,
  );

  This suppose to set the process checkemail run every hour, but it does
 nothing at all. I am not sure whether I have put those line in the wrong
 place, or something else I have to do. Do I need to have a Schedule.yml
 file (this is only an option according to the doc)? Someone has done
 this, please give me some instruction. And if I want  to run the process
 more often, like every 15 min, how could I modify the value, if possible.
  Thank you

This is from the C::P::Scheduler perldoc:

Events will run during the first request which meets or exceeds the
specified time.
The event to run at the specified time can be either a Catalyst private
action path or a coderef.

Have you performed a request after the hour has passed? Is
'/email/checkemail' a private action? Have you RTFM?


regards,
Jürgen


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


[Catalyst] A Perl Message Queue?

2007-08-23 Thread Jesper Krogh

Hi.

This is quite off-topic related to Catalyst but my googling didn't reveal
anything.

Has anyone seen stuff like a Messages Queue (I dont have other words for
it) But a more generic implementation of a thing where you can put in
messages and  pick them out in some other part of the program.

It would be nice when you have stuff that takes longer that people usually
can wait for.

Jesper

-- 
Jesper Krogh


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


Re: [Catalyst] CMS

2007-08-23 Thread Cory Watson
On 8/23/07, Matt Rosin [EMAIL PROTECTED] wrote:
 Catalyst makes it easy to build a site with lots of little modules of
 content composing a single page - the actual content (words/images)
 being scattered in static apache directories, the database, the
 templates folders and the code. At some point a content management
 system of some type is needed.

Next year I will have a need for a CMS that:

 - multi-user
 - tracks changes
 - allows previewing
 - is perl
 - doesn't impose a templating system
 - extensible
 - is open source
 - works with my cat site

 I'd just like to ask if anyone uses a CMS (beyond just hand-rolling
 for each instance) or has been seeing similar needs. I think much
 development time is spent on creating object management interfaces
 which perhaps could be boiled down to some repetitive functionality.

I've not even looked at my options yet.  I just know I'm going to need
one.  I don't know that I need a 'CMS', as most of them seem to have
too many damned features.

What I really want is a multi-user template editor with change
tracking, and a cat app that can talk to same... so that the app can
run in 'preview' mode.

That just gave me an idea...

-- 
Cory 'G' Watson
http://www.onemogin.com

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


Re: [Catalyst] Storing $c leaks memory?

2007-08-23 Thread Christopher H. Laco
Tobias Kremer wrote:
 While hunting down some memory leaks in my application I found that it's
 generally a bad idea to store $c in a class as this never gets cleared up
 completely, is that correct?
 

I'd wager circular reference issue. Take a look into ACCEPT_CONTEXT
controller.

In short, if you're going to store a copy of $c in your classes, weaken
them first using Scalar::Util::weaken

Of course, I could be full of it. :-)

-=Chris



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


RE: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Hartmaier Alexander
Database table?

-Alex


 -Original Message-
 From: Jesper Krogh [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 23, 2007 3:44 PM
 To: [EMAIL PROTECTED]; 
 catalyst@lists.rawmode.org@shrek.krogh.cc
 Subject: [Catalyst] A Perl Message Queue?
 
 
 Hi.
 
 This is quite off-topic related to Catalyst but my googling didn't
 reveal
 anything.
 
 Has anyone seen stuff like a Messages Queue (I dont have other words
 for
 it) But a more generic implementation of a thing where you can put in
 messages and  pick them out in some other part of the program.
 
 It would be nice when you have stuff that takes longer that people
 usually
 can wait for.
 
 Jesper
 
 --
 Jesper Krogh
 
 
 ___
 List: Catalyst@lists.rawmode.org
 Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
 Searchable archive: http://www.mail-
 archive.com/catalyst@lists.rawmode.org/
 Dev site: http://dev.catalyst.perl.org/



smime.p7s
Description: S/MIME cryptographic signature
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Storing $c leaks memory?

2007-08-23 Thread Tobias Kremer
While hunting down some memory leaks in my application I found that it's
generally a bad idea to store $c in a class as this never gets cleared up
completely, is that correct?

I'm also doing things like this which seem to cause major leaks:

$foo-bar( coderef = sub { return $c-forward( '/someaction' ) } );

While I can imagine that a closure like that can cause trouble I don't see why
the following is leaking memory, too:

in a Controller:

my $foo = Foo-new( $c );

in Foo.pm:

sub new {
  my( $class, $c ) = @_;
  my $self = {};
  $self-{ '_c' } = $c;
  bless $self, $class;
}

Maybe somebody can shed some light on this?! Is it possible (and sensible) to
weaken $c before storing it?

Thanks a lot!

--Tobias

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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Tobias Kremer
 Has anyone seen stuff like a Messages Queue (I dont have other words for
 it) But a more generic implementation of a thing where you can put in
 messages and  pick them out in some other part of the program.

 It would be nice when you have stuff that takes longer that people usually
 can wait for.

Maybe TheSchwartz does what you want:

http://search.cpan.org/dist/TheSchwartz/

--Tobias

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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Ash Berlin
Don't use a DB as the backing store for a message queue if you will ever
need to pass a lot of messages thought it - you're just asking for
trouble doing it that way.

Hartmaier Alexander wrote:
 Database table?
 
 -Alex
 
 
 -Original Message-
 From: Jesper Krogh [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 23, 2007 3:44 PM
 To: [EMAIL PROTECTED]; 
 catalyst@lists.rawmode.org@shrek.krogh.cc
 Subject: [Catalyst] A Perl Message Queue?


 Hi.

 This is quite off-topic related to Catalyst but my googling didn't
 reveal
 anything.

 Has anyone seen stuff like a Messages Queue (I dont have other words
 for
 it) But a more generic implementation of a thing where you can put in
 messages and  pick them out in some other part of the program.

 It would be nice when you have stuff that takes longer that people
 usually
 can wait for.

 Jesper

 --
 Jesper Krogh




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


Re: [Catalyst] CMS

2007-08-23 Thread Simon Wilcox

Cory Watson wrote:

Next year I will have a need for a CMS that:

 - multi-user
 - tracks changes
 - allows previewing
 - is perl
 - doesn't impose a templating system
 - extensible
 - is open source
 - works with my cat site


If you want sledgehammers, Bricolage and Krang are probably the beefiest 
ones you can find :-)


www.bricolage.cc  www.krangcms.com

They'll do all that you want (less perhaps a certain amount of 
flexibility in the templating dept) but could well be overkill.


I'm not aware of any lighter tools but would be very happy to find one.

Simon.

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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Mark Knoop





Don't use a DB as the backing store for a message queue if you will ever
need to pass a lot of messages thought it - you're just asking for
trouble doing it that way.



Getting way off topic but, understanding the kind of trouble one can get 
into using a DB to store messages, how else can one ensure data is always 
recoverable should the app bomb out? 




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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Michael Richards
Just use something like Amazon's SQS and worry not.

On 8/23/07, Mark Knoop [EMAIL PROTECTED] wrote:



  Don't use a DB as the backing store for a message queue if you will ever
  need to pass a lot of messages thought it - you're just asking for
  trouble doing it that way.
 

 Getting way off topic but, understanding the kind of trouble one can get
 into using a DB to store messages, how else can one ensure data is always
 recoverable should the app bomb out?



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


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


[Catalyst] Re: [Catalyst-dev] Re: Patches for Catalyst::Plugin::ConfigLoader, Config::All and Config::All::General

2007-08-23 Thread Brian Cassidy

Hey All,

Config::Any 0.08 and Catalyst::Plugin::ConfigLoader 0.16 have hit the 
CPAN. Changes:


Config::Any:

0.08 Thu Aug 23 2007
pass config options to each parser
fix for loading the same perl config twice (RT #28812)

Catalyst::Plugin::ConfigLoader:

0.16  Thu Aug 23 2007
- separated out the macro expansion code into config_substitutions()
  (Jason Kohles)
- allow users to specify their own macros in
  MyApp-config-{ substitutions } (Johnathan Rockway)
- pass special constructor arguments to Config::Any. Requires 
Config::Any

  0.08 (Gareth Kirwan)

[DEPRECATION NOTICE]
- the file and config_local_suffix config keys are now to be 
explicitly
  set under the Plugin::ConfigLoader key. Support for these keys 
will be

  removed in the next release.

[THINGS THAT MAY BREAK YOUR CODE]
- use Catalyst::Utils::env_value() to get $ENV values. This means that
  MYAPP_* is of higher precedence than CATALYST_* -- this differs from
  the behavior of older releases.

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


Re: [Catalyst] CMS

2007-08-23 Thread Cory Watson
On 8/23/07, Simon Wilcox [EMAIL PROTECTED] wrote:
 If you want sledgehammers, Bricolage and Krang are probably the beefiest
 ones you can find :-)

 www.bricolage.cc  www.krangcms.com

Bricolage I was aware of, but krang is new to me.

 They'll do all that you want (less perhaps a certain amount of
 flexibility in the templating dept) but could well be overkill.

What I (think) I'm after is an RCS-like system for the templates with
a view in Cat that knows how to retrieve the current template(s).

So the user edits, creating their own versions, then hits the site
with arguments that tell the view to get that user's edits over HEAD.

So perhaps I'll look ino creating the former, then using something
like the TT DBIC provider (which I'm not sure I ever got working
right) to get HEAD.

 I'm not aware of any lighter tools but would be very happy to find one.

I'll keep the list posted...

-- 
Cory 'G' Watson
http://www.onemogin.com

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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Brandon Black
On 8/23/07, Mark Knoop [EMAIL PROTECTED] wrote:
  Don't use a DB as the backing store for a message queue if you will ever
  need to pass a lot of messages thought it - you're just asking for
  trouble doing it that way.
 

 Getting way off topic but, understanding the kind of trouble one can get
 into using a DB to store messages, how else can one ensure data is always
 recoverable should the app bomb out?


That's why one normally doesn't implement a message queue from
scratch, but instead uses an off the shelf one (same deal as
databases).  Message queueing systems vary (again, much like
databases) in what features they support.  Reliable messaging
transactions, or just best effort? Local-only, or networked?
Disk-backed, or memory-only (are messages lost if they machine
randomly reboots)?  Single-hop messaging events, or does the system
actually track larger-scale transactions that encompass several
different queued messages between different components over time?  If
transactional, does it integrate with your database's transaction
system?  Can messages only have one receiver, or can they be
multicast/broadcast?

To give some idea, here's a couple of common products in the commercial world:

IBM's MQSeries (now called WebSphere MQ)
http://www-306.ibm.com/software/integration/wmq/features/

BEA MessageQ:
http://www.bea.com/framework.jsp?CNT=index.htmFP=/content/products/more/messageq

If you search CPAN Distributions for the word Queue, you get 35 hits
that range all over the feature map for a queuing system, including
interfaces to some of the commercial systems.

-- Brandon

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


Re: [Catalyst] CMS

2007-08-23 Thread Joe Landman
Cory Watson wrote:
 On 8/23/07, Simon Wilcox [EMAIL PROTECTED] wrote:
 If you want sledgehammers, Bricolage and Krang are probably the beefiest
 ones you can find :-)

 www.bricolage.cc  www.krangcms.com
 
 Bricolage I was aware of, but krang is new to me.

I had sent a note to one of the people listed on the Krang site.  I was
interested in it a while ago as well.

I would like to get/use a Cat-based CMS.  Unfortunately, I don't have
time/resources to write one.


-- 
joe

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


RE: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Alan Humphrey
 To give some idea, here's a couple of common products in the commercial
 world:
 
 IBM's MQSeries (now called WebSphere MQ)
 http://www-306.ibm.com/software/integration/wmq/features/
 
 BEA MessageQ:
 http://www.bea.com/framework.jsp?CNT=index.htmFP=/content/products/mor
 e/messageq
 
 If you search CPAN Distributions for the word Queue, you get 35 hits
 that range all over the feature map for a queuing system, including
 interfaces to some of the commercial systems.
 

There's also Simple Queue Service offered by Amazon:

http://www.amazon.com/Simple-Queue-Service-home-page/b/ref=sc_fe_l_2/105-3926606-9085228?ie=UTF8node=13584001no=342430011me=A36L942TSJ2AJA




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


[Catalyst] Re: CMS

2007-08-23 Thread Matt Rosin
Incidentally the dev site does list something called EasyCMS but I
read somewhere that it is defunct and won't work with current version
of Catalyst. Obviously lots of people have thought about this..
Matt Rosin

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


RE: [BULK] - [Catalyst] CMS

2007-08-23 Thread Mesdaq, Ali
I have used Joomla in the past for a fairly busy community website I run
on the side. When I first learned about Catalyst first thing I did was
look for what cool CMS was created using it. Unfortunately I didn't find
anything ready to go live. I definitely think we need one but for it to
actually be effective and actually get done it shouldn't be over
engineered. I would really like to see a good skeleton of a CMS that
gets a lot of the annoying stuff taken care of and allows for full
customization. I probably can't do too much development on it but I can
help out with the specs, features, wireframes, and roadmap if needed.

Another thing I think is missing from our community is a good catalyst
based forum software. We need this pretty bad in my opinion because I
hate using the other ones out there. Especially since every week there
is a new vulnerability in each one. A good forum and a good CMS will
probably come very handy for us. I know django framework has its own CMS
and admin tool built in. Haven't used it but the idea its built in is
very cool.

Thanks,
--
Ali Mesdaq
Security Researcher II
Websense Security Labs
http://www.WebsenseSecurityLabs.com
--

-Original Message-
From: Matt Rosin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 23, 2007 12:28 AM
To: catalyst@lists.rawmode.org
Subject: [BULK] - [Catalyst] CMS

Catalyst makes it easy to build a site with lots of little modules of
content composing a single page - the actual content (words/images)
being scattered in static apache directories, the database, the
templates folders and the code. At some point a content management
system of some type is needed.

While I hand-roll this sort of thing now it might be nice to have a
standard module with perhaps a rich editor and HTML form, or it might be
more powerful with the ability to manage various stories/images on disk
or db, and integrate uploads even, like some of the portal building
systems do. Perhaps one integrated well with Catalyst could also allow
the user to select template files to use in a given part of the screen
to replace not just on a story basis but on a div basis.

I'd just like to ask if anyone uses a CMS (beyond just hand-rolling for
each instance) or has been seeing similar needs. I think much
development time is spent on creating object management interfaces which
perhaps could be boiled down to some repetitive functionality.

Matt Rosin

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

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


Re: [Catalyst] CMS

2007-08-23 Thread John Wang
On 8/23/07, Simon Wilcox [EMAIL PROTECTED] wrote:

 If you want sledgehammers, Bricolage and Krang are probably the beefiest
 ones you can find :-)

 www.bricolage.cc  www.krangcms.com


Don't forget www.webgui.org.

One thing about Bricolage, Krang and WebGUI, is that none of them are
Catalyst-based. Sometimes this isn't an issue and sometimes it is.

For while I've been thinking it would be nice to have a Cat-based CMS with
multiple features built on top of a platform. The platform can include basic
things like Authn, Authz, Sessions, a basic user schema and pre-built HTML.
The pre-built HTML can include controllers/templates/etc for registration,
login/logout, openid, etc. Then on top of the platform you can have
plug-and-play features like forums, blogs, photo galleries, surveys etc. If
it was built the right way, you could have your choice of forums, etc. You
can also only load the features that you want. I'm not sure how easy this
would be to do but I think it would be neat.

-- 
John Wang
http://www.dev411.com/
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] CMS

2007-08-23 Thread Cory Watson
On 8/23/07, John Wang [EMAIL PROTECTED] wrote:
 For while I've been thinking it would be nice to have a Cat-based CMS with
 multiple features built on top of a platform. The platform can include basic
 things like Authn, Authz, Sessions, a basic user schema and pre-built HTML.
 The pre-built HTML can include controllers/templates/etc for registration,
 login/logout, openid, etc. Then on top of the platform you can have
 plug-and-play features like forums, blogs, photo galleries, surveys etc. If
 it was built the right way, you could have your choice of forums, etc. You
 can also only load the features that you want. I'm not sure how easy this
 would be to do but I think it would be neat.

This is precisely what I DON'T want.  I want something manages and
version my templates and then a view that lets Cat retrieve the
appropriate template through some means.

Not that what you describe wouldn't be nice to have, just not for me atm. ;)

-- 
Cory 'G' Watson
http://www.onemogin.com

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


Re: [Catalyst] CMS

2007-08-23 Thread Christopher H. Laco
John Wang wrote:
 On 8/23/07, Simon Wilcox [EMAIL PROTECTED] wrote:
 If you want sledgehammers, Bricolage and Krang are probably the beefiest
 ones you can find :-)

 www.bricolage.cc  www.krangcms.com
 
 
 Don't forget www.webgui.org.
 
 One thing about Bricolage, Krang and WebGUI, is that none of them are
 Catalyst-based. Sometimes this isn't an issue and sometimes it is.
 
 For while I've been thinking it would be nice to have a Cat-based CMS with
 multiple features built on top of a platform. The platform can include basic
 things like Authn, Authz, Sessions, a basic user schema and pre-built HTML.
 The pre-built HTML can include controllers/templates/etc for registration,
 login/logout, openid, etc. Then on top of the platform you can have
 plug-and-play features like forums, blogs, photo galleries, surveys etc.


*cough*...carts, orders, checkout :-)


 If
 it was built the right way, you could have your choice of forums, etc. You
 can also only load the features that you want. I'm not sure how easy this
 would be to do but I think it would be neat.

I'm not sure how related this is, but it's partially the approach I'm
taking with Mango. I'm trying to assume form the beginning that it's
parts should be easily added to other Cat apps. All of the MyApp::*
classes are just subclasses of core Mango::Catalyst::* classes...

In other words, MyApp::Controller::Cart is just a subclass of
Mango::Catalyst::Controller::Cart...
Don't like /cart/...rename to MyApp::Controller::Basket

Probably why I always foam at the mouth about calling it ..Framework, so
I keep reminding myself it's not a solution, but another set of lego blocks.



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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread J . G . Konrad
a Perl message queue using POE!

http://search.cpan.org/~dsnopek/POE-Component-MessageQueue-0.1.4/lib/POE/Component/MessageQueue.pm

On 8/23/07, Alan Humphrey [EMAIL PROTECTED] wrote:

  To give some idea, here's a couple of common products in the commercial
  world:
 
  IBM's MQSeries (now called WebSphere MQ)
  http://www-306.ibm.com/software/integration/wmq/features/
 
  BEA MessageQ:
  http://www.bea.com/framework.jsp?CNT=index.htmFP=/content/products/mor
  e/messageq
 
  If you search CPAN Distributions for the word Queue, you get 35 hits
  that range all over the feature map for a queuing system, including
  interfaces to some of the commercial systems.
 

 There's also Simple Queue Service offered by Amazon:


 http://www.amazon.com/Simple-Queue-Service-home-page/b/ref=sc_fe_l_2/105-3926606-9085228?ie=UTF8node=13584001no=342430011me=A36L942TSJ2AJA




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

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


Re: [Catalyst] CMS

2007-08-23 Thread Perrin Harkins
On 8/23/07, Cory Watson [EMAIL PROTECTED] wrote:
 I want something manages and
 version my templates and then a view that lets Cat retrieve the
 appropriate template through some means.

You can do something like that with Krang or Bricolage.  They both
publish files rather than serving the content themselves.  You can
publish files that are templates for your Catalyst app to use, and
even publish metadata files with them that tell the app how to behave
on this page.  We did something like this with Krang at Plus Three,
using CGI::Application to serve the published templates.  There's a
thread in the Catalyst archives with more details about it.

However, both Krang and Bricolage are far more complicated than RCS.
They handle permissions, workflow, and templating of static pages.
That may be more than you want.

- Perrin

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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Steve Atkins


On Aug 23, 2007, at 10:39 AM, tprinty wrote:


Have you looked at memcache?

http://www.danga.com/memcached/


Memcached is nice for caching, and OK for temporary session
data, but last time I looked at it I couldn't see any good way to
use it for queuing. Is there a trick I missed?

Cheers,
  Steve





On Thu, 2007-08-23 at 15:43 +0200, Jesper Krogh wrote:

Hi.

This is quite off-topic related to Catalyst but my googling didn't  
reveal

anything.

Has anyone seen stuff like a Messages Queue (I dont have other  
words for

it) But a more generic implementation of a thing where you can put in
messages and  pick them out in some other part of the program.

It would be nice when you have stuff that takes longer that people  
usually

can wait for.

Jesper




___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/ 
catalyst@lists.rawmode.org/

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



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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread J. Shirley
On 8/23/07, Tobias Kremer [EMAIL PROTECTED] wrote:

  Has anyone seen stuff like a Messages Queue (I dont have other words for
  it) But a more generic implementation of a thing where you can put in
  messages and  pick them out in some other part of the program.
 
  It would be nice when you have stuff that takes longer that people
 usually
  can wait for.

 Maybe TheSchwartz does what you want:

 http://search.cpan.org/dist/TheSchwartz/

 --Tobias

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



I second using TheSchwartz -- 6a/TypePad had a presentation at OSCON on it,
reporting that they were having throughput of 800 messages per second.

We're using it at my job, and loving it.  I wrote out the very high level
experience at
http://jshirley.vox.com/library/post/catalyst-and-theschwartz-reliable-jobqueue-in-a-great-framework.html

Also, you can look at Gearman.

Hope this helps,
-Jay

-- 
J. Shirley :: [EMAIL PROTECTED] :: Killing two stones with one bird...
http://www.toeat.com
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


RE: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Dylan Vanderhoof
I haven't played with gearman yet, but we're also using TheSchwartz
(thanks to some setup help from jshirley), and its truly awesome.
 
I have a couple minor gripes (needs an on_final_error sub you can
override), but for the most part it rocks.
 
-D

-Original Message-
From: J. Shirley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 23, 2007 10:54 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] A Perl Message Queue?


On 8/23/07, Tobias Kremer [EMAIL PROTECTED] wrote: 


 Has anyone seen stuff like a Messages Queue (I dont
have other words for
 it) But a more generic implementation of a thing where
you can put in
 messages and  pick them out in some other part of the
program. 

 It would be nice when you have stuff that takes longer
that people usually
 can wait for.

Maybe TheSchwartz does what you want:

http://search.cpan.org/dist/TheSchwartz/ 

--Tobias

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




I second using TheSchwartz -- 6a/TypePad had a presentation at
OSCON on it, reporting that they were having throughput of 800 messages
per second. 

We're using it at my job, and loving it.  I wrote out the very
high level experience at
http://jshirley.vox.com/library/post/catalyst-and-theschwartz-reliable-j
obqueue-in-a-great-framework.html

Also, you can look at Gearman.

Hope this helps,
-Jay

-- 
J. Shirley :: [EMAIL PROTECTED] :: Killing two stones with one
bird...
http://www.toeat.com 

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


Re: [Catalyst] CMS

2007-08-23 Thread Fernan Aguero

| On 8/23/07, John Wang [EMAIL PROTECTED] wrote:
|  For while I've been thinking it would be nice to have a Cat-based CMS with
|  multiple features built on top of a platform. The platform can include basic
|  things like Authn, Authz, Sessions, a basic user schema and pre-built HTML.
|  The pre-built HTML can include controllers/templates/etc for registration,
|  login/logout, openid, etc. Then on top of the platform you can have
|  plug-and-play features like forums, blogs, photo galleries, surveys etc. If
|  it was built the right way, you could have your choice of forums, etc. You
|  can also only load the features that you want. I'm not sure how easy this
|  would be to do but I think it would be neat.
| 
| This is precisely what I DON'T want.  I want something manages and
| version my templates and then a view that lets Cat retrieve the
| appropriate template through some means.
| 
| Not that what you describe wouldn't be nice to have, just not for me atm. ;)
 
don't know if this is what you were talking, but me, I'd
like a pluggable combo that will allow me to add simple
editing of pages (a small wiki or blog-like combo to plug
into any catalyst app), with choice of markup (Markdown,
Textile, WikiFormat) ... then my templating system should just
inject the processed content into a template.

Fernan


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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread tprinty
I don't know if you can do Queing but from Jesper's description it
didn't seem like order was important. Seemed to me that he just wanted
to stash something away and grok it later on.

Supposedly the twitter guys have hacked memcached to act as a queue but
I can't find anything on how they did it.



On Thu, 2007-08-23 at 10:48 -0700, Steve Atkins wrote:
 On Aug 23, 2007, at 10:39 AM, tprinty wrote:
 
  Have you looked at memcache?
 
  http://www.danga.com/memcached/
 
 Memcached is nice for caching, and OK for temporary session
 data, but last time I looked at it I couldn't see any good way to
 use it for queuing. Is there a trick I missed?
 
 Cheers,
Steve
 
 
 
 
  On Thu, 2007-08-23 at 15:43 +0200, Jesper Krogh wrote:
  Hi.
 
  This is quite off-topic related to Catalyst but my googling didn't  
  reveal
  anything.
 
  Has anyone seen stuff like a Messages Queue (I dont have other  
  words for
  it) But a more generic implementation of a thing where you can put in
  messages and  pick them out in some other part of the program.
 
  It would be nice when you have stuff that takes longer that people  
  usually
  can wait for.
 
  Jesper
 
 
 
  ___
  List: Catalyst@lists.rawmode.org
  Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
  Searchable archive: http://www.mail-archive.com/ 
  catalyst@lists.rawmode.org/
  Dev site: http://dev.catalyst.perl.org/
 
 
 ___
 List: Catalyst@lists.rawmode.org
 Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
 Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
 Dev site: http://dev.catalyst.perl.org/


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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Perrin Harkins
On 8/23/07, tprinty [EMAIL PROTECTED] wrote:
 Have you looked at memcache?

Don't put your messages into memcached unless you don't mind losing
some.  It is not a database or reliable storage.  It's just a cache.

- Perrin

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


Re: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Perrin Harkins
On 8/23/07, Ash Berlin [EMAIL PROTECTED] wrote:
 Don't use a DB as the backing store for a message queue if you will ever
 need to pass a lot of messages thought it - you're just asking for
 trouble doing it that way.

Like most things, it depends.  If you need ACID properties for your
messages, using a database will be a lot easier than building your own
special-purpose ACID database.  And you probably already have some
work invested in making your RDBMS scale, so it doesn't add a new
point of failure.

But sure, if you have the money for commercial IBM stuff, it works.
Some of the open source Java solutions may be viable too.

- Perrin

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


RE: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Robert Mah
Good message queue systems can exceed 100,000 messages per second in
throughput.  They say OpenAMQ does, for example.

 

I suggest looking at OpenAMQ (openamq.org).  It is free (GNU license),
supported and used by major companies for $$$ work, looks well designed,
seems very flexible, has great performance, and, most importantly, has perl
bindings.

 

Another popular free message queue is ActiveMQ.  Only downside to it is that
it seems rather geared towards java and it's JMS philosophy (though perl
bindings are available).

 

Cheers,
Rob

  _  

From: J. Shirley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 23, 2007 1:54 PM
To: The elegant MVC web framework
Subject: Re: [Catalyst] A Perl Message Queue?

 

On 8/23/07, Tobias Kremer [EMAIL PROTECTED] wrote:

 Has anyone seen stuff like a Messages Queue (I dont have other words for
 it) But a more generic implementation of a thing where you can put in
 messages and  pick them out in some other part of the program. 

 It would be nice when you have stuff that takes longer that people usually
 can wait for.

Maybe TheSchwartz does what you want:

http://search.cpan.org/dist/TheSchwartz/ 

--Tobias

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



I second using TheSchwartz -- 6a/TypePad had a presentation at OSCON on it,
reporting that they were having throughput of 800 messages per second. 

We're using it at my job, and loving it.  I wrote out the very high level
experience at
http://jshirley.vox.com/library/post/catalyst-and-theschwartz-reliable-jobqu
eue-in-a-great-framework.html

Also, you can look at Gearman.

Hope this helps,
-Jay

-- 
J. Shirley :: [EMAIL PROTECTED] :: Killing two stones with one bird...
http://www.toeat.com 

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


RE: [BULK] - RE: [Catalyst] A Perl Message Queue?

2007-08-23 Thread Mesdaq, Ali
This looks very interesting and promising but is it just me or is there
No actual documentation on using Perl bindings?

Thanks,
--
Ali Mesdaq
Security Researcher II
Websense Security Labs
http://www.WebsenseSecurityLabs.com
--

-Original Message-
From: Robert Mah [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 23, 2007 5:57 PM
To: 'The elegant MVC web framework'
Subject: [BULK] - RE: [Catalyst] A Perl Message Queue?

Good message queue systems can exceed 100,000 messages per second in
throughput.  They say OpenAMQ does, for example.

 

I suggest looking at OpenAMQ (openamq.org).  It is free (GNU license),
supported and used by major companies for $$$ work, looks well designed,
seems very flexible, has great performance, and, most importantly, has
perl bindings.

 

Another popular free message queue is ActiveMQ.  Only downside to it is
that it seems rather geared towards java and it's JMS philosophy (though
perl bindings are available).

 

Cheers,
Rob



From: J. Shirley [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 23, 2007 1:54 PM
To: The elegant MVC web framework
Subject: Re: [Catalyst] A Perl Message Queue?

 

On 8/23/07, Tobias Kremer [EMAIL PROTECTED] wrote:

 Has anyone seen stuff like a Messages Queue (I dont have other
words for
 it) But a more generic implementation of a thing where you can
put in
 messages and  pick them out in some other part of the program.


 It would be nice when you have stuff that takes longer that
people usually
 can wait for.

Maybe TheSchwartz does what you want:

http://search.cpan.org/dist/TheSchwartz/ 

--Tobias

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



I second using TheSchwartz -- 6a/TypePad had a presentation at OSCON on
it, reporting that they were having throughput of 800 messages per
second. 

We're using it at my job, and loving it.  I wrote out the very high
level experience at
http://jshirley.vox.com/library/post/catalyst-and-theschwartz-reliable-j
obqueue-in-a-great-framework.html

Also, you can look at Gearman.

Hope this helps,
-Jay

--
J. Shirley :: [EMAIL PROTECTED] :: Killing two stones with one bird...
http://www.toeat.com 


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