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
--
-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 [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 suggestion to
install a new version of perl and that helped a lot. But the host I am
using (aplus.net)
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
suggestion
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
http://www.WebsenseSecurityLabs.com
--
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
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
]
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
practices in this regards? This is mainly in regards to using
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 queries
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
catalyst
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
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
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,
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
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
at time. Catalyst first, then all the plug in
modules. If you could provide a working example of hos to implement the
js and catalyst controller part of JSON, I would greatly appreciate it!
Thanks
jennifer
Mesdaq, Ali wrote:
Jennifer,
Are you sure you want to stick with this route? Looks like
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,
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:
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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,
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
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 ames...@websense.com
Para: The elegant MVC web framework catalyst@lists.scsys.co.uk
Enviado: vie,5 marzo
--
-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 ames...@websense.com wrote:
To me
“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,
To: The elegant MVC web framework
Subject: Re: [Catalyst] Views and escaping HTML
On Thu, Apr 1, 2010 at 10:27 AM, Mesdaq, Ali ames...@websense.com wrote:
You prefer global escaping to escaping in the template? I use the TT plugin
for escaping
[% USE HTML %]
[% HTML.escape(needs.escaping
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
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 -
/
--
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
ames...@websense.commailto:ames
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
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
On Mon, Nov 29, 2010 at 8:16 PM, Mesdaq, Ali
ames
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-%3Ebody
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);
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
: [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 to mention Komodo.
FWIW
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
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,
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
50 matches
Mail list logo