RE: [Catalyst] long poll AJAX

2011-06-07 Thread Mesdaq, Ali
Aha! My configuration was on Apache so that's why I wasn't seeing the same behavior. Good to know the --fork option I always assumed it was forking. Thanks, ALI MESDAQ Sr. Security Researcher WEBSENSE, INC. ph: +1.858.320.9466 fax: +1.858.784.4466 www.websense.com Websense TRITONT For Essential

RE: [Catalyst] long poll AJAX

2011-06-07 Thread Mesdaq, Ali
Are you sure it's a Catalyst issue? Sounds like it could be a JS issue with your script waiting for responses before moving on to the rest of the ajax calls. Are you using any JS frameworks? A good test could be you create a stub method in catalyst with different wait periods and verify that you

RE: [Catalyst] live demos of catalyst apps

2011-04-28 Thread Mesdaq, Ali
goToMeeting is great for interactive two way demo's and it's easy to pass control back and forth between different presenters. goToWebinar is also available if you want more of a one to many type of demo. goToMeeting is especially good for situations where the live demo of a site is unavailable

RE: [Catalyst] What text editor to use?

2011-04-13 Thread Mesdaq, Ali
Try the full version of Komodo. It understands tt files by default. It's been great to me the past few years. I can't imagine working in a heavy perl/catalyst environment without it. -Original Message- From: John M. Dlugosz [mailto:wxju46g...@snkmail.com] Sent: Wednesday, April 13, 2011

[Catalyst] AutoCrud suggestions

2011-04-01 Thread Mesdaq, Ali
I am looking for suggestions of packages that do autocrud'ing. I have a very basic schema with 1 main table that I want to edit more than add anything to it. Ideally I would like to be able to filter based on various values and sort by values as well. I saw a bunch of packages that seemed like t

RE: [Catalyst] What text editor to use?

2011-03-03 Thread Mesdaq, Ali
: [Catalyst] What text editor to use? On 3/3/2011 9:24 AM, Cliff Green green-at-umdnj.edu |Catalyst/Allow to home| wrote: > On 3/3/2011 9:27 AM, Mesdaq, Ali wrote: >> I have been using Komodo for years and its the best Perl editor I >> have found. > I wondered if anyone was going

RE: [Catalyst] What text editor to use?

2011-03-03 Thread Mesdaq, Ali
I have been using Komodo for years and its the best Perl editor I have found. Not just perl it understands everything I have thrown at it and has a lot of perl specific features. It also integrates into various source control management systems like svn, p4, git, etc. The only thing is that its

RE: [Catalyst] Ajax Problem.

2011-01-05 Thread Mesdaq, Ali
I recommend testing this using Firefox with Firebug enabled so you can watch the AJAX request and you can also print to the console to see what your response looks like to make sure it’s what you’re expecting console.log(xmlhttp.responseText); document.getElementById("data").innerHTML=xmlhttp.re

RE: [Catalyst] receiving form-elements in sequence...?

2010-12-27 Thread Mesdaq, Ali
Looks like there is no method to do this from what I can tell but if you really needed to do it this way you could probably just de-serialize it yourself by looking at the raw content with $c->req->body http://search.cpan.org/~bobtfish/Catalyst-Runtime-5.80029/lib/Catalyst/Request.pm#$req-%3Ebod

RE: [Catalyst] Overriding Catalyst::View::TT WRAPPER

2010-11-30 Thread Mesdaq, Ali
n mailto:samuel.c.kauf...@gmail.com>> wrote: I've found the easiest way is to have some logic in your wrapper: something like this: [% IF no_wrapper; content; ELSE; content WRAPPER site/html + site/layout; END; %] so $c->stash(no_wrapper => 1) and it won't be wrapped. -Sam

[Catalyst] Overriding Catalyst::View::TT WRAPPER

2010-11-29 Thread Mesdaq, Ali
Hey Everyone, Got a question about how I can override my application's TT wrapper. The closest thing I found was http://search.cpan.org/~abraxxa/Catalyst-View-TT-0.36/lib/Catalyst/View/TT.pm#CONFIGURATION . But what I am trying to do is basically have the wrapper turned off for a specific publ

RE: [Catalyst] Weird error with View::JSON

2010-09-08 Thread Mesdaq, Ali
...@bobtfish.net] Sent: Tuesday, September 07, 2010 7:16 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Weird error with View::JSON On 7 Sep 2010, at 17:42, Mesdaq, Ali wrote: > I am getting a weird error when I start/restart my catalyst server. > The error does not seem

RE: [Catalyst] Weird error with View::JSON

2010-09-07 Thread Mesdaq, Ali
in.aus...@gmail.com] Sent: Tuesday, September 07, 2010 11:17 AM To: The elegant MVC web framework Subject: Re: [Catalyst] Weird error with View::JSON On Tue, Sep 7, 2010 at 12:10 PM, Mesdaq, Ali mailto:ames...@websense.com>> wrote: package web::View::JSON; use strict; use warnings; use pare

RE: [Catalyst] Weird error with View::JSON

2010-09-07 Thread Mesdaq, Ali
uritylabs.com/> -- From: Devin Austin [mailto:devin.aus...@gmail.com] Sent: Tuesday, September 07, 2010 10:52 AM To: The elegant MVC web framework Subject: Re: [Catalyst] Weird error with View::JSON On Tue, Sep 7, 2010 at 10:42 AM, Mesdaq, Ali mailto:ames

[Catalyst] Weird error with View::JSON

2010-09-07 Thread Mesdaq, Ali
Hey all, I am getting a weird error when I start/restart my catalyst server. The error does not seem to be stopping anything from working from what I can tell. This is the error: Tried to write to the catalyst_component_name accessor - is your component broken or just mad? (Write ignored - usin

RE: [Catalyst] Alternatives to Catalyst ?

2010-04-21 Thread Mesdaq, Ali
I'm sure the developers are open to hearing your ideas for optimization and performance improvements. Thanks, -- Ali Mesdaq (CISSP, GIAC-GREM) Sr. Security Researcher Websense Security Labs http://www.WebsenseSecurityLabs.com --

RE: [Catalyst] Views and escaping HTML

2010-04-01 Thread Mesdaq, Ali
elegant MVC web framework Subject: Re: [Catalyst] Views and escaping HTML On Thu, Apr 1, 2010 at 10:27 AM, Mesdaq, Ali wrote: > You prefer global escaping to escaping in the template? I use the TT plugin > for escaping > > [% USE HTML %] > [% HTML.escape(needs.escaping) %] > &g

RE: [Catalyst] Views and escaping HTML

2010-04-01 Thread Mesdaq, Ali
You prefer global escaping to escaping in the template? I use the TT plugin for escaping [% USE HTML %] [% HTML.escape(needs.escaping) %] An idea that might work for you would be if you structure your data in the stash and create your templates generically looking for data in specific stash lo

RE: [Catalyst] using uri_for to parsing parameters

2010-03-18 Thread Mesdaq, Ali
“so how do I parse the $book_id if I don't want to hard code the URL.” I am a little confused by that statement. What do you mean parse $book_id you already know the book_id. Are you basically trying to redirect the user back to the URL they came from? Thanks, --

RE: [Catalyst] Best practices: XML output from static XML

2010-03-05 Thread Mesdaq, Ali
ecurityLabs.com -- -Original Message- From: J. Shirley [mailto:jshir...@gmail.com] Sent: Friday, March 05, 2010 12:20 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Best practices: XML output from static XML On Fri, Mar 5, 2010 at 11:31 AM, Mesdaq, Ali wrote: > To m

RE: [Catalyst] Best practices: XML output from static XML

2010-03-05 Thread Mesdaq, Ali
under MVC model, I thought that a best practice would be to use a view module although in this case, obiously, the view task is insignificant. David De: "Mesdaq, Ali" Para: The elegant MVC web framework Enviado: vie,5 marzo, 2010 19:04 Asunto: RE:

RE: [Catalyst] Best practices: XML output from static XML

2010-03-05 Thread Mesdaq, Ali
Maybe I am missing something but why is a view needed? If you are serving up a static file and its xml why don’t you just serve that file statically based on path? Is the header content-type not getting set properly for that file? Thanks, -- Ali Mesdaq (CI

RE: [Catalyst] determine MIME type of binary Webservice result?

2010-01-19 Thread Mesdaq, Ali
To do in memory matches I use File::LibMagic on ubuntu box with the latest lib magic library installed. my $libm = File::LibMagic->new(); my $mtype = $libm->checktype_contents($content); There is also a method for getting Thanks, -- Ali Mesdaq (CISSP, GIA

RE: [Catalyst] Re: Debian recommendation

2009-10-28 Thread Mesdaq, Ali
I agree. You will only really feel the pain once there are several servers (or several people managing servers) not counting a dev server. Plus it also deals with scenarios where your software is built using some version of a perl module and your next release of the software is using the newer

RE: [Catalyst] Re: Deployment in practice

2009-10-09 Thread Mesdaq, Ali
:19 PM To: The elegant MVC web framework Subject: [Catalyst] Re: Deployment in practice >>>>> "MA" == Mesdaq, Ali writes: MA> Once it passes the tests the code can be merged into the MA> production branch and will auto deploy. That's a great solution un

RE: [Catalyst] Deployment in practice

2009-10-09 Thread Mesdaq, Ali
I will second this recommendation or something similar to this. It’s a lot easier when you have two branches that serve very specific purposes. One branch is production code and that can be sync’d every few minutes with whatever source control system and with a script similar to the one J Shirle

RE: [Catalyst] website member urls

2009-04-29 Thread Mesdaq, Ali
Couldn’t you do something with the default method in the root controller? So similar to what others suggested except you would modify the default method so that if the user doesn’t exist you can 404 and have some kind of message. Thanks, -- Ali Mesdaq (CIS

RE: [Catalyst] Catalyst-Ajax-Mochikit - followed tute but am stuck. Cannot show values in view(webpage)

2009-04-15 Thread Mesdaq, Ali
Hello, I am the one who wrote that article sorry if it wasn’t clear enough to help you out here. Looking at the code you pasted I see a few places where I think the issue might be. In your subscriptions_quote.js file you don’t have the price element defined like in my example. What you need is

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 butt

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 Subj

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 th

RE: [Catalyst] One App, multiple databases

2008-11-19 Thread Mesdaq, Ali
Are these db's exact copies as far as schema from each other? Or is it different tables and structure as well? Reason I am asking is because if its exactly the same and all your queries work the same and your logic works the same as well and the only difference is if user1 is connected then co

RE: [Catalyst] [META] Advent calendar

2008-11-12 Thread Mesdaq, Ali
I volunteer to write an article on Catalyst + Mochikit + JSON to build AJAX Web Apps. I can probably only do a simple example to get people started don’t have enough free time to write an in-depth article. If any of the Advent Calendar organizers want me to write it just contact me and we can di

[Catalyst] Full Time Senior Developer (Mostly PERL)

2008-10-23 Thread Mesdaq, Ali
Everyone, Just wanted to post a link to a job posting we have at Websense in the Security Labs Department that might be really interesting to some on the list. I won't go into details but if you're interested visit the URL to see all the details and email me directly. https://websense.hodesiq.

RE: [Catalyst] A suitable method to redraw a page

2008-09-23 Thread Mesdaq, Ali
I think ajax would be your friend here. You could just make an ajax call to some function to check the status of the file copies and then update the DOM directly instead of refreshing the whole page. Or the actual call to start the copy can be made via ajax instead of the call to check the statu

RE: [Catalyst] Help! Need help deploying app to Apache

2008-09-17 Thread Mesdaq, Ali
Did you try also looking at the apache error log? Might have useful information in there about file paths or permissions Thanks, -- Ali Mesdaq (CISSP, GIAC-GREM) Sr. Security Researcher Websense Security Labs http://www.WebsenseSecurityLabs.com

RE: [Catalyst] method to repeatedly submit form

2008-07-10 Thread Mesdaq, Ali
ethod to repeatedly submit form 2008/7/9 Mesdaq, Ali <[EMAIL PROTECTED]>: > Just to better understand what your trying to do. Are you saying you > want to display records and only the records that are selected you want > to be passed to the other db? Yes in part that correct. Howe

RE: [Catalyst] method to repeatedly submit form

2008-07-09 Thread Mesdaq, Ali
Just to better understand what your trying to do. Are you saying you want to display records and only the records that are selected you want to be passed to the other db? Thanks, -- Ali Mesdaq (CISSP, GIAC-GREM) Security Researcher II Websense Security Labs

RE: [Catalyst] XPath, DOM problem

2008-07-09 Thread Mesdaq, Ali
I agree. Using XML::LibXML and the built in xpath queries would be a much better option. Also you probably definitely want to just pass a data structure to your template that is better suited for processing i.e. plain array or array of hash of name value pairs. Another option if your xml is stru

RE: [Dbix-class] Re: [Catalyst] untainting utf8 text for db

2008-06-06 Thread Mesdaq, Ali
No escape sequence should get through if you reject any characters outside of the allowed characters. For example you could just reject the input and prompt for another input if this regex matches (?:[^a-zA-Z0-9 _]+) So escape sequences shouldn't affect this test. Thanks, -

RE: [Catalyst] untainting utf8 text for db

2008-06-05 Thread Mesdaq, Ali
I inquired about this myself a few months ago. Consensus if I remember correctly was that DBIC gives you some safety in that it uses place holders but that does not mean your protected fully from bad input or malicious abuse of that parameter. I personally like having input meet specific requiremen

[Catalyst] UTF-8 Conversion on the fly

2008-05-23 Thread Mesdaq, Ali
Hello Everyone, Got a question about utf8 conversions on the fly. I was wondering if anyone had experience and some pointers of good practices for taking a webpage thats stored as a blob in mysql then serving that page after its been converted to utf8. Right now the way this is implemented is conv

RE: [Catalyst] So, what do we want in the -next- book?

2008-03-27 Thread Mesdaq, Ali
I think there needs to be a balance. Free software is free so that already is a big bonus for us as a consumer of the software. Then having the software be open source is another big bonus. Then having documentation that is free is another big plus. Paying for a book that someone put time into s

RE: [Catalyst] external javascript files

2008-03-24 Thread Mesdaq, Ali
I think in your case it would be /src/myjavascript.js Thanks, -- Ali Mesdaq (CISSP, GIAC-GREM) Security Researcher II Websense Security Labs http://www.WebsenseSecurityLabs.com -- -Original Message- From: Je

RE: [Catalyst] Problem Using Jemplate

2008-03-21 Thread Mesdaq, Ali
I think you have to specify the view in some cases. I know I had to do that for JSON views like this. # At the end of the controller method $c->stash->{current_view} = 'JSON'; Maybe jtemplate becomes the default. Are you specifying a TT template by the way? Thanks, -

RE: [Catalyst] implementing ajax

2008-03-12 Thread Mesdaq, Ali
PROTECTED] Sent: Wednesday, March 12, 2008 6:48 AM To: The elegant MVC web framework Subject: RE: [Catalyst] implementing ajax I'm going to have to be the red-headed stepchild that advocates XML... > -Original Message----- > From: Mesdaq, Ali [mailto:[EMAIL PROTECTED] > Sent: Tuesday

RE: [Catalyst] implementing ajax

2008-03-11 Thread Mesdaq, Ali
: Re: [Catalyst] implementing ajax Hi Ali Thanks for your suggestions. I was a little reluctant to explor JSON because I didn't find the cpan documentation or catalyst book being sufficient. Being that this application is my first with catalyst, I wanted to tackle one thing at time. Catalyst fi

RE: [Catalyst] implementing ajax

2008-03-11 Thread Mesdaq, Ali
Jennifer, Are you sure you want to stick with this route? Looks like your going to make a lot of work for yourself. I would hate to see the js code to make xml. Use the js code to just post the values you want read those values in with something like $c->request->params->{whatever} in your control

RE: [Catalyst] The home page, the wiki and the mailing list

2008-03-07 Thread Mesdaq, Ali
Do you really think people are going to list their projects for their internal tools and portals on a public website? Yes the wiki is way out of date and poorly maintained but guess what the one we have here at work is also poorly maintained. That's just the nature of the wiki and I have compla

RE: [Catalyst] javascript libraries in your application

2008-02-05 Thread Mesdaq, Ali
not be a good place for it. It may have to be designed and architected in the same way you do it with you server-side code. --Gene On Tue, 5 Feb 2008, Mesdaq, Ali wrote: > I put mine under root/static/js during testing and development but on > live servers I put it under /js and use

RE: [Catalyst] javascript libraries in your application

2008-02-05 Thread Mesdaq, Ali
I put mine under root/static/js during testing and development but on live servers I put it under /js and use mod rewrite rules to allow that and the images directory to be served up statically. For some reason having /static/js on a live URL is ghetto to me. Thanks, --

RE: [Catalyst] Catalyst test server response times.

2008-01-30 Thread Mesdaq, Ali
Good write up semi related to the topic. Discusses JavaScript packers and their performance impact as well as security implications. Using some packers may cause false positives on your websites by many security solutions. http://www.secureworks.com/research/threats/thepacker Personally I think t

RE: [Catalyst] Catalyst test server response times.

2008-01-30 Thread Mesdaq, Ali
Just giving my recommendation for what in my opinion is an ESSENTIAL tool for any web developer or even power user Firebug for Firefox https://addons.mozilla.org/en-US/firefox/addon/1843 . Best overall tool I have found. Lets you debug JavaScript, inspect elements and their dom properties, lets you

RE: [Catalyst] Documentation on DBIx Class

2008-01-18 Thread Mesdaq, Ali
Rockway [mailto:[EMAIL PROTECTED] Sent: Friday, January 18, 2008 1:50 PM To: The elegant MVC web framework Subject: RE: [Catalyst] Documentation on DBIx Class On Fri, 2008-01-18 at 12:47 -0800, Mesdaq, Ali wrote: > I have to just rant a bit about that. The most difficult thing about > catal

RE: [Catalyst] Documentation on DBIx Class

2008-01-18 Thread Mesdaq, Ali
I have to just rant a bit about that. The most difficult thing about catalyst is trying to learn dbic. I love dbic and how clean it can make working with the data layer but because of the documentation its hard to wrap ur head around to just fully know how it works and what to expect. I am not a fu

RE: [Catalyst] Debugging Catalyst with Eclipse

2008-01-18 Thread Mesdaq, Ali
I have been using Komodo for a few years now and I am very happy with it in general. Thanks, -- Ali Mesdaq (CISSP, GIAC-GREM) Security Researcher II Websense Security Labs http://www.WebsenseSecurityLabs.com --

[Catalyst] OT - Sr. Web Dev Position Available

2008-01-16 Thread Mesdaq, Ali
Short and simple don't want to make this a job posting just reply to me directly for more info and not to the list. Looking for someone who is a Sr. Web Developer, Sr. Perl Developer, Sr. Javascript Developer, and lives or wants to live in San Diego, CA? Thanks, ---

RE: [Catalyst] Input/Parameter Checks

2007-12-13 Thread Mesdaq, Ali
Yes exactly my point in my earlier emails! I am kinda thinking that wrapper would be used like sub edit : Local { my ($self, $c, $id) = @_; $id = $someobject->checkInput({escape_html => 0, escape_sql => 1, notify => 0}); And you just pass various flags or have different methods and maybe

RE: [Catalyst] Input/Parameter Checks

2007-12-13 Thread Mesdaq, Ali
PM To: The elegant MVC web framework Subject: Re: [Catalyst] Input/Parameter Checks On 13 Dec 2007, at 21:21, Mesdaq, Ali wrote: > Anyone have some suggestions or references to good modules or best > practices in this regards? This is mainly in regards to using these > inputs in sql q

RE: [Catalyst] Input/Parameter Checks

2007-12-13 Thread Mesdaq, Ali
[mailto:[EMAIL PROTECTED] Sent: Thursday, December 13, 2007 1:41 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Input/Parameter Checks --- "Mesdaq, Ali" <[EMAIL PROTECTED]> wrote: > Anyone have some suggestions or references to good modules or best > practice

[Catalyst] Input/Parameter Checks

2007-12-13 Thread Mesdaq, Ali
Anyone have some suggestions or references to good modules or best practices in this regards? This is mainly in regards to using these inputs in sql queries or other areas where common attacks against web applications happen. I wonder in the catalyst world what best practices are. Would it be a cat

RE: [Catalyst] DBIx relationships

2007-12-07 Thread Mesdaq, Ali
I am still very much a beginner myself but from one beginner to another it looks like your schema is not a many to many type. You would need a table to bring the family and members together like family_members(male_id, female_id, family_id) Then you could have a search on the family table and li

RE: [Catalyst] Shared Host Setup

2007-11-20 Thread Mesdaq, Ali
att S Trout [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 9:49 AM To: The elegant MVC web framework Subject: Re: [Catalyst] Shared Host Setup On Mon, Nov 19, 2007 at 12:25:37PM -0800, Mesdaq, Ali wrote: > So I tired something I been meaning to test out. So I created a vmware > image

RE: [Catalyst] Shared Host Setup

2007-11-19 Thread Mesdaq, Ali
, -- Ali Mesdaq Security Researcher II Websense Security Labs http://www.WebsenseSecurityLabs.com -- -Original Message- From: Mesdaq, Ali [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 7:11 PM To: The elegant MVC web framework Subject: RE

RE: [Catalyst] Fancy graphing -> like Google Finance, anybody done it?

2007-11-16 Thread Mesdaq, Ali
http://www.fusioncharts.com/ Super easy and pretty fancy. But not sure it can do exact google finance type stuff. Thanks, -- Ali Mesdaq Security Researcher II Websense Security Labs http://www.WebsenseSecurityLabs.com

[Catalyst] Jobs and Freelance

2007-11-13 Thread Mesdaq, Ali
Where is the proper place to post Job postings and/or Freelance stuff? Thanks, -- Ali Mesdaq Security Researcher II Websense Security Labs http://www.WebsenseSecurityLabs.com --

RE: [Catalyst] Shared Host Setup

2007-11-01 Thread Mesdaq, Ali
Setup On Nov 1, 2007 2:06 PM, Mesdaq, Ali <[EMAIL PROTECTED]> wrote: Been working on setting up Catalyst on a shared host and I have to say its been pretty painful. Been trying to use the default install on the host and add the modules I need but came across the su

[Catalyst] Shared Host Setup

2007-11-01 Thread Mesdaq, Ali
Been working on setting up Catalyst on a shared host and I have to say its been pretty painful. Been trying to use the default install on the host and add the modules I need but came across the suggestion to install a new version of perl and that helped a lot. But the host I am using (aplus.net) ha

RE: [Catalyst] Hypothetical Site and Scalability Planning

2007-10-26 Thread Mesdaq, Ali
ecurityLabs.com -- -Original Message- From: J. Shirley [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 12:31 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Hypothetical Site and Scalability Planning On 10/26/07, Mesdaq, Ali &l

[Catalyst] Hypothetical Site and Scalability Planning

2007-10-26 Thread Mesdaq, Ali
Hey All, Just wanted to start a thread about scalability planning and design. I was thinking we could take the approach of what peoples opinions, ideas, and best practices are for large scale sites and use a hypothetical site or a existing site as the model to plan for. Not everything discussed ne