[Catalyst] new catalyst site - art calendar

2007-09-04 Thread Barry Hoggard
I've finally launched all sections of my site:

http://www.artcal.net/

It was originally a CGI::Application/TT app running under mod_perl,
and now it's a Catalyst App running under mod_perl.  It's the first
week of a very big art season in NYC, and we just sent out the weekly
newsletter with the list of openings.  I'm expecting page views in the
6-10K per day range.  I'm staying with mod_perl rather than
lighttpd/fastcgi until I can convert the other applications that run
on that server.

The admin and public sites are separate apps running with a shared
schema directory.  I use HTML::FormFu plus jquery calendar and
clockpick for the date and time entry on the backend, and Imager to
reformat images.

I'm also using a number of feeds such as flickr, blip.tv, and
bloglines citations to show related materials.  An example of an
exhibition with all 3 is here (scoll down):

http://www.artcal.net/event/view/6/4980

Thanks for Carl for all of the HTML::FormFu help, and MST in
particular for catalyst and DBIC help.


-- 
Barry Hoggard

___
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 catalyst site - gardenate.com

2007-03-13 Thread Chris

 It also served as an interesting exercise in getting a Cat site to run
 under fastcgi on a host who don't really know how to support fastcgi,
 using mod_rewrite to invoke the fastcgi server script.


Wife says That's very useful which is praise indeed.

 Can you write up a short deployment scenario re the mod_rewrite and post it
here please?



Kieren, my thanks to your wife for the kind words, and also to
everyone else who responded through the contact page on the site. I
hope your wife signs up for the email reminders when I get them
implemented next week :-)

Re mod_rewrite:

The ISP said that they had installed and configured mod_fcgi at our
request, so we battled for a while to work out why a basic .fcgi
script wouldn't work. Turned out that they hadn't mapped any suffixes
to the fastcgi handlers, despite protestations to the contrary.

Finally this incantation did the trick with a copy of the
script/fastcgi.pl renamed to .fcgi and copied to the htdocs, together
with a 'use lib' to set up pathing to where the app files actually
live. The 'static' dir is sym-linked to the root/static dir to make
deployment simple and easy to maintain using rsync.

My final .htaccess file:

AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/static
RewriteCond %{REQUEST_FILENAME} !gardenate.fcgi
RewriteRule ^(.*)$ gardenate.fcgi/$1 [PT,L]


Hope this is useful. Comments and improvements welcomed.

- Chris

___
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] New catalyst site - gardenate.com

2007-03-10 Thread Chris

Hi,

I'd just like to announce that a new Catalyst site,
http://www.gardenate.com, has been launched on the unsuspecting world.

Catalyst/DBIx::Class/Mysql/Fastcgi - it's served as a useful learning
exercise about Chained handlers. I hope to use them again in future
projects. Kudos to the Catalyst development team for making such a
usable framework.

It also served as an interesting exercise in getting a Cat site to run
under fastcgi on a host who don't really know how to support fastcgi,
using mod_rewrite to invoke the fastcgi server script.

- Chris

___
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 catalyst site - gardenate.com

2007-03-10 Thread Kieren Diment

On 10/03/07, Chris [EMAIL PROTECTED] wrote:


Hi,

I'd just like to announce that a new Catalyst site,
http://www.gardenate.com, has been launched on the unsuspecting world.

Catalyst/DBIx::Class/Mysql/Fastcgi - it's served as a useful learning
exercise about Chained handlers. I hope to use them again in future
projects. Kudos to the Catalyst development team for making such a
usable framework.

It also served as an interesting exercise in getting a Cat site to run
under fastcgi on a host who don't really know how to support fastcgi,
using mod_rewrite to invoke the fastcgi server script.




Wife says That's very useful which is praise indeed.

Can you write up a short deployment scenario re the mod_rewrite and post it
here please?



- Chris


___
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] New Catalyst site

2007-02-28 Thread Carl Johnstone

Hi,

I would like to announce that www.manchestereveningnews.co.uk has just been 
relaunched using Catalyst and mod_perl.


For those that live outside the UK. The Manchester Evening News is the UK's 
most popular regional newspaper outside London and the sister paper of The 
Guardian (which started life as The Manchester Guardian).


Carl


___
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 Catalyst site

2007-02-28 Thread Tobias Kremer

Am 28.02.2007 um 12:12 schrieb Carl Johnstone:

I would like to announce that www.manchestereveningnews.co.uk has  
just been relaunched using Catalyst and mod_perl.


Nice one, Carl!

How is the content managed? I'd like to know if you integrated your  
Catalyst application with an existing content management system and  
if so, how you pulled this off. Having to choose a CMS and framework  
for a similar site myself this really could help me make a decision.


--Tobias




--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] New Catalyst site

2007-02-28 Thread Carl Johnstone
How is the content managed? I'd like to know if you integrated your 
Catalyst application with an existing content management system and  if 
so, how you pulled this off. Having to choose a CMS and framework  for a 
similar site myself this really could help me make a decision.


We've got an existing CMS - Polymedia from an Italian company called TXT 
www.txt.it. It works using XML internally, and uses Oracle (or MS SQL) as a 
back-end database. It's quite good for integration and will feed data out 
(via XSLT) as XML or into a DB table etc. We've been using it for around 5 
years now, and have built up an archive of around 150,000 articles for the 
MEN. In addition we have two other newspaper groups with 58,000 and 67,000 
articles respectively.


The downer is that the Polymedia interface is IE only (relies on MSXML), 
although it comes with an integrated, if basic, ActiveX image-editing 
component.


So for an article, from Polymedia we generate 4 outputs. Firstly an XML file 
is stored on the filesystem for Catalyst use. Another XML file is generated 
and fed into FAST (www.fastsearch.com) which provides the search back-end 
for the site. Finally we feed some of the meta-data (not the full content) 
into DBs - both MySQL and Oracle.


The static resources - images/audio/video - are all fed separately onto a 
dedicated server.


MySQL is our new choice of DB and we use it to run things like most popular 
and most recent stories. The story comments are still in Oracle as we 
haven't (yet) redeveloped the interface the journalists use to manage these 
(that interface shows the journalist the headline and teaser of the story.)


We use XML::Simple in a Catalyst model to parse stories into perl objects, 
making use of a FastMMap Cache (per-server) to store the parsed XML for up 
to 2 minutes.


At the front-end we have three load-balanced webservers running Catalyst to 
serve the pages, and a further server to serve the static resources. We 
simply do this by using an alternate server name in the HTML rather than 
having to worry about proxies. We then just check the server logs to ensure 
that nothing is falling through.


Think that's all, one of my colleagues lurks on the list so if I've posted 
something inaccurate it may tempt him into posting :-)


Carl


___
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/