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

2009-03-10 Thread kakimoto
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?


thanks

K. Akimoto


Quoting David Morel dmore...@gmail.com:

 
 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/
 
 
 




___
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] Catalyst - can't find Can't locate DBIx/Class/TimeStamp.pm in @INC ( have both perl 5.8.8 and 5.8.9 installed)

2009-03-10 Thread kakimoto

hi , everyone,

  I installed DBIx::Class::TimeStamp  successfully.
 I nevertheless have both perl 5.8.8 and 5.8.9 in my machine. I think it
was when I ran apt-get on my ubuntu feisty box months ago apt-get
install perl (yes,itchy fingers) and it installed perl 5.8.9.

This is what I get when i run which perl:
 which perl
 /usr/local/bin/perl


When I run 


Scenario 1:
==
./myapp_server.pl , it dies barfing that it  Can't locate
DBIx/Class/TimeStamp.pm in @INC. One of the paths in @INC points to perl
5.8.8 and nothing points to 5.8.9.

When I did I find for the DBIx/Class/TimeStamp.pm file, it was found in
usr/local/lib/perl5/site_perl/5.8.9/DBIx/Class/TimeStamp.pm

Scenario 2:
---

perl myapp_server.pl runs alright.



Question:
===

  how do I  still keep running ./myapp_server.pl (by itself and not by
having to prepend 'perl' like in Scenario #2) ?


Thanks









___
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 - can't find Can't locate DBIx/Class/TimeStamp.pm in @INC ( have both perl 5.8.8 and 5.8.9 installed)

2009-03-10 Thread Moritz Onken


Am 10.03.2009 um 11:59 schrieb kakim...@tpg.com.au:



hi , everyone,

 I installed DBIx::Class::TimeStamp  successfully.
I nevertheless have both perl 5.8.8 and 5.8.9 in my machine. I think  
it

was when I ran apt-get on my ubuntu feisty box months ago apt-get
install perl (yes,itchy fingers) and it installed perl 5.8.9.



How did you install TimeStamp?
Try

$ locate TimeStamp.pm


moritz

___
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] command in Catalyst tute part 4 for generating schema files (static creation) using DBIx::Class::TimeStamp needs to be updated

2009-03-10 Thread kakimoto
hi everyone,

 I just followed the tute in 
http://search.cpan.org/~hkclark/Catalyst-Manual-5.7018/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod
to regenerate my schema (model) files to use DBIx::Class::TimeStamp.

I refered to the section Update DBIC to Automatically Handle the
Datetime Columns.

I ran my command following this order, 
script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \
create=static components=TimeStamp dbi:SQLite:myapp.db 

and it fails. I have the latest version of catalyst and all related DBIX
modules installed in my machine.



Running the command above with 'components=TimeStamp' before
'create=static'  worked fine
( ie.

script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \
  components=TimeStamp  create=static  dbi:SQLite:myapp.db 
).



I would suggest for the command in the tutorial to be updated.


thanks 

K. akimoto

___
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] command in Catalyst tute part 4 for generating schema files (static creation) using DBIx::Class::TimeStamp needs to be updated

2009-03-10 Thread kakimoto
Actually scrap that.
I am noticing that no 'Schema' subdirectory has been created hence no
model files were even made.

 I switched the command back to what's in the tute. Here is how it looks
like:


kakim...@moomba-water-fest:~/projects/myApp/script$ ./myApp_create.pl
model myAppDB DBIC::Schema myApp::Schema create=static
components=TimeStamp  
dbi:Pg:dbname=myApp:Username=test_user:Password=password11
 exists /home/kakimoto/projects/myApp/script/../lib/myApp/Model
  exists /home/kakimoto/projects/myApp/script/../t
  DBIx::Class::Schema::Loader::make_schema_at(): DBI Connection failed:
Can't connect to data source 'components=TimeStamp' because I can't work
out what driver to use (it doesn't seem to contain a 'dbi:driver:'
prefix and the DBI_DRIVER env var is not set) at
/usr/local/share/perl/5.8.8/DBIx/Class/Storage/DBI.pm line 839



Guys, any ideas?



Thanks





Quoting kakim...@tpg.com.au:

 hi everyone,
 
  I just followed the tute in 

http://search.cpan.org/~hkclark/Catalyst-Manual-5.7018/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod
 to regenerate my schema (model) files to use DBIx::Class::TimeStamp.
 
 I refered to the section Update DBIC to Automatically Handle the
 Datetime Columns.
 
 I ran my command following this order, 
 script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \
 create=static components=TimeStamp dbi:SQLite:myapp.db 
 
 and it fails. I have the latest version of catalyst and all related
 DBIX
 modules installed in my machine.
 
 
 
 Running the command above with 'components=TimeStamp' before
 'create=static'  worked fine
 ( ie.
 
 script/myapp_create.pl model DB DBIC::Schema MyApp::Schema \
   components=TimeStamp  create=static  dbi:SQLite:myapp.db 
 ).
 
 
 
 I would suggest for the command in the tutorial to be updated.
 
 
 thanks 
 
 K. akimoto
 
 ___
 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] How to save timestamps using DBIx::CLASS?

2009-03-10 Thread kakimoto
hi all,
 I looked at Update DBIC to Automatically Handle the Datetime Columns
in the Catalyst Tute (part 4 - basic CRUD).

Nevertheless, I am running into problems when i run the myapp_create.pl
script.
 Have posted another mail entitled,[Catalyst] command in Catalyst
tute part 4 for generating schema files (static creation) using
DBIx::Class::TimeStamp needs to be updated.



 Keep an eye there. 

thanks



Quoting kakim...@tpg.com.au:

 Hi,
   I added the set_on_create =1 , and set_on_update=1 flags to the
 Schema files generated by the DBIx::Class::Schema::Loader.
 
 Nevertheless, each time I change something on any of the database
 tables, I will have to run
 the model generator (ie. myapp_create.pl model myAppDB DBIC::Schema
 myApp::Schema create=static  dbi:Pg:dbname=test_db  admin
 catalyst-rocks), 
 I will get an error on the model files because the checksum is no
 longer
 matching.
 
 Any idea around that?
 
 thanks
 
 K. akimoto
 
 
 Quoting kakim...@tpg.com.au:
 
  Hello, Kieren!
   Thanks for that. Yeah, I was googling again after I posted the
  previous
  email and I did find DBIx::Class::TimeStamp on cpan.
  
ah,
 
 http://search.cpan.org/perldoc?DBIx::Class::InflateColumn::DateTime
  looks interesting. Just had a glance and will check it out.
  
  
  Cheers!
  
  K. akimoto.
  
  Quoting Kieren Diment kie...@diment.org:
  
   
   On 03/03/2009, at 1:43 PM, kakim...@tpg.com.au wrote:
   
   
hello, everybody (simpsons doctor tone),
   
  How to save timestamps using DBIx::CLASS in a Catalyst app?
   
   
   http://search.cpan.org/dist/DBIx-Class-TimeStamp/
   
   also
  
 
 http://search.cpan.org/perldoc?DBIx::Class::InflateColumn::DateTime
   
   further details in here:
   
   http://search.cpan.org/perldoc?DBIx::Class::Tutorial::Part3
   
  
  ___
  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/
 
 
 




___
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] Problem using Catalyst::Plugin::I18N and Catalyst::Plugin::PageCache

2009-03-10 Thread Jozef Kutej
Larry Leszczynski wrote:
 [debug] $c-languages from auto-detect: [en-us, en, i-default]
(this looks right based on my browser settings)
 
 [debug] $c-language: i_default
(why does it pick i-default instead of en-us or en?)
 
 [debug] Setting language to en...
 [debug] $c-languages: [en]
(this looks right)
 
 [debug] $c-language: i_default
(I expected en here)

$c-languages returns (by default) your browser preferences + i-default. the
$c-language loop through those and tries to find localization files by calling:

my $class = ref $c || $c;
my $lang = ref $class\::I18N-get_handle( @{ $c-languages } );

which should be get_handle of http://search.cpan.org/perldoc?Locale::Maketext

do you have MyApp/I18N/en.po or friends?

cheers,
jozef

___
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] Problem using Catalyst::Plugin::I18N and Catalyst::Plugin::PageCache

2009-03-10 Thread Larry Leszczynski
Hi Jozef -

  [debug] $c-languages from auto-detect: [en-us, en, i-default]
 (this looks right based on my browser settings)
  
  [debug] $c-language: i_default
 (why does it pick i-default instead of en-us or en?)
  
  [debug] Setting language to en...
  [debug] $c-languages: [en]
 (this looks right)
  
  [debug] $c-language: i_default
 (I expected en here)
 
 $c-languages returns (by default) your browser preferences +
 i-default. the
 $c-language loop through those and tries to find localization files by
 calling:
 
 my $class = ref $c || $c;
 my $lang = ref $class\::I18N-get_handle( @{ $c-languages } );
 
 which should be get_handle of
 http://search.cpan.org/perldoc?Locale::Maketext
 
 do you have MyApp/I18N/en.po or friends?
 
 cheers,
 jozef

Thanks for following up - it turned out my problem was related to
mismatched names on my MyApp/I18N/*.pm files and their corrresponding
package names.  I was using e.g. MyApp::I18N::en_GB but
Catalyst::Plugin::I18N was looking for MyApp::I18N::en_gb.

Thanks,
Larry

___
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] Catalyst::Plugin::Captcha

2009-03-10 Thread Emmanuel Quevillon
Hi list,

I am trying to use C::P::Captcha. It woks like a charm generating
the captcha.
However, the text generated in the png/jpeg captcha image is so tiny
that I can't even decode it as a human being.
I checked the doc and also the one from GD::SecurityImage from where
the plugin is derived from
but I've been unable to find an option to control the text size
inside the image.
Has anybody a hint or clue?

Thanks in advance

Manu
-- 
-
Emmanuel Quevillon
Biological Software and Databases Group
Institut Pasteur
+33 1 44 38 95 98
tuco at_ pasteur dot fr
-

___
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::Plugin::Captcha

2009-03-10 Thread Octavian Râsnita

From: Emmanuel Quevillon t...@pasteur.fr

Hi list,

I am trying to use C::P::Captcha. It woks like a charm generating
the captcha.
However, the text generated in the png/jpeg captcha image is so tiny
that I can't even decode it as a human being.


Better use Catalyst::Controller::HTML::FormFu. You can easy add reCAPTCHA 
with it.


reCAPTCHA also creates an audio file so more human beeings would be able to 
pass it.


Catalyst::Plugin::Captcha considers the blind users that use a screen reader 
as beeing non human.


Octavian 



___
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::Plugin::Captcha

2009-03-10 Thread Emmanuel Quevillon
Octavian Râsnita wrote:
 From: Emmanuel Quevillon t...@pasteur.fr

 Better use Catalyst::Controller::HTML::FormFu. You can easy add
 reCAPTCHA with it.
 
 reCAPTCHA also creates an audio file so more human beeings would be able
 to pass it.

Sure, but reCAPTCHA needs that you regsiter to get an api key from
their web site. I wanted to use C::P::Captcha because it does not
require that kind of thing.


-- 
-
Emmanuel Quevillon
Biological Software and Databases Group
Institut Pasteur
+33 1 44 38 95 98
tuco at_ pasteur dot fr
-

___
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] reconnecting the DB model using a different DB account

2009-03-10 Thread Karl Forner
Hi all,

I'm trying to use DB authentication and afterwards using the DB user account
for subsequent DB queries.
To do so, in the Root::auto method, if the DB model is already connected
with another DB account, I disconnect it and try to reconnect it with
the new user and password.

I disconnect as follows :
$c-model('DB')-storage-disconnect

and I reconnect like this:
$c-model('DB')-storage-connect_info($current_connect_info);
$c-model('DB')-storage-ensure_connected;

The problem is that I get error messages
[error] DBIx::Class::Storage::DBI::ensure_connected(): DBI Connection
failed: ERROR OCIEnvNlsCreate. Check ORACLE_HOME (Linux) env var  or PATH
(Windows) and or NLS settings, permissions, etc.

I have tried using directly the DBI dbh but with the same results.

Thanks for helping
___
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/


[Catalyst] Example of a simple repeatable field and button

2009-03-10 Thread Florent Angly

Hi list,

I have created a small Catalyst webapp that uses a form that is based on 
a FormFu YML configuration file. I would like to have some repeatable 
fields, along with a button to click in order generate more of these 
fields on the fly.


I have read the Catalyst tutorial, the FormFu documentation, and I have 
some basic repeatable fields, but I seem to have problem with the logic 
of how to generate more repetitions of these fields from the 
webinterface. I don't even know if using a button is the most elegant, 
recommended way.


So... if someone could post a simple example of that, it would be great!

Thanks,

Florent

___
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 Mesdaq, Ali
I have used it pretty heavily in the past and been happy with it. I am not sure 
if the geo-location stuff in the way you want to use it will be successful 
however since I have not used it for those purposes. So the problem your 
experiencing is what exactly? Automated signups or manual signups that get 
abused in other ways? 

-Original Message-
From: Andy Dorman [mailto:ador...@ironicdesign.com] 
Sent: Tuesday, March 10, 2009 7:08 AM
To: The elegant MVC web framework
Subject: [Catalyst] Thoughts On GeoIP Modules?

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.

Any prior experiences from this group with any product out there would be 
welcome.

We will be happy to report our success (or lack of) back to the group as soon 
as 
we know something.

Thank you,

-- 
Andy Dorman
Ironic Design, Inc.
AnteSpam.com, HomeFreeMail.com, ComeHome.net

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


 Protected by Websense Hosted Email Security -- www.websense.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/


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

2009-03-10 Thread kakimoto
hello, David :)

  yep I do know that things like FormFu and FormBuilder are good but for
Perl people who maintain existing applications that have not ever
touched these form packages and Catalyst, it seems like a whole new
world . Add the requirement to get a prototype up pretty soon, and the
learnign curve really turns them off.
 What I think is needed is a good tute on how to use Form fu in catalyst
for applications that are not so simple (ie not just any basic blog
application). Something closer to the real world.


anyway, thanks for your  http://visualjquery.com/ link. Will hop to it!


K. akimoto



Quoting David Morel dmore...@gmail.com:

 
 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/
 
 
 




___
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 Mesdaq, Ali
Not sure if this is even relevant anymore to this discussion but maybe this 
will help
http://www.catalystframework.org/calendar/2008/24


-Original Message-
From: kakim...@tpg.com.au [mailto:kakim...@tpg.com.au] 
Sent: Thursday, March 05, 2009 9:44 PM
To: The elegant MVC web framework
Subject: [Catalyst] Catalyst - any good AJAX tutes?

hello there,

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

thanks.

K. akimoto


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


 Protected by Websense Hosted Email Security -- www.websense.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/


RE: [Catalyst] Example of a simple repeatable field and button

2009-03-10 Thread Mesdaq, Ali
Might help might be overkill
http://www.catalystframework.org/calendar/2008/24


-Original Message-
From: Florent Angly [mailto:florent.an...@gmail.com] 
Sent: Tuesday, March 10, 2009 2:55 PM
To: The elegant MVC web framework
Subject: [Catalyst] Example of a simple repeatable field and button

Hi list,

I have created a small Catalyst webapp that uses a form that is based on 
a FormFu YML configuration file. I would like to have some repeatable 
fields, along with a button to click in order generate more of these 
fields on the fly.

I have read the Catalyst tutorial, the FormFu documentation, and I have 
some basic repeatable fields, but I seem to have problem with the logic 
of how to generate more repetitions of these fields from the 
webinterface. I don't even know if using a button is the most elegant, 
recommended way.

So... if someone could post a simple example of that, it would be great!

Thanks,

Florent

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


 Protected by Websense Hosted Email Security -- www.websense.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/


Re: [Catalyst] CatalystX::ListFramework::Builder warnings

2009-03-10 Thread Oliver Gorwits
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Dermot wrote:
 Calling $c-model() will return a random model unless you specify
 one of: * $c-config-{default_model} # the name of the default
 model to use * $c-stash-{current_model} # the name of the model
 to use for this request NB: in version 5.80, the random
 behavior will not work at all. at
 /usr/lib/perl5/site_perl/5.8.6/CatalystX/ListFramework/Builder/Model/Metadata.pm
  line 71
 
 It not fatal, but I thought I might mention it. Dp.

Thanks Dermot - I'll bounce this and your other LFB-related email to
rt.cpan if that's okay, then I have a reminder to squash the bugs.

- --
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJtuxh2NPq7pwWBt4RApe0AKC7cbiZnAQ7pLhDa+RxnHnKfykiiwCfcoLV
V429Z1HvsnQqoAtUFG1jesk=
=MTJQ
-END PGP 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/