Re: [Catalyst] [OT] catalyst hosting

2015-02-24 Thread Drew Taylor
Hi Luca,

With Catalyst and Plack it's quite easy now to get hosting. You can host
with anyone as long as you can run the catalyst app on a high port and have
a web server (apache, nginx, etc) with proxy or FastCGI support that can
connect to your catalyst app. I'm a fan of Linode and DigitalOcean.

Thanks,
Drew

On Tue, Feb 24, 2015 at 11:00 PM, Luca Ferrari fluca1...@infinito.it
wrote:

 Hi,
 having a catalyst application, which hosting provider would you
 suggest to use for it?
 I mean, without starting a flame on advertising, is there anything
 providing more support to Perl/Catalyst than others?

 Thanks,
 Luca

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

___
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] Working a Solr Model

2013-09-29 Thread Drew Taylor
I've been using WebService::Solr. I have a wrapper on top of WS::S, which
puts together the queries and handles the response. It's not perfect, but
it's worked fine for me so far. We don't have any utf-8 data, so I haven't
been bitten by wide-character issues. Good to know for the future though!

Thanks,
Drew


On Sun, Sep 29, 2013 at 5:54 PM, John Karr brain...@brainbuz.org wrote:

 I'm commencing a project that is going to use Solr because it will be
 search intensive.

 My research hasn't turned up a lot in terms of discussion and how tos for
 either Solr and Perl or Solr and Catalyst. There are two CPAN modules which
 I've been experimenting with,   WebService::Solr and Apache::Solr.
 WebService::Solr only implements the LWP agent part of working with Solr,
 which still leaves one to extract the actual JSON what LWP gives you, plus
 it has fatal wide-character issues that use utf8::all isn't able to fix,
 and also does not support xml and csv (other formats solr can provide).
 Apache::Solr is much nicer in that it provides something resumbling a dbic
 result set, but I've already encountered a few things that seem like bugs
 and sending the resultsetlike object to the stash in the same way as a dbic
 resultset doesn't seem to work the same way.

 Are other people using Solr based models? if so are you using either of
 the two CPAN modules or something else? Do you have examples and or notes
 you can share?

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

___
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] CatalystX::JobServer (anyone use it?)

2012-06-05 Thread Drew Taylor
On Tue, Jun 5, 2012 at 8:25 AM, Seth Daniel catal...@sethdaniel.org wrote:
 I found CatalystX::JobServer mentioned in a thread from about a year
 ago.

 It seems to still only be on github.  Does anyone use this?  Can anyone
 recommend it?

 https://github.com/bobtfish/CatalystX-JobServer

I too was looking at CatalystX::JobServer, but ended up going with the
perl port of Resque [1]. It was pretty straightforward to setup and
wrap my head around. On the monitoring side I'm using the ruby-based
Resque admin console [2]. My job needs are pretty simple right now,
but I know the uses will only grow over time.

I'm using Ubic [3] to manage multiple worker processes with
Ubic::Multiservice::Simple. Yesterday I launched a Dancer-based REST
API which is run by Ubic::Service::Starman [4]. The learning curve
wasn't bad, and it Just Works.

Drew

[1] https://metacpan.org/release/Resque
[2] https://github.com/defunkt/resque
[3] https://metacpan.org/release/Ubic
[4] https://metacpan.org/release/Ubic-Service-Starman
--

___
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] Vagrant / Developing with VM / NFS performance

2012-05-14 Thread Drew Taylor
Hi Toby,

I'm not (yet) using a VM with my new job, but at my last position I
was running Parallels which hosted a VM running FreeBSD. In order to
be able to use my OS X text editor of choice, I hosted the files on
the OS X side and exported via NFS to the FreeBSD VM. The performance
was good enough and it solved my problem. The catalyst restarter
didn't seem to have any problems with this approach, though it
sometimes took a couple seconds to see file changes.

I suspect when I do begin using a local VM I'll take the same
approach, though this time it will be using MacVIM instead of
TextMate. :)

Thanks,
Drew

On Mon, May 14, 2012 at 9:53 PM, Tobias Kremer tobias.kre...@gmail.com wrote:
 I'm playing around with Vagrant[1] to manage my development VMs and
 I'm running into some NFS-troubles and just wanted to hear if and how
 you guys are developing with a guest OS.

 The thing is that Vagrant by default configures the VM to export a
 shared directory (where my Catalyst app lives) from the host OS (OS X
 in my case) to the guest VM (Debian). I'm using the alternative NFS
 mount option because VirtualBox's shared folder support is known to be
 super slow. Problem is, Catalyst::Restarter doesn't pick up changes to
 my files. I suppose this is due to NFS doing attribute caching. If I
 turn this off (with noac in the NFS mount options), the Catalyst
 server picks up the changes more quickly but it also takes a full
 minute to start (as opposed to 3-4 seconds when the files are local).

 Having the app locally on my host and exporting it into the VM feels
 more natural to me, but the performance issues really make this a
 deal-breaker. Does anyone have any advice on how to improve things?
 How do you share your files between your VM and your host system?

 Thanks a lot!
 --Toby


 [1] http://vagrantup.com/

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



-- 
Opera2Parliament - a 3 day bike ride to support Lymphoma Australia.
Please consider donating using the link below.
http://lymphomafundraising.org.au/opera2parliament_2012

___
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] Should I create a new view for rendering a pdf in browser?

2011-11-09 Thread Drew Taylor
On Thu, Nov 10, 2011 at 1:59 AM, Jens Gassmann jens.gassm...@atomix.de wrote:

 I use Catalyst::View::Wkhtmltopdf  - maybe Prince is better, but it is
 not open source like wkhtml. Also Catalyst::View::Wkhtmltopdf  supports
 Template Toolkit and could render your Templates without much
 modifications.

Thanks, I had not heard of Wkhtmltopdf. Noted for future reference.
I've read many good things about Prince, but one thing it is not is
cheap.

Drew

___
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] Question on upgraded module not working the way it used to (DBIx::Class::Schema::Loader)

2010-06-10 Thread Drew Taylor
On Wed, Jun 9, 2010 at 5:08 PM, Ken Beal kb...@crosscountry-auto.comwrote:

  I recently upgraded the DBIx::Class::Schema::Loader module (from ??? to
 0.05003), and found that it broke a previously-working syntax, of following
 a foreign key to another table.  For instance, in the Catalyst Perl sub, I
 do “$c-stash-{builds} = [$c-model('DB::Build')-all];”

FYI, the latest version of Schema::Loader is now 0.07. It generates some
very nice looking Result classes. Perhaps you should first upgrade to this
version?

Drew
___
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] Failing tests in Catalyst::Controller::SOAP

2008-09-22 Thread Drew Taylor
On Fri, Sep 12, 2008 at 8:36 AM, Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
 Dear all,

 I have tried to install Catalyst::Controller::SOAP on both an Open
 SUSE 10.3 with Perl 5.8.8 and Ubuntu Hardy with the same Perl version.
  Both give the same errors as in the report at:
 http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2179625.html

 Can anyone with more knowledge of SOAP tell if that is something important?

I'll try to take a look at the test errors soon, but I'm pretty
swamped at $work for the near future. That said, I'm using the latest
C:C::SOAP in production without any problems. :-)

Drew
-- 

 Drew Taylor *  Web development  consulting
 Email: [EMAIL PROTECTED]  *  Site implementation  hosting
 Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
 

___
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] Catalyst site design drafts feedback thread

2008-06-17 Thread Drew Taylor
On Wed, Jun 11, 2008 at 8:54 PM, Matt S Trout [EMAIL PROTECTED] wrote:

 Simon Elliott
 (1) http://www.browsing.co.uk/cat

I liked this one the most of the original designs.

However, I now prefer Tobias' version at http://www.funkreich.de/catalyst/.

One suggestion, I suggest incorporating a list of recent blogs/news as
in Simon's design. To me, that indicates the freshness, for lack of
a better word, of the project and its community.

And to everyone, keep up the good work!

Drew
-- 

 Drew Taylor * Web development  consulting
 Email: [EMAIL PROTECTED] * Site implementation  hosting
 Web : www.drewtaylor.com * perl/mod_perl/DBI/mysql/postgres
 

___
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] Catalyst::Controller::SOAP + Pod::WSDL?

2008-04-19 Thread Drew Taylor
On Fri, Apr 11, 2008 at 11:22 AM, Ian Sillitoe [EMAIL PROTECTED] wrote:
 I'm just getting started on implementing SOAP services in my Catalyst
  app so I figured I would try and make sure I'm using the best tools
  before I start coding.

  Catalyst::Controller::SOAP looks perfect as I'm not doing anything too
  complicated yet, really just exposing data via SOAP.

C::C::SOAP++. That combined with pre-built schemas allowed me to get
into the difficult (and mostly fun) bits of actually implementing the
SOAP calls very quickly. Also Ruoso++ for his awesome work in the
recent releases to automate working WSDL.

  However, I was
  also looking to automate the process of generating (and more
  importantly, maintaining) the WSDL file describing those services. It
  looks like Pod::WSDL does a good job of this, so I was wondering
  whether anyone was already working on getting Pod::WSDL to generate
  the WSDL file directly from the docs in the Controller at startup?

I briefly looked at Pod::WSDL, but ended up not needing to because of
my prebuilt schemas. Once you have schemas, the WSDL becomes pretty
straightforward. That said, I'd be very interested to hear from anyone
who had to generate their own WSDL/schemas too.

Drew
-- 

 Drew Taylor * Web development  consulting
 Email: [EMAIL PROTECTED] * Site implementation  hosting
 Web : www.drewtaylor.com * perl/mod_perl/DBI/mysql/postgres
 

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