[ciapug] Propel / Symfony
Carl Olsen
carl-olsen at mchsi.com
Wed Jan 2 16:56:17 CST 2008
Yes, I agree. I did a whole bunch of the PHP tutorials on DevShed and I can
see a lot of that theory being using in Symfony. I had already written
classes to generate both PHP and JavaScript validation. I did notice the
filter folder in Propel, but really haven't checked it out yet. I'm
starting over with a new project that doesn't use Symfony, but I'll be
stealing a lot of the code I wrote while playing with Symfony. I'm tempted
to build a Symfony site at home, just to play around with it.
I've been using html_entities a lot lately on input textareas and then using
html_entities_decode on the way back out.
Carl
-----Original Message-----
From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On Behalf
Of Tony Bibbs
Sent: Wednesday, January 02, 2008 3:33 PM
To: Central Iowa PHP Users Group
Subject: Re: [ciapug] Propel / Symfony
I don't think so. One of the interesting things I was thinking about
related to this is there seems to be nobody doing automated server-side
filtering. I'm talking about things outside basic validation like ensuring
a textarea doesn't have any nasty XSS exploits, ensuring only sanitized HTML
gets used etc. Propel generates the schema.xml so I'd love to see something
that can use the PHP5 filter methods inside of the generated Propel models
to make my life easier. After all, every input is possible exploit...
Anyway, doing what you want wouldn't be too terrible hard with the native
Propel stuff. You can write your own Phing tasks to generate the code you
are after and you can even do so in a way that boostraps the Propel build so
you can access useful stuff like a column's datatype. Hell, I bet you could
probably start with what Symfony has and customize it for your template
engine.
--Tony
----- Original Message ----
From: "carl-olsen at mchsi.com" <carl-olsen at mchsi.com>
To: ciapug at cialug.org
Sent: Wednesday, January 2, 2008 2:52:46 PM
Subject: [ciapug] Propel / Symfony
I'm going to take Tony Bibb's advice and give Propel a try. Symfony is
too difficult for me to use with my existing content management system
(which is not going to give Symfony complete control of the web
pages). I've seen enough of Propel from Symfony to know that it will work
for what I'm doing. It should cut my work in half, which is a good deal.
I wish I could find something automates the generation of forms like
Symfony does. Is there an open source project for creating forms? I
like the way that Symfony generates the PHP and JavaScript code for
validating the input form data.
Carl Olsen
Web Developer
www.drake.edu
_______________________________________________
ciapug mailing list
ciapug at cialug.org
http://cialug.org/mailman/listinfo/ciapug
_______________________________________________
ciapug mailing list
ciapug at cialug.org
http://cialug.org/mailman/listinfo/ciapug
More information about the ciapug
mailing list