[ciapug] Propel / Symfony

Tony Bibbs tony at tonybibbs.com
Wed Jan 2 15:33:27 CST 2008


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





More information about the ciapug mailing list