Re: [Catalyst] Catalyst - any good AJAX tutes?

2009-03-10 Thread David Morel


Le 6 mars 09 à 17:33, Francesc Romà i Frigolé a écrit :

 On Fri, Mar 6, 2009 at 6:43 AM, kakim...@tpg.com.auwrote:

 hello there,

  I would like to use AJAX in my catalyst app. Any good
  references/tutes
 to recommend?

 thanks.

 K. akimoto


 Hello,

 Depends on what do you want to do with AJAX. For example, if you want
 to do forms, I think it is a bit more complicated than suggested in
 previous replies.

 Ideally, for forms, you'd like to have some modules that magically
 initialize your forms with data from your model, then render a nice
 form with your favorite JS toolkit, using  AJAX for things like
 auto-complete with data from your model, validate the forms both on
 the client and on the server, and then update your model with the  
user

 submitted data.

 So far, I haven't found anything that does this for my tools of
 choice: DBIx::Class + Dojo

 There is HTML::FormFu::Dojo which sounds promising but hasn't been
 released yet. Check it out here: http://code.google.com/p/html- 
formfu/


Well, I don't know about Dojo, but I had to do this sort of things last
week (multiple forms on a page, with slide up  down, dynamically add
forms, update, display validation errors, etc). I started using Mootools
which I knew a bit, ran in a lot of issues, switched to jQuery which I
had no clue about and the thing was done in 10 lines of JS and 2 hours.

Of course HTML::FormFu powers it (it's a non-Cat app, made with mason),
but even without Catalyst, the simple FormFu + jQuery combination is
IMHO a killer. And I didn't even use the Forms plugin (which I should
probably have). I heard jQuery was crappy in some regards, notably
polluting the global namespace, which YUI takes care not doing IIRC, but
for what I had to do, using it was a real pleasure. It DWIM, easily,
and that's not so common.

D.Morel



___
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] Thoughts On GeoIP Modules?

2009-03-10 Thread David Morel


Le 10 mars 09 à 15:08, Andy Dorman a écrit :


We have several signup web sites using Catalyst.  Recently we have
realized we are going to have to limit signups by geographical region
to help limit abuse. Captchas (we use and love reCaptcha) and other
heuristics just do not seem to be sufficient.

Does anyone on the list have any experience with open source options
in the way of GeoIP modules?  We are looking at MaxMind GeoIP
(http://sourceforge.net/projects/geoip/) at the moment.


I deployed it on a lot of servers and am extremely happy with it. A
full drop-in replacement for IP::Country::Fast IIRC, with monthly
updates ready to roll. you can even pinpoint the city, with good
accuracy according to my limited testing. Loads on the servers is
negligible. IIRC, we use it with mod_perl and are happier with the
GEOIP_MEMORY_CACHE option. Since we restart the app more often than we
update the db, we don't need GEOIP_CHECK_CACHE.
I'd give it an A :)

D.Morel




___
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 - any good AJAX tutes?

2009-03-10 Thread David Morel


Le 10 mars 09 à 10:11, kakim...@tpg.com.au a écrit :


hello, David,
  Sounds good.
For me, I have done away with html::Formfu, formbuilder and so forth
because my needs better met with manual old school html.

  Can you give us some links as a reference to the rest of us?


Mmmh maybe you should think again, because I found FormFu so unobtrusive
that i could use it without any change with our current design.

The thing is, of course it's better to use a model and the full feature
set FormFu provides, but if you can't or won't have time to fuly grasp
everything in the docs (i didn't yet) you can still use it in a limited
although powerful way. This has saved me a lot of time already and I
didn't even scratch the surface of it.

As far as jQuery goes, i found the documentation  located here extremely
easy to browse and useful: http://visualjquery.com/

D.Morel



___
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] PDF creation in Catalyst?

2008-10-22 Thread David Morel


Le 22 oct. 08 à 20:25, Cory G Watson a écrit :



On Oct 22, 2008, at 1:08 PM, Kirby Krueger wrote:


If you go to catalystframework.org, it says on the main page:

	And in case you want PNG or PDF output, you'll need just a few  
lines...


Can someone give me those few lines? :-)


This is more than likely referring to the fact that Catalyst is  
output agnostic.


I'm a bit surprised that there's no Catalyst::View::Something::PDF  
by now, which makes me worry that it's hard.  Most days I'd be  
happy to look into this, but I'm under the scheduling gun right now  
in a fairly panic-inducing way, so quick and dirty is unusually  
appealing.


I don't need to create PDF files for distribution, just something  
printable with more layout control than HTML is willing to give  
me.  Maybe PDF is a rabbit hole, and someone else has a bright idea?




Check webkit. I had a quick look there, seems promising: 
http://cutycapt.sourceforge.net/

David


___
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] experiencing SQLite crash

2008-10-15 Thread David Morel


Le 15 oct. 08 à 08:49, Dami Laurent (PJ) a écrit :


Hi all,

I have a Catalyst app using SQLite as storage. It has been running  
for several months without any problem.
Now in the last few days we has several crashes of SQLite (file gets  
corrupted). This is just incomprehensible because all development  
and production engineers claim that nothing has changed in  
application code,  nor in Catalyst, DBD::Sqlite, Apache, or  
operating system (Solaris), and we can't reproduce the problem in  
dev. So we don't even know where to start our investigations.


Any hints, suggestions, related info, etc. would be welcome.

The only time I've seen SQLIte files get corrupted was because of  
faulty hardware (disks, mainly)


D.Morel
___
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/


[SPAM-] Re: [Catalyst] XPath, DOM problem

2008-07-08 Thread David Morel


Le 8 juil. 08 à 23:04, Jonathan Rockway a écrit :


BTW, XML::LibXML is a much nicer library for doing anything related to
XML in Perl.  Using anything else is slightly crazy ;)


That's a bit short: using XML::Twig is not crazy either ;)

David


___
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] Web hosting?

2007-12-16 Thread David Morel

Le Dim 16 décembre 2007 12:17, Will Hawes a écrit :
 I've used www.bytemark.co.uk for the past two years and have found
 pricing, uptime and support to be excellent.

  On Dec 15, 2007, at 8:07 PM, Martin Ellison wrote:
 
  Can anyone recommend a web hosting provider for Catalyst
  applications?
 
  Or for that matter, warn us off any providers that you have had
  bad experiences with?


If you're in Europe, check this: http://www.kimsufi.com/
If that's too light, have a look there:
http://www.ovh.com/fr/produits/start100m.xml

I have one of each and am really satisfied with both. Much better imho
than a virtual server.

David Morel




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


Re: [Catalyst] Multiple Views in Catalyst (FW: Catalyst-dev Digest, Vol 29, Issue 14)

2007-11-29 Thread David Morel


Le 29 nov. 07 à 22:43, Emily Heureux a écrit :

Ok, I think I've gotten the correct mailing list now.   
Unfortunately, my

company does not allow irc, so...


So... use Net::Proxy and enjoy!

David Morel




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


Re: [Catalyst] Re: [OT] Search Solution

2007-11-09 Thread David Morel


Le 9 nov. 07 à 05:13, Fayland Lam a écrit :


David Morel wrote:

Le 8 nov. 07 à 10:25, Felix Antonius Wilhelm Ostmann a écrit :

Other solution is Xapian

Catalyst::Model::Xapian
There was a discussion on this topic not so long ago. I suggest to  
have a look at the list archive, some interesting discussion went  
on at that time



I searched http://lists.scsys.co.uk/pipermail/catalyst/, but don't  
find anything. could u tell me which month is it talked?


Thanks.



have a look there: http://www.gossamer-threads.com/lists/catalyst/users/

and search for lucene, plucene, xapian, swish-e, etc

actually the threads I found seem shorter than I remember, but I just  
had a very quick look.


David Morel




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


Re: [Catalyst] [OT] Search Solution

2007-11-08 Thread David Morel


Le 8 nov. 07 à 10:25, Felix Antonius Wilhelm Ostmann a écrit :


Other solution is Xapian

Catalyst::Model::Xapian


There was a discussion on this topic not so long ago. I suggest to  
have a look at the list archive, some interesting discussion went on  
at that time


David Morel




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