Re: [Catalyst] Where best to store database connection information?

2015-02-17 Thread abhishek jain
Hi,

 

>>But this seems a bit of a security
>>problem having the main password in a text file like this,
>>especially if it goes into git.

 

 

What i do is i will modify the password on production manually and successive 
update / pull will not modify the password,  and i will also not commit the 
change in git / svn. Barring this config change it is a bad habbit to modify 
anything on production, Let me know if someone disagrees.

 

Also  in case you need a solution where the config file is password protected 
not a part of main repository then you will need external svn repo i guess (in 
case of svn ) , might be a better svn / repo config question. 

Thanks

Abhishek 

 

 

___
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] All actions marked as Private and are being ignored

2012-04-02 Thread abhishek jain
Hi Kieren,

I just found if in auto action I add 
1;
Add end of code, the code works fine and the requested action is executed
If i don't return  a value , the code ignores the requested action and end
action is called.

Don't know why, any suggestions,
So
sub auto : Private {
#...

1;
}
Works fine

And 

sub auto : Private {
...
}
Fails.

Thanks
Abhi 


-Original Message-
From: Kieren Diment [mailto:dim...@gmail.com] 
Sent: 02 April 2012 11:55
To: The elegant MVC web framework
Subject: Re: [Catalyst] All actions marked as Private and are being ignored



On 02/04/2012, at 4:18 PM, abhishek jain wrote:

> Hi,
> 
> I am finding a strange situation. 
> 
> If i restart my catalyst application,i find in debug messages, all of 
> my actions are marked as Private.
> 
> Also if i execute the code, then it will execute the auto and end 
> functions and bypasses the called action.
> 
> 
> 
> Ie. If i call /search . It will run auto, end and will ignore search
action.
> 
> 
> 
> Dont know why,
> 
> What info will you guys need from me to help me?


Why don't you try to write a minimal test case demonstrating your problem?
Is this with the dev server?  Is it with some front end deployment?
___
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] All actions marked as Private and are being ignored

2012-04-01 Thread abhishek jain
Hi,

I am finding a strange situation. 

If i restart my catalyst application,i find in debug messages, all of my
actions are marked as Private.

Also if i execute the code, then it will execute the auto and end functions
and bypasses the called action.

 

Ie. If i call /search . It will run auto, end and will ignore search action.

 

Dont know why,

What info will you guys need from me to help me?

 

Thanks,

abhi

 

 

___
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] Advance tutorial for catalyst

2012-03-26 Thread abhishek jain
Also, get involved in a catalyst project, if you are up for delhi.pm site
wiki let me know,

 

Thanks

Abhi 

 

From: Chankey Pathak [mailto:chankey...@gmail.com] 
Sent: 27 March 2012 00:00
To: The elegant MVC web framework
Subject: Re: [Catalyst] Advance tutorial for catalyst

 

Roger!

On Mon, Mar 26, 2012 at 11:57 PM, Devin Austin 
wrote:

IRC

On Mon, Mar 26, 2012 at 11:12 AM, Chankey Pathak 
wrote:
> I have finished cpan tutorial for catalyst and 'The definite guide to
> Catalyst'.
>
> I want to go more advance and learn more stuff.
>
> Can anyone refer me some resources to learn advance catalyst?
>
> Thanks :)
>
> --
> Regards,
> Chankey Pathak
>
>
> ___
> 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/
>



--
Devin Austin
http://www.dhoss.net
9702906669 - Cell

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





 

-- 
Regards,

Chankey Pathak  

 

___
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::Controller::HTML::FormFu

2011-10-18 Thread abhishek jain
Hi,
Is there  a way i can add each individual form fields within an  tag.
i am talking about some configuration in the yaml config file for
Catalyst::Controller::HTML::FormFu

Pl. reply , i need help urgently

-- 
Thanks and kind Regards,
Abhishek jain
___
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] Error is not structured and friendly

2009-05-19 Thread abhishek jain
Hi,
I am using catalyst, during development, i can see that i view some errors
in the code developed,
The error is like:

Caught exception in MyApp::Controller::US->view "
no element found at line 1, column 0, byte -1 at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm
line 187"


Can there be a better error message which shows me a better o/p and what
exactly the error is.

-- 
Thanks and kind Regards,
Abhishek jain
___
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] Eclipse and Catalyst

2009-04-13 Thread abhishek jain
On Mon, Apr 13, 2009 at 1:25 PM, Rodrigo  wrote:

>
>
> On Mon, Apr 13, 2009 at 9:43 AM, abhishek jain  > wrote:
>
>> Has anyone used Eclipse or any other IDE.Can someone guide me in some
>> steps how can i use Eclipse as an ide for Catalyst application?
>> Pl. help.
>> Early replies will be appreciated.
>>
>
> Have you installed the EPIC plugin? I think that's the first step.
>
> -rodrigo
>
> Thanks a lot for replying
yes i have installed EPIC , but i am on windows, i need to issue catalyst.pl
command and I am not sure how can Eclipse do that for me.Do i need Linux for
that, what and how to proceed after EPIC is installed, i have seen EPIC
userguide but it didnt helped me either.
Thanks
abhishek
___
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] Eclipse and Catalyst

2009-04-13 Thread abhishek jain
Has anyone used Eclipse or any other IDE.Can someone guide me in some steps
how can i use Eclipse as an ide for Catalyst application?
Pl. help.
Early replies will be appreciated.
-- 
Thanks and kind Regards,
Abhishek jain
___
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] FormBuilder not working

2009-01-29 Thread abhishek jain
On Sun, Sep 28, 2008 at 12:23 AM, abhishek jain
wrote:

>
>>>
>>>  For example I do something like this for a radio button
>>  lang_publish:
>>   label: Publish
>>   options: Y=Yes, N=No
>>   value: N
>>   required: 1
>>
>> For a select like you want it should be
>>  lang_publish:
>>  label: Publish
>>  options: Y=Yes,N=No
>>  type: select
>>  required: 1
>>
>> also youcan add the multiple attribute to specify if more than one can be
>> selected
>>
>> Hope this helps
>>
>
> Thanks a lot for the info,What if i have comma (,) as a part  of the
> value,
> I am not framing questions it is a part of the requirement and i am not
> finding anything on net.
> Also someone told me formbuilder is not supported much anymore and one
> should use FormFu, is it true?
> Pl. someone reply,
> --
> Thanks and kind Regards,
> Abhishek jain
>
>

someone pl. reply , what i need to do if i need to add commas in value of
the select dropdown while using Formbuilder.and what is better Formbuilder
or FormFu
-- 
Thanks and kind Regards,
Abhishek jain
___
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] [Commercial] any one from Delhi / Noida / Gurgaon - India

2009-01-27 Thread abhishek jain
Hi,I am looking for the services of a catalyst developer in Delhi / Noida /
Gurgaon in India.
Pl. let me know your contact details etc. offline if interested.

-- 
Thanks and kind Regards,
Abhishek jain
___
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] FormBuilder not working

2008-09-27 Thread abhishek jain
>
>
>>
>>  For example I do something like this for a radio button
>  lang_publish:
>   label: Publish
>   options: Y=Yes, N=No
>   value: N
>   required: 1
>
> For a select like you want it should be
>  lang_publish:
>  label: Publish
>  options: Y=Yes,N=No
>  type: select
>  required: 1
>
> also youcan add the multiple attribute to specify if more than one can be
> selected
>
> Hope this helps
>

Thanks a lot for the info,What if i have comma (,) as a part  of the value,
I am not framing questions it is a part of the requirement and i am not
finding anything on net.
Also someone told me formbuilder is not supported much anymore and one
should use FormFu, is it true?
Pl. someone reply,
-- 
Thanks and kind Regards,
Abhishek jain
___
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] FormBuilder not working

2008-09-25 Thread abhishek jain
>
>
>>>> That problem is solved , i have yet another one,
> In my form definition i am writing the following:
>
> name: search
> method: post
> fields:
> dom:
> label: Dom
> type: text
> size: 30
> required: 1
> ext:
> label: Ext
> type: select
> required: 1
> fieldopts:
> ext:
> options:
> id1
> val1
> id2
> val2
>
>
> I need a select option box with the id1 and id2 as option  and val1 and
> val2 as values.
>
> I am not sure how to do so,
> Also where to get help if the next problem arises,
> Pl. help.
> --
> Thanks and kind Regards,
> Abhishek jain
>


Someone pl. reply, Thank,
 abhi
___
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] Re: Two Forms via FormBuilder on one page

2008-09-22 Thread abhishek jain
On Sun, Sep 21, 2008 at 11:29 PM, abhishek jain
<[EMAIL PROTECTED]>wrote:

> Hi Friends,i know it may be silly to ask, but i need to have two forms on
> one page, i know Catalyst recognizes by the name of the function which form
> file to render but is there a way to render two files one after the another,
> also each going to a diff subroutine in catalyst in other words specifying
> the action as well,
> Pl. help.
>
> --
> Thanks and kind Regards,
> Abhishek jain
>
>

Someone pl. reply,
-- 
Thanks and kind Regards,
Abhishek jain
___
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] Two Forms via FormBuilder on one page

2008-09-21 Thread abhishek jain
Hi Friends,i know it may be silly to ask, but i need to have two forms on
one page, i know Catalyst recognizes by the name of the function which form
file to render but is there a way to render two files one after the another,
also each going to a diff subroutine in catalyst in other words specifying
the action as well,
Pl. help.

-- 
Thanks and kind Regards,
Abhishek jain
___
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] FormBuilder not working

2008-09-20 Thread abhishek jain
On Sat, Sep 20, 2008 at 1:12 PM, abhishek jain
<[EMAIL PROTECTED]>wrote:

>
>
> On Sat, Sep 20, 2008 at 12:28 PM, Hani Anani <[EMAIL PROTECTED]> wrote:
>
>> Hello Abhishek,
>>
>> I suspect the problem is with the naming of your files and dir structure.
>>
>> If search2 method is in the Project module you will need to do the
>> following:
>>
>> 1. create a project sub dir in your root/forms dir
>> 2. move your form definition file to the root/forms/project/search2.fb
>> 3. Your template should be defined in root/project/search.tt2 you specify
>> this in your code
>>  $c->stash->{template} = 'project/search2.tt2';
>>  This is unecessary since Catalyst does this for you.
>>
>> I do have to say I am a little confused, cause you refer to
>> root/src/search2.tt2 at the start of the email, in that case you might just
>> need to rename your form file to search2.fb to match you method's name.
>>
>> Hope this helps you figure out what went wrong,
>> -Hani
>>
>> On Fri, Sep 19, 2008 at 11:31 PM, abhishek jain <
>> [EMAIL PROTECTED]> wrote:
>>
>>> Hello Friends,I am new to Catalyst and need to implement FormBuilder.
>>> What i am doing is:
>>> a template called root/src/search2.tt2 with the following content;
>>>
>>> [% META title = "Edit a person" %]
>>> [% FormBuilder.render %]
>>>
>>> a form script on root/forms/search.db
>>>
>>> in controller i have the following function
>>>
>>> sub search2 : Local Form {
>>> my ( $self, $c ) = @_;
>>> $c->stash->{template} = 'project/search2.tt2';
>>> }
>>>
>>> Do I need to do anything extra, i can get a page but without the form.
>>> Pl.help.
>>> --
>>> Thanks and kind Regards,
>>> Abhishek jain
>>>
>>> __
>>
>>
That problem is solved , i have yet another one,
In my form definition i am writing the following:

name: search
method: post
fields:
dom:
label: Dom
type: text
size: 30
required: 1
ext:
label: Ext
    type: select
required: 1
fieldopts:
ext:
options:
id1
val1
id2
val2


I need a select option box with the id1 and id2 as option  and val1 and val2
as values.

I am not sure how to do so,
Also where to get help if the next problem arises,
Pl. help.
-- 
Thanks and kind Regards,
Abhishek jain
___
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] FormBuilder not working

2008-09-20 Thread abhishek jain
On Sat, Sep 20, 2008 at 12:28 PM, Hani Anani <[EMAIL PROTECTED]> wrote:

> Hello Abhishek,
>
> I suspect the problem is with the naming of your files and dir structure.
>
> If search2 method is in the Project module you will need to do the
> following:
>
> 1. create a project sub dir in your root/forms dir
> 2. move your form definition file to the root/forms/project/search2.fb
> 3. Your template should be defined in root/project/search.tt2 you specify
> this in your code
>  $c->stash->{template} = 'project/search2.tt2';
> This is unecessary since Catalyst does this for you.
>
> I do have to say I am a little confused, cause you refer to
> root/src/search2.tt2 at the start of the email, in that case you might just
> need to rename your form file to search2.fb to match you method's name.
>
> Hope this helps you figure out what went wrong,
> -Hani
>
> On Fri, Sep 19, 2008 at 11:31 PM, abhishek jain <
> [EMAIL PROTECTED]> wrote:
>
>> Hello Friends,I am new to Catalyst and need to implement FormBuilder.
>> What i am doing is:
>> a template called root/src/search2.tt2 with the following content;
>>
>> [% META title = "Edit a person" %]
>> [% FormBuilder.render %]
>>
>> a form script on root/forms/search.db
>>
>> in controller i have the following function
>>
>> sub search2 : Local Form {
>> my ( $self, $c ) = @_;
>> $c->stash->{template} = 'project/search2.tt2';
>> }
>>
>> Do I need to do anything extra, i can get a page but without the form.
>> Pl.help.
>> --
>> Thanks and kind Regards,
>> Abhishek jain
>>
>> ___
>> 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/
>
>

Thanks for the fast reply,The problem is solved
-- 
Thanks and kind Regards,
Abhishek jain
___
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] FormBuilder not working

2008-09-19 Thread abhishek jain
Hello Friends,I am new to Catalyst and need to implement FormBuilder.
What i am doing is:
a template called root/src/search2.tt2 with the following content;

[% META title = "Edit a person" %]
[% FormBuilder.render %]

a form script on root/forms/search.db

in controller i have the following function

sub search2 : Local Form {
my ( $self, $c ) = @_;
$c->stash->{template} = 'project/search2.tt2';
}

Do I need to do anything extra, i can get a page but without the form.
Pl.help.
-- 
Thanks and kind Regards,
Abhishek jain
___
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/