[symfony-users] Re: [1.4] sfDoctrineActAsKeyValueStorePlugin with form values

2011-06-02 Thread Tom Boutell
)    home_address:      type: string(255)    telephone:      type: string(25) IronManApplication2011:  inheritance:    extends: Application    type: column_aggregation    keyField: object_type    keyValue: iron_man2011 So I came across Tom Boutell/P'unk Ave's plugin

[symfony-users] sfDoctrineActAsKeyValueStorePlugin: store extra data with Doctrine objects without schema changes

2011-04-12 Thread Tom Boutell
-aGet('seen_welcome', false); For more information see: http://trac.apostrophenow.org/wiki/sfDoctrineActAsKeyValueStorePlugin You do not need Apostrophe to use this plugin. Cheers! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report

[symfony-users] Per-application schema.yml files

2011-02-27 Thread Tom Boutell
! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Apostrophe 1.5.1 released, makes everything perfect forever

2011-02-06 Thread Tom Boutell
filter dropdown * Author and category filters can be combined with other filters properly * Google Calendar URLs were often too long; imposed a character limit rather than a word limit to ensure this does not happen -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] SillyCMS updated to Symfony 2.0 PR5

2011-01-23 Thread Tom Boutell
, testing out more functionality and offering something that is tantalizingly close to useful (: Pull requests offering new features are quite welcome, I need the git experience anyway! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability

[symfony-users] Re: Grails to Symfony2 Benchmark

2011-01-19 Thread Tom Boutell
Mmm. His throughput was 3x higher with APC, and it does look like he enabled it correctly, but he was still pegging CPU and memory the whole time. I would have to study his specific code more to figure out if he's doing anything wrong for Symfony that he's doing right for Grails. On Jan 17, 4:58 

[symfony-users] Apostrophe 1.5 is out!

2011-01-18 Thread Tom Boutell
about it. (: -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group

[symfony-users] MINI HOWTO: implement a Twig extension in a bundle in Symfony 2

2011-01-11 Thread Tom Boutell
: class: Application\SillyCMSBundle\Twig\Extensions\WikiText tags: - { name: twig.extension } If you have problems, triple-check that your namespace paths are consistent. You can find the whole thing here: https://github.com/boutell/SillyCMS -- Tom Boutell P'unk Avenue

Re: [symfony-users] Re: A simple Wiki written in Symfony 2 (aka an interesting sandbox-derived practice project)

2011-01-11 Thread Tom Boutell
Update: this project now includes a Twig extension written as a Symfony bundle. The Twig extension implements a simple Wiki syntax. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed

Re: [symfony-users] Re: Three questions about Symfony 2 routes

2011-01-10 Thread Tom Boutell
That is what I have since done. It turns out that you can use -get to fetch the in-URL parameters as well as query string parameters, so you can still write actions that don't care what the route looks like, which I think is an important feature. So my third question is answered, but the first

[symfony-users] Re: A simple Wiki written in Symfony 2 (aka an interesting sandbox-derived practice project)

2011-01-10 Thread Tom Boutell
A further update: login and logout buttons are now implemented, and edit buttons shown only when logged in, thanks to answers from symfony-devs. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you

[symfony-users] Re: Three questions about Symfony 2 routes

2011-01-10 Thread Tom Boutell
All three questions have now been answered. I figured out the first two just now. #1 #2: Yes you can capture the leading /, and even a missing leading /. Also you can capture slashes (most useful in the final parameter). When I write: show: pattern: /:slug defaults: { _controller:

Re: [symfony-users] Grails to Symfony2 Benchmark

2011-01-09 Thread Tom Boutell
Claiming that similar graphs can be made in paintbrush is not helpful. If you click through to the original blog post that backs the article: http://cutiecode.maniacmansion.it/ He presents very complete source code and software and hardware specs and shows a good understanding of what he is

[symfony-users] Re: Minified JavaScript in Production

2011-01-09 Thread Tom Boutell
Apostrophe (a CMS plugin for Symfony, among other things) includes a minifier for JS and CSS which is integrated into Symfony so that whatever you have in view.yml, etc. will wind up as part of the minified bundle. I'm not an expert on Closure but I'm not sure whether you can count on JS code

Re: [symfony-users] Grails to Symfony2 Benchmark

2011-01-09 Thread Tom Boutell
Mmm. But hitting the database abstractions would probably be friendlier to PHP than, say, a math benchmark (: -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups

[symfony-users] Re: A simple Wiki written in Symfony 2 (aka an interesting sandbox-derived practice project)

2011-01-09 Thread Tom Boutell
I have updated this project to demonstrate the user authentication component (a little). That raised some bug reports and questions which I've sent to symfony-devs. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Re: Symfony 2 tutorial on forms and Doctrine

2011-01-08 Thread Tom Boutell
Damon and Tim, you are right about the : syntax, it does work. I was probably confused by too many other things that didn't work in that code. The updated example for the orm overview: http://docs.symfony-reloaded.org/master/guides/doctrine/orm/overview.html Uses find() instead and the syntax

[symfony-users] More comments on the Symfony 2 tutorials

2011-01-08 Thread Tom Boutell
I'm reading the master versions now, thanks to those who pointed them out. I'm continuing to summarize my impressions since it should be useful in improving these guides. If I don't share these impressions now I will know too much about Symfony 2 to remember them later (: Continuing with

[symfony-users] Re: Locale error when creating a form in Symfony 2

2011-01-08 Thread Tom Boutell
Actually, let's get modern: I popped the SillyCMS project up on github. g...@github.com:boutell/SillyCMS.git No need to guess whether I posted enough code to reproduce the problem or not (: -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] Re: Locale error when creating a form in Symfony 2

2011-01-08 Thread Tom Boutell
Thanks! MacPorts has a very, very, very a la carte PHP build in which almost everything is a separate port to install. I am running port install php5-intl right now. I suggest adding this one to the installation instructions. It's pretty opaque when you run up against it, mostly because errors

Re: [symfony-users] Re: Locale error when creating a form in Symfony 2

2011-01-08 Thread Tom Boutell
That was it. I am making progress again (on to the next bug (: ) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group,

[symfony-users] Three questions about Symfony 2 routes

2011-01-08 Thread Tom Boutell
as just changing the route to go from using query string parameters to using pretty URLs, as you could do in Symfony 1.x. Is that correct? Thanks! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] Re: Three questions about Symfony 2 routes

2011-01-08 Thread Tom Boutell
Some research into my third question: I have figured out that when you call path() in twig any parameters that are not part of the route are added to the query string. And I've also figured out that I can call $this-get('request')-get('paramname') to get at one of those parameters. So

[symfony-users] A simple Wiki written in Symfony 2 (aka an interesting sandbox-derived practice project)

2011-01-08 Thread Tom Boutell
clone SillyCMS, learn from it, improve it and share your feedback. Cheers! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you

[symfony-users] Symfony 2 tutorial on forms and Doctrine

2011-01-07 Thread Tom Boutell
part, and it would still work. I suspect the answer is that later I'll be able to get the engineer value from the form and discover I've received an object, not just an ID, but this is never mentioned or demonstrated. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: Symfony 2 tutorial on forms and Doctrine

2011-01-07 Thread Tom Boutell
http://docs.symfony-reloaded.org/guides/doctrine/orm/overview.html seems to be untested or perhaps based on something that worked long ago? $user = $em-createQuery('SELECT u FROM HelloBundle:User WHERE id = ?', $id); $user-setBody('new body'); This will not work, there is no execution

[symfony-users] Symfony taking a beating in favorite-PHP-framework poll

2010-12-02 Thread Tom Boutell
interested in how it is playing out for this question) -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google

[symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-18 Thread Tom Boutell
, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Aug 17, 2010 at 3:32 PM, Tom Boutell t...@punkave.com wrote: Daniel, this almost works and I got pretty excited thinking about it... but there's a tragic flaw

[symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-18 Thread Tom Boutell
] [--env=dev|prod|staging] task so as to not need the brute-force symfony cc or go hunting for these minified files manually? Cheers, Daniel On 17.08.2010, at 15:32, Tom Boutell wrote: Daniel, this almost works and I got pretty excited thinking about it... but there's a tragic flaw

[symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-17 Thread Tom Boutell
. The browser then should just request the file because it doesn't about that file yet (filename is not the same). Am I missing something here? Cheers, Daniel Sent from my iPad On Aug 16, 2010, at 2:59 PM, Tom Boutell t...@punkave.com wrote: You're right, we do need cache invalidation. I just

[symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-16 Thread Tom Boutell
You're right, we do need cache invalidation. I just came up with a clean way to do it without tweaking app.yml settings, adding a table or making glob() calls: just use a file in the asset-cache folder to hold the current cache key. The OS should cache reads from that file extremely well. It may

[symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-16 Thread Tom Boutell
I've opened a ticket on this: http://trac.apostrophenow.org/ticket/529 I think manual updates are unnecessary, symfony cc can invalidate the cache key, no muss no fuss (: On Aug 15, 11:44 am, pghoratiu pghora...@gmail.com wrote: It might be worthwhile to take things a step further by

[symfony-users] Re: Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-15 Thread Tom Boutell
they are cached on the client side)? Please post also a link to the sources. Thanks,     gabriel On Aug 14, 5:08 pm, Tom Boutell t...@punkave.com wrote: We've committed a new CSS and JS minifier to the trunk of apostrophePlugin. It's possible to take advantage of this even if you

[symfony-users] Symfony 1.4-compatible minifier for Symfony now included in Apostrophe, can be used in any Symfony project

2010-08-14 Thread Tom Boutell
/uploads/asset-cache needs to be writable by Apache (project:permissions should take care of this). Enjoy! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-users] Symfony Almost Live: building a new Symfony application in 26 minutes

2010-07-30 Thread Tom Boutell
/symfony-almost-live/ I've kept in my mistakes along with their solutions. More educational that way. Hope you find it helpful! Definitely a good choice for beginning Symfony developers. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report

[symfony-users] Important sfDoctrineApplyPlugin news

2010-07-01 Thread Tom Boutell
The svn trunk of sfDoctrineApplyPlugin will soon contain bleeding edge code. You should NOT pin the svn:externals of your project to the trunk. Instead, you may pin them to the new 1.1 branch, which contains the stable release you're used to. Change your externals to read like so:

[symfony-users] Apostrophe 1.4 is out: introducing the blog plugin!

2010-05-26 Thread Tom Boutell
will receive no major feature upgrades and other potentially major breaking changes. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because

[symfony-users] Re: apostrophePlugin and slot type actions

2010-04-12 Thread Tom Boutell
I know you discovered the apostrophenow list and moved on past this question on your own, but in case others are wondering: there is a thorough discussion of this topic here... http://trac.apostrophenow.org/wiki/ManualDevelopersGuide -- If you want to report a vulnerability issue on symfony,

[symfony-users] Re: apostrophePlugin is now internationalized

2010-03-27 Thread Tom Boutell
that is emitted in templates. Apostrophe's strategy is to store valid UTF-8 encoded HTML to begin with, addressing this issue in validators. Currently you must disable output escaping in settings.yml, otherwise Apostrophe slots will not work properly: On Fri, Mar 26, 2010 at 10:05 AM, Tom Boutell

[symfony-users] apostrophePlugin is now internationalized

2010-03-26 Thread Tom Boutell
Apostrophe! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] I18N for a Symfony plugin

2010-03-04 Thread Tom Boutell
at applications, it seems to have no capability to look in a plugin. Any experiences out there with more complete tools for this? Thanks! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- If you want to report a vulnerability issue on symfony, please send it to security

[symfony-users] Re: Problems installing Apostrophe CMS

2010-02-22 Thread Tom Boutell
. On Mon, Feb 22, 2010 at 9:58 AM, ReynierPM rper...@uci.cu wrote: On 2/21/2010 2:52 PM, Tom Boutell wrote:  The error you mention is a Postgres error, not a MySQL one, so you  are probably not using our unmodified sandbox, you probably are  trying to set it up for Postgres. So at this time

[symfony-users] Re: Problems installing Apostrophe CMS

2010-02-21 Thread Tom Boutell
, commands ignored until end of transaction block. Failing Query: CREATE INDEX triple3 ON tag (triple_value). Failing Query: CREATE INDEX triple3 ON tag (triple_value) Can any help me with this? -- Regards ReynierPM -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] pkcontextcms is now apostrophe

2010-02-16 Thread Tom Boutell
along to Apostrophe. Thanks for your understanding! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com

[symfony-users] Re: Apostrophe 1.0 Stable Release: a mature CMS for Symfony!

2010-02-13 Thread Tom Boutell
(Speedypin LLC) On Feb 12, 10:20 am, Nicolas Ippolito ippolito.nico...@gmail.com wrote: Hi, Congratulations! It's a wonderful project! Nico 2010/2/12 Tom Boutell t...@punkave.com We have labored long and hard to prepare for the 1.0 release of Apostrophe. As we said before

[symfony-users] Apostrophe 1.0 Stable Release: a mature CMS for Symfony!

2010-02-11 Thread Tom Boutell
We have labored long and hard to prepare for the 1.0 release of Apostrophe. As we said before, it has been stable and in use for a long time now, but we wanted to mark a moment in time with an official release. Probably the easiest way to get a feel for Apostrophe is to go to our demo site and

[symfony-users] Hotels airfare for Symfony Live

2009-12-22 Thread Tom Boutell
Not off-topic as such, but my apologies to those who are definitely not going... I'm looking for good deals on decent (not fancy) hotels and sanely priced airfare from the US to attend Symfony Live this February. Suggestions would be very welcome! I already have a kayak.com alert set up. -- Tom

[symfony-users] Re: symfony 1.4 doctrine: few plugins :(

2009-12-12 Thread Tom Boutell
Yes, Symfony 1.4 has been out for about five minutes. (: Give the third party devs a chance to bring their plugins up to speed. Apostrophe, our CMS suite, is just a few validation warnings away from being 1.4-ready and is already used in production on 1.3. On Dec 11, 7:27 pm, Roland Cruse

[symfony-users] Apostrophe, our CMS framework, is now Symfony 1.4 ready

2009-12-12 Thread Tom Boutell
of Symfony 1.4! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email

[symfony-users] Re: Recommended CMS for an older Propel-based Symfony 1.0 app?

2009-12-10 Thread Tom Boutell
I would recommend sfSimpleCMSPlugin. We used sfSimpleCMSPlugin on our Symfony 1.0 projects, and while we tended to customize it heavily, we liked it enough to follow a similar general approach in Apostrophe. I think it would meet your immediate needs well and also make it easier to move to Symfony

[symfony-users] pkToolkitPlugin gems: pkToolkit:deploy

2009-12-08 Thread Tom Boutell
of the Apostrophe CMS plugin suite (www.apostrophenow.com) and can also be used on its own. Give it a look: http://www.symfony-project.org/plugins/pkToolkitPlugin Hope this is helpful! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com -- You received this message because you

[symfony-users] Re: DBFinderPlugin future

2009-12-02 Thread Tom Boutell
DbFinder is a bad choice for plugins that use the database in a nontrivial way. Yes, it unifies things at the simplest level (queries), but if you want to use the features that really distinguish one ORM from another (column aggregation inheritance, behaviors, migrations), you're out of luck. And

[symfony-users] Re: !.3 and 1.4 .. the difference?

2009-11-24 Thread Tom Boutell
Check out sfJqueryReloadedPlugin. It contains jQuery versions of the classic Symfony JavaScript helpers. If some of the helpers that have been removed in Symfony 1.3 are not reimplemented in sfJqueryReloadedPlugin, feel free to copy or reimplement them there (with a jq_ prefix) and/or bring it up

[symfony-users] Re: How is Sympal plugin going?

2009-11-13 Thread Tom Boutell
Hi Juan, I'm sure Jon Wage will speak to where things are with his Sympal project. But since you asked about other CMSes, please do consider Apostrophe: www.apostrophenow.com Apostrophe is an open source CMS suite made up of several Symfony plugins, including pkContextCMSPlugin. The plugins

[symfony-users] Forcing a canonical hostname for absolute links without clobbering the entire context: possible?

2009-11-13 Thread Tom Boutell
anyway. Thanks! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users

[symfony-users] Re: How do I hush up noisy Symfony tasks?

2009-11-02 Thread Tom Boutell
-30 at 17:07 -0400, Tom Boutell wrote: I've written a task that needs privileges that are normally checked for based on the identity of the current user. So I set up an identity just for the tasks, and that's working fine:     $context = sfContext::createInstance($this-createConfiguration

[symfony-users] Re: Apache memory problem

2009-11-01 Thread Tom Boutell
Have you used the frontend dev controller's toolbar to observe the memory usage of different features of your site? Look for the requests that use the most memory. Once a request uses, say, 250mb of memory, Apache is going to stay that size, it reuses that memory but it doesn't give it back to

[symfony-users] How do I hush up noisy Symfony tasks?

2009-10-30 Thread Tom Boutell
disabling actual logging during web access to the app? (Perhaps it would run quieter if the environment was not dev? In that case I can live with it in dev, knowing it will shut up on production.) Thanks! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] sfDoctrineApplyPlugin version 1.1.0: a significant security improvement, and a change of mailer

2009-10-28 Thread Tom Boutell
on the client side. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users

[symfony-users] Symfony output escaping in the templates of plugins

2009-10-28 Thread Tom Boutell
! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com

[symfony-users] Re: how can I show html as html ?

2009-10-18 Thread Tom Boutell
on tedious support calls). For that purpose, check out pkToolkitPlugin and the pkHtml::simplify() method, which is designed expressly for the purpose of reducing user-entered HTML to something sane and safe. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: Important bug fix to sfSyncContentPlugin

2009-10-11 Thread Tom Boutell
this plugin a try. On Oct 8, 2:00 pm, Tom Boutell t...@punkave.com wrote: I have corrected a significant bug in sfSyncContentPlugin. This bug caused the plugin to assume it should use the default local environment, not the environment specified on the command line, for the local end

[symfony-users] Important bug fix to sfSyncContentPlugin

2009-10-08 Thread Tom Boutell
be transferred. For more information see: http://www.symfony-project.org/plugins/sfSyncContentPlugin -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: sfDoctrineGuardPlugin: anything that advise against adding the profile fields in the sfGuardUser directly instead of define the model Profile?

2009-10-08 Thread Tom Boutell
You'd have to change the schema.yml of the plugin. But instead of doing that, you can use Doctrine simple inheritance to add the fields to that table. Simple inheritance is a lot less of a pain than using profiles and I recommend it. it's a shame that the sfDoctrineGuardPlugin manual doesn't

[symfony-users] Re: sfWidgetFormSchemaFormatter granularity

2009-10-06 Thread Tom Boutell
++ Sometimes echo $form really could be more than just a convenience in the early stages of development, greatly accelerating the final product if only we had a reasonable hope of giving row containers class names and so on. The form decoration setup really is needlessly limiting. On Oct 5,

[symfony-users] Re: how to install a symfony website

2009-10-05 Thread Tom Boutell
This is true, but if you deploy with svn don't forget: RewriteRule (\.svn)/(.*?) - [F,L] In your .htaccess. You don't want people snooping in the .svn folders. On Oct 5, 3:06 am, Gareth McCumskey gmccums...@gmail.com wrote: First, in your batches directory for your symfony write a batch

[symfony-users] Re: sfSyncContentPlugin: sync content as easily as code

2009-09-30 Thread Tom Boutell
Eno, it's safe to say your project is not a candidate for sfSyncContentPlugin. (: That's an impressive setup you have there. On Sep 29, 11:40 pm, Eno symb...@gmail.com wrote: On Tue, 29 Sep 2009, Tom Boutell wrote: Yes project:deploy is entirely wrong for content unless you are moving code

[symfony-users] Re: what plugins or code do symfony developers prefer for image cropping?

2009-09-30 Thread Tom Boutell
The original poster was looking for a tool to visually decide what part of the image you want to crop, primarily. At least I'm pretty sure that's what they wanted. As far as back ends that do the actual image rendering, gd-based and imagemagick-based PHP code are pretty much equally effective as

[symfony-users] Re: The big memory issue

2009-09-29 Thread Tom Boutell
Oh yeah - as I recall shared memory shows up for every process that is attached to it in top. That can be a bit confusing. It's not really duplicated. On Sep 28, 2:56 pm, Daniel Kucharski dan...@inspiran.be wrote: Hi Tom, Thanks for the tip, I implemented APC and noticed that the login page

[symfony-users] Re: sfSyncContentPlugin: sync content as easily as code

2009-09-29 Thread Tom Boutell
:/path/ to/symfony/project/ Followed by symfony cc. Does it work 2 ways? On Sep 29, 10:19 am, Tom Boutell t...@punkave.com wrote: With this handy plugin, you can just type this: ./symfony project:sync-content frontend dev from stag...@staging … And down comes the content from

[symfony-users] Re: sfSyncContentPlugin: sync content as easily as code

2009-09-29 Thread Tom Boutell
Yes project:deploy is entirely wrong for content unless you are moving code and data in the same direction. We do that only rarely - first deployment of a staging server, first deployment of a production server. And it doesn't copy databases at all. The sync-content plugin understands about

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-28 Thread Tom Boutell
Some thoughts: 1. The API reference browse code button could pretty easily reference a named anchor to skip directly to the code for the method in question. That would help A Whole Lot. 2. Wiki notes on the API pages, like php.net. I think this is such a huge win that it's worth the energy

[symfony-users] Re: The big memory issue

2009-09-28 Thread Tom Boutell
If you check the trace, you'll notice that already 16MB is consumed before any querying occurs... This is PHP's overhead to compile the Symfony code. You probably don't have APC enabled. Enable APC and watch this overhead disappear completely (apart from the first request after you restart

[symfony-users] Re: symfony template vs smarty

2009-09-28 Thread Tom Boutell
We've done a bit of work integrating Smarty in a Symfony project where we want to be able to run templates written by users that we don't trust with full access to everything PHP can do. In that situation, you need Smarty, or something like it. Outside of that situation there's not much need.

[symfony-users] Re: Getting large amounts of realtime Data into a symfony application

2009-09-28 Thread Tom Boutell
Another thought: have Python write to database tables set aside for raw stuff from Python, and have PHP pick up and consume that data periodically, deleting those records from the database and writing to the prettier, more complete, more validated tables that you are managing with your fancy

[symfony-users] Re: The big memory issue

2009-09-28 Thread Tom Boutell
There is just one APC cache. That's a big part of the point. Unless there is something wrong with your APC setup, or you don't have it set up to use shared memory. How are you measuring the memory impact of APC on Apache, exactly? On Sep 28, 2:56 pm, Daniel Kucharski dan...@inspiran.be wrote:

[symfony-users] Event to help me reset my own singletons on restart() in a functional test?

2009-09-24 Thread Tom Boutell
variables they may be holding onto and act as if they are responding to an entirely new request. Is there a Symfony event I can respond to for this purpose? If there is not, I think it should be added in 1.3. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] What is the right way to load fixtures in a functional test?

2009-09-22 Thread Tom Boutell
workaround the best that can be done or is there a straightforward way to call the task? -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: pkToolkitPlugin gems: a lightweight HTML filter, and a handy way to ssh to your staging and production servers

2009-09-21 Thread Tom Boutell
company site. On Sep 14, 4:36 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: Great plugin! Thank you ... I am using it on my project :D On Tue, Sep 15, 2009 at 1:59 AM, Tom Boutell t...@punkave.com wrote: Unlike most of our plugins, pkToolkitPlugin is a bit of a kitchen sink

[symfony-users] Re: Framework based PHP vs high level programming languages

2009-09-21 Thread Tom Boutell
I've thought about this too. But C++ is full of scary dangerous backwards compatibility systems-programming-oriented features that make safe programming harder and make little sense in a web application. I think your argument makes more sense if you're talking Java (or C#) vs Ruby and PHP. A

[symfony-users] Re: Framework based PHP vs high level programming languages

2009-09-21 Thread Tom Boutell
I've thought about this too. But C++ is full of scary dangerous backwards compatibility systems-programming-oriented features that make safe programming harder and make little sense in a web application. I think your argument makes more sense if you're talking Java (or C#) vs Ruby and PHP. A

[symfony-users] svnforeigncopy: copy a Symfony project from the Symfony repo to your repo without losing externals

2009-09-16 Thread Tom Boutell
for the time being svn still seems to be the right solution for us.) -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] pkToolkitPlugin gems: a lightweight HTML filter, and a handy way to ssh to your staging and production servers

2009-09-14 Thread Tom Boutell
site issues that come up without a robust server-side filter. For convenience we also package Dominic Schierlinck's sfWidgetFormRichTextarea widget. It's meant to be compatible with both MCE and FCK, although we always use FCK. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com

[symfony-users] sfDoctrineApplyPlugin migrating to Zend_Mail

2009-09-11 Thread Tom Boutell
a mail() method in the sfApplyActions class. By overriding this method at the application level you can replace the mail delivery system with a mechanism of your choice, removing Zend Mail from the picture. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: Symfony aspires to be pure OOP, so why the hell are helpers implemented as functions instead of as methods of classes?

2009-09-08 Thread Tom Boutell
or model layer. Loading helpers there is a pain in the ass, and it would be much more convenient to just call a static class method. This is why most of the more generic helper-like functionality in pkToolkit is in the form of static class methods. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-05 Thread Tom Boutell
test environment. You don't even have to set up the X GUI for the server in that scenario, which makes the VM a lot less heavy in CPU terms. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Tom Boutell
: Please let me know which 'nix you are using to develop in symfony and pros cons discovered in installation of symfony.  Thank you. Bob -- Pablo Godel ServerGrove Networks http://servergrove.com/ -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: sfApply Help

2009-09-04 Thread Tom Boutell
Every time it comes back that some error has occurred. That's pretty vague - details of the error message please? Try it in your dev controller and check out what appears in the logs, if anything. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: User group and permission in sfGuardPlugin

2009-09-03 Thread Tom Boutell
in and make themselves a spiffy new superadmin account. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Re: how do I lock down the sf_guard_user module?

2009-08-23 Thread Tom Boutell
admins. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com

[symfony-users] Re: pkMedia apikey

2009-08-12 Thread Tom Boutell
is useful from lots of things, not just the CMS. Also, there is a pkContextCMS Google group, which I would encourage you to join: http://groups.google.com/group/pkcontextcms Thanks for checking out the plugins! -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: Identity Management in PHP

2009-08-09 Thread Tom Boutell
just mean shared passwords, you can of course use a single database. If you mean literally avoiding the need to log in twice, then you need to take it up a notch by implementing something like OpenID. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: Media Library Plugin

2009-08-06 Thread Tom Boutell
of the first page in the media directory. It's not exclusively for use with pkContextCMSPlugin although they play well together of course. I recommend obtaining it from svn rather than using an older packaged release. Both are in the Symfony plugin directory. -- Tom Boutell P'unk Avenue 215 755

[symfony-users] Re: Notes on problems securing admin generator modules

2009-07-21 Thread Tom Boutell
Oops, I missed _list_td_batch_actions. That does take care of overriding the checkbox easily. But the problems with executeBatchDelete() remain. --- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received

[symfony-users] Re: Embed the sfGuardUser Profile in a frontend registration form

2009-07-19 Thread Tom Boutell
. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com

[symfony-users] Re: how do I create a register form with sfGuard

2009-07-05 Thread Tom Boutell
Check out sfDoctrineApplyPlugin for a ready-to-roll implementation of this which includes email verification of new accounts and email confirmation of password changes as well as a settings form for modifying your profile. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] New plugin: sfTwitterAuthPlugin

2009-06-30 Thread Tom Boutell
library released by Andy Smith. All of the components are under the MIT license. See: http://www.symfony-project.org/plugins/sfTwitterAuthPlugin -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --~--~-~--~~~---~--~~ You received this message

[symfony-users] Recommendations for affordable managed hosting that's Symfony 1.2-ready and secure

2009-06-18 Thread Tom Boutell
practice of logging in to type apt-get upgrade on a regular basis, but it would be nice to find a managed host that took on that responsibility and still met the rest of the requirements. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: Symfony with comet

2009-05-10 Thread Tom Boutell
recent versions. The good news is that the forthcoming PHP 5.3 has a garbage collector that can clean up circular references... now if they can just fix that bug affecting PHP 5.2.9 and up where source files of size exactly 8192 bytes crash the PHP interpreter... (: -- Tom Boutell P'unk Avenue 215

[symfony-users] Re: we are going to convert a site from Propel to Doctrine. What are the pain points?

2009-04-28 Thread Tom Boutell
of _processWhereIn(). It correctly detects the situation where MySQL would generate an error, but then incorrectly returns nothing rather than FALSE, which is not correct. [Runs off to report that] -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

  1   2   >