[symfony-users] Vespolina Project Status

2011-04-09 Thread Daniel Kucharski
Hey All,

 

It has been some time since we've announced the project on the mailing list
and on the Symfony Live hack day, so this email is just a quick update.

 

The community feedback on use cases and overall design has been great,
resulting in new and interesting insights how Vespolina should cover more
use cases. We have started moving towards a prototype.  Your feedback and
help will speed up the prototyping process.

 

The current bundles under development are:

-monetary bundle (handling of currencies, monetary units and so on)

-document bundle( handling of commonly used concepts on business documents)

-workflow bundle (guide the order to cash process)

-pricing bundle (calculate current and future prices of entities such as
products, determine sales order price, .)

 

A contribution task list has been created if you would be interested
contributing to the project.  You can find it on the wiki
(https://github.com/vespolina/vespolina/wiki/Contributor-task-list ).

 

 

You can follow our status on the Vespolina mailing
http://groups.google.com/group/vespolina-dev 

 

 

Vespolina Project Home: https://github.com/vespolina/vespolina

 

 

Kind regards,

 

Richard (Iampersistent)  ,

Daniel   (inspiran).

 

 

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Re: Introducing Vespolina - the new sf2 based e-commerce platform

2011-02-01 Thread Daniel Kucharski
I suggest creating a new thread on the developer mailing list (or mail me
directly if you prefer).

FYI, mailing list is http://groups.google.com/group/vespolina-dev 

Your feedback is greatly appreciated! 

You can also join our weekly meeting which is tomorrow.

-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-users@googlegroups.com]
On Behalf Of lufi
Sent: dinsdag 1 februari 2011 10:28
To: Symfony users
Subject: [symfony-users] Re: Introducing Vespolina - the new sf2 based
e-commerce platform

Hello guys,

Great project and a real need for the symfony community.

I'm currently working on a magento store (for clothing brand) and it's
quite a nightmare...
However I can share this experience, especially with product modeling
for this case (configurable product in magento ).

So how to do it ? Write use case?

lucas

On Jan 28, 8:26 am, Bernhard Schussek  wrote:
> 2011/1/28 Richard D Shank :
>
> > We have spent some time thinking about it, but I'm finding the more we
think
> > about it, the more our ideas change :).
>
> I highly recommend analyzing other successful e-commerce projects
> (also in other programming languages). This can change your vision a
> lot to the better.
>
> Go for it, the project sounds interesting. I hope enough people will
> join you and collaborate on this project.
>
> Bernhard
> --
> Software Architect & Engineer
> Blog:http://webmozarts.com
> Twitter:http://twitter.com/webmozart

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Introducing Vespolina - the new sf2 based e-commerce platform

2011-01-25 Thread Daniel Kucharski
Hello Symfonians,

 

We would like to introduce you all to a new symfony2 based project.

 

The purpose of this project is to create an expandable Symfony2 based
ecommerce platform, built on interchangeable bundles that can be used
independently of Vespolina, all managed by a configurable workflow process
and whenever possible, using established standards.

 

Why yet another ecommerce solution?

 

We believe that most ecommerce solutions are too much focused on the
underlying data model instead of natively supporting different process flows
(eg. order-pay-ship vs order-ship-pay for regular customers vs
order-ship-pay for premium customers).  Supporting these differences is
typically performed by hacking the ecommerce core and while amongst adding
23 additional fields to the data model(product, sales order, customer, ...).

A configurable workflow based approach could overcome this issue, allowing
enough freedom to adapt the solution to your customer needs.  Please check
the wiki for more information about our vision.

 

By building a new ecommerce solution on top of Symfony2  Vespolina can rely
on the native extensible behavior using concepts such as dependency
injection. 

 

We are currently at the design stage analyzing existing e-commerce
shops/solutions from a business perspective and have already identified
several use cases and modeled these process flows.  You can find the use
cases and process flow diagrams on the wiki.

 

However we can't do this alone.  We need your support to understand in depth
different ecommerce scenarios and at what stage and why you needed to hack
the core of existing solutions such as Magento.   Do you know a use case not
mentioned on wiki, please feel free to contact us to give your opinion.   It
is highly valued!  Please join us to make this project a success.

 

Project details:

 

Github project home: https://github.com/vespolina/vespolina

Wiki Use Cases: https://github.com/vespolina/vespolina/wiki/Use-cases

Process flow diagrams:
https://github.com/vespolina/vespolina/wiki/Process-flow-diagrams

Request for comment: https://github.com/vespolina/vespolina/issues#issue/2

 

 

IamPersistent,

DocteurKlein,

Inspiran 

 

 

 

 

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2010-12-03 Thread Daniel Kucharski
So you have root DB access.

*hint*

-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Tom Boutell
Sent: vrijdag 3 december 2010 2:53
To: symfony-users@googlegroups.com
Subject: [symfony-users] Symfony taking a beating in favorite-PHP-framework
poll

Hey guys, Symfony is taking a real beating in this poll:

http://whatshallwe.com/s/b1d75e0a72d66218

As a Symfony fan (and as the author of the poll app, which is written
*in* Symfony), I am shamelessly appealing to you to jump in and vote
(:

(Note that you can vote "for" and "against" as many frameworks as you
wish, once each. This has a lot to do with why so many frameworks are
ranked low - people tend to spread their hate around all the
frameworks they don't use (: The app was really intended for questions
like "where shall we have dinner," where "no" votes are quite
important, but I am 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
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Symfony2 - MongoDB extension not loadable?

2010-10-13 Thread Daniel Kucharski
Hi Tim,

 

It wasn't as there was nothing stated in the online documentation about it.
After adding it to the kernel, I still receive the same error, even when
clearing the cache.

 

 

 

From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Tim Nagel
Sent: dinsdag 12 oktober 2010 23:40
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] Symfony2 - MongoDB extension not loadable?

 

Did you include the DoctrineMongo bundle in your kernel?

 

t

On Wed, Oct 13, 2010 at 04:58, Daniel Kucharski  wrote:

 

Hi,

 

I get following error when trying to access the mongo document service in
Symfony 2PR3:

 

There is no extension able to load the configuration for
"doctrine_odm.mongodb" (in D:\wamp\www\symfony2\app/config\config.yml).'

 

 

My config.yml contains following line:

 

doctrine_odm.mongodb: ~

 

The PHP mongodb extension is correctly set up.

 

What am I doing wrongly?

 

Kr,

 

Daniel

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
<mailto:symfony-users%2bunsubscr...@googlegroups.com> 
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Symfony2 - MongoDB extension not loadable?

2010-10-12 Thread Daniel Kucharski
 

Hi,

 

I get following error when trying to access the mongo document service in
Symfony 2PR3:

 

There is no extension able to load the configuration for
"doctrine_odm.mongodb" (in D:\wamp\www\symfony2\app/config\config.yml).'

 

 

My config.yml contains following line:

 

doctrine_odm.mongodb: ~

 

The PHP mongodb extension is correctly set up.

 

What am I doing wrongly?

 

Kr,

 

Daniel

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Search with AJAX doesn´t work i n prod environment

2010-08-26 Thread Daniel Kucharski
Try enabling debug in production and check whether or not the ajax request
actually gets a response.

-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Barry
Sent: donderdag 26 augustus 2010 17:48
To: symfony users
Subject: [symfony-users] Search with AJAX doesn´t work in prod environment

Hi!
I am doing the Jobeet tutorial and when I did the AJAX search it works
in dev environment but when I test it in prod, it always give me "No
Results". I tried putting the "no_script_name" key to false in the
setting.yml file but it´s the same.
Does anyone have the same problem?
Thanks

Leandro

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] symfony1.4 and choice dependent dropdown selects

2010-08-23 Thread Daniel Kucharski
Check  sfDependentSelectPlugin


-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Abhinav Keswani
Sent: maandag 23 augustus 2010 8:42
To: symfony-users@googlegroups.com
Subject: [symfony-users] symfony1.4 and choice dependent dropdown selects

Hi there

I am really stuck trying to find a neat and clean way to implement two
drop down selects in one form - where the choice of one dropdown
effects the options (id/values) of the other.

Example is: choose a state, then choose a city that is in that
state...where the city dropdown is updated on change of the state
dropdown.

It's a common feature on many websites, and I have done this before
using object helpers however this is deprecated in 1.4 and I am
looking for the "right" way to do this.

I'd like to use helpers for this problem but cannot find much
information about this in 1.4.

In the past, I have successfully used object_select_tag with an
onchange remote call to update a div containing another dropdown.

How can I achieve this in Symfony 1.4 (with doctrine)?

Thanks
Abhinav

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Abridged summary of symfony-users@googlegroups.com - 32 Messages in 22 Topics

2010-08-22 Thread Daniel Kucharski
Goed bezig :-)

-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of joost.fa...@freshheads.com
Sent: zaterdag 21 augustus 2010 14:51
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] Abridged summary of
symfony-users@googlegroups.com - 32 Messages in 22 Topics

Beste,

Donderdag 19 tot en met maandag 23 augustus ben ik niet aanwezig op kantoor.
U kunt voor dringende zaken contact opnemen met mijn collega Dimitri van
Hees: dimi...@freshheads.com of 013 5448761.

Met vriendelijke groet,

Joost Farla
joost.fa...@freshheads.com

- -

freshheads grafisch ontwerp en internet applicaties
Dunantstraat 1c | 5017 KC Tilburg | Nederland
tel. +31 (0)13 5448761 | fax. +31 (0)13 5448762
i...@freshheads.com | www.freshheads.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 to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Overriding files from a plugin within another plugin

2010-08-17 Thread Daniel Kucharski
Hi,

 

Is it possible to create a plugin which overrides various settings / classes
from other symfony plugins (routing, schema, model classes)?

If so, does the order how plugins are loaded (in the project configuration)
matter?

 

Kind regards,

Daniel

 

 

 

 

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Re: issues after moving form code to a plugin

2010-08-05 Thread Daniel Kucharski
Hi, I found the main issue by debugging the form generator. While moving my
models to the plugin I did change the name of the class
('Brand->PluginBrand') but did not declare the model classes as abstract.
This caused the form generator to treat both 'Brand' and 'PluginBrand' as
being both different models and generating multiple forms.

You just have to know it :-)


-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Daniel Kucharski
Sent: donderdag 5 augustus 2010 16:05
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] Re: issues after moving form code to a plugin

The Brand is defined in the plugin's schema.yml as follow.  Nothing fancy
at all.  PluginBrandForm extends BaseBrandForm.

Brand:
  columns:
id:
  type: integer(4)
  primary: true
  notnull: true
  autoincrement: true
name:
  type: string(150)
url:
  type: string(100)
external_reference:
  type: string(100)
display_in_overview:
  type: boolean
text:
  type: clob(65535)
deleted_by:
  type: integer(4)
  relations:
BrandMediaItems:
  class: BrandMediaItem
  local: id
  foreign: brand_id
  type: many
  actAs:
CustomTimestampable:
I18n:
  fields: [text]
Archiveable:
Publishable:
Siteable:
SoftDelete:



> What's the underlying inheritance structure? Is the BrandForm model
> represented by a Doctrine behavior plugin? The schema would be useful.
>
> Kind regards,
> Johannes
>
> On 5 Aug., 09:38, "Daniel Kucharski"  wrote:
>> Hi,
>>
>> Thanks for taking time to look into the issue.  I tried what you did and
>> moved the plugin out of the project, rebuild the doctrine classes with a
>> dummy model and moved the plugin back in.  However I am still facing the
>> same issue.  Any other clues?
>>
>> I am using Symfony 1.4.6 by the way.
>>
>> > Sorry, you're right the Plugin* class should be generated inside the
>> > plugin's lib/ folder, not in the project's lib/ folder. Hmm, did you
>> try
>> > moving everything concerning your plugin out of the project, rebuild,
>> then
>> > move it back and rebuild again. I've never had this happening and I've
>> > written a lot of Doctrine plugins. :)
>>
>> > Sent from my iPhone
>>
>> > On Aug 4, 2010, at 11:45 PM, "Daniel Kucharski" 
>> > wrote:
>>
>> >> In,
>>
>> >> In the progress of moving some of my doctrine / symphony 1.4 based
>> >> project to a plugin I am facing problems generating form classess
>> >> located in the new plugin.
>>
>> >> Beneath an excerpt of generated classes in this folder:
>>
>> >> /lib/forms/base/PluginBrandForm.class.php
>>
>> >> /lib/forms/doctrine/base/BasePluginBrandForm.class.php
>>
>> >> /lib/forms/sfXeriasPlugin/BrandForm.class.php
>>
>> >> /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php
>>
>> >> I don t understand why /lib/forms/base/PluginBrandForm.class.php was
>> >> generated and why /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php
>> >> extends class PluginBrandForm
>>
>> >> I already have rebuild the whole project and of course cleared the
>> >> cache.  Anyone thoughts how to resolve this issue?
>>
>> >> Additional info: the project itself has no forms anymore, everything
>> has
>> >> been moved to the plugin.
>>
>> >> Kind regards,
>>
>> >> Daniel
>>
>> >> --
>> >> 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, send email to symfony-users@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> symfony-users+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >>http://groups.google.com/group/symfony-users?hl=en
>>
>> > --
>> > 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, send email to symfony-users@googlegroups.com
>> > To unsubscribe from this group, se

Re: [symfony-users] Re: issues after moving form code to a plugin

2010-08-05 Thread Daniel Kucharski
The Brand is defined in the plugin's schema.yml as follow.  Nothing fancy
at all.  PluginBrandForm extends BaseBrandForm.

Brand:
  columns:
id:
  type: integer(4)
  primary: true
  notnull: true
  autoincrement: true
name:
  type: string(150)
url:
  type: string(100)
external_reference:
  type: string(100)
display_in_overview:
  type: boolean
text:
  type: clob(65535)
deleted_by:
  type: integer(4)
  relations:
BrandMediaItems:
  class: BrandMediaItem
  local: id
  foreign: brand_id
  type: many
  actAs:
CustomTimestampable:
I18n:
  fields: [text]
Archiveable:
Publishable:
Siteable:
SoftDelete:



> What's the underlying inheritance structure? Is the BrandForm model
> represented by a Doctrine behavior plugin? The schema would be useful.
>
> Kind regards,
> Johannes
>
> On 5 Aug., 09:38, "Daniel Kucharski"  wrote:
>> Hi,
>>
>> Thanks for taking time to look into the issue.  I tried what you did and
>> moved the plugin out of the project, rebuild the doctrine classes with a
>> dummy model and moved the plugin back in.  However I am still facing the
>> same issue.  Any other clues?
>>
>> I am using Symfony 1.4.6 by the way.
>>
>> > Sorry, you're right the Plugin* class should be generated inside the
>> > plugin's lib/ folder, not in the project's lib/ folder. Hmm, did you
>> try
>> > moving everything concerning your plugin out of the project, rebuild,
>> then
>> > move it back and rebuild again. I've never had this happening and I've
>> > written a lot of Doctrine plugins. :)
>>
>> > Sent from my iPhone
>>
>> > On Aug 4, 2010, at 11:45 PM, "Daniel Kucharski" 
>> > wrote:
>>
>> >> In,
>>
>> >> In the progress of moving some of my doctrine / symphony 1.4 based
>> >> project to a plugin I am facing problems generating form classess
>> >> located in the new plugin.
>>
>> >> Beneath an excerpt of generated classes in this folder:
>>
>> >> /lib/forms/base/PluginBrandForm.class.php
>>
>> >> /lib/forms/doctrine/base/BasePluginBrandForm.class.php
>>
>> >> /lib/forms/sfXeriasPlugin/BrandForm.class.php
>>
>> >> /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php
>>
>> >> I don t understand why /lib/forms/base/PluginBrandForm.class.php was
>> >> generated and why /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php
>> >> extends class PluginBrandForm
>>
>> >> I already have rebuild the whole project and of course cleared the
>> >> cache.  Anyone thoughts how to resolve this issue?
>>
>> >> Additional info: the project itself has no forms anymore, everything
>> has
>> >> been moved to the plugin.
>>
>> >> Kind regards,
>>
>> >> Daniel
>>
>> >> --
>> >> 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, send email to symfony-users@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> symfony-users+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >>http://groups.google.com/group/symfony-users?hl=en
>>
>> > --
>> > 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, send email to symfony-users@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > symfony-users+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/symfony-users?hl=en
>>
>>
>
> --
> 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, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>


-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] issues after moving form code to a plugin

2010-08-05 Thread Daniel Kucharski
Hi,

Thanks for taking time to look into the issue.  I tried what you did and
moved the plugin out of the project, rebuild the doctrine classes with a
dummy model and moved the plugin back in.  However I am still facing the
same issue.  Any other clues?

I am using Symfony 1.4.6 by the way.



> Sorry, you're right — the Plugin* class should be generated inside the
> plugin's lib/ folder, not in the project's lib/ folder. Hmm, did you try
> moving everything concerning your plugin out of the project, rebuild, then
> move it back and rebuild again. I've never had this happening and I've
> written a lot of Doctrine plugins. :)
>
> Sent from my iPhone
>
> On Aug 4, 2010, at 11:45 PM, "Daniel Kucharski" 
> wrote:
>
>> In,
>>
>>
>>
>> In the progress of moving some of my doctrine / symphony 1.4 based
>> project to a plugin I am facing problems generating form classess
>> located in the new plugin.
>>
>>
>>
>> Beneath an excerpt of generated classes in this folder:
>>
>>
>>
>> /lib/forms/base/PluginBrandForm.class.php
>>
>> /lib/forms/doctrine/base/BasePluginBrandForm.class.php
>>
>> /lib/forms/sfXeriasPlugin/BrandForm.class.php
>>
>> /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php
>>
>>
>>
>> I don’t understand why /lib/forms/base/PluginBrandForm.class.php was
>> generated and why /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php
>> extends class PluginBrandForm
>>
>>
>>
>>
>>
>> I already have rebuild the whole project and of course cleared the
>> cache.  Anyone thoughts how to resolve this issue?
>>
>> Additional info: the project itself has no forms anymore, everything has
>> been moved to the plugin.
>>
>>
>>
>> Kind regards,
>>
>>
>>
>> Daniel
>>
>>
>>
>> --
>> 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, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>
> --
> 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, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>


-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] issues after moving form code to a plugin

2010-08-04 Thread Daniel Kucharski
In,

 

In the progress of moving some of my doctrine / symphony 1.4 based project
to a plugin I am facing problems generating form classess located in the new
plugin.

 

Beneath an excerpt of generated classes in this folder:

 

/lib/forms/base/PluginBrandForm.class.php

/lib/forms/doctrine/base/BasePluginBrandForm.class.php

/lib/forms/sfXeriasPlugin/BrandForm.class.php

/lib/forms/sfXeriasPlugin/BaseBrandForm.class.php

 

I don't understand why /lib/forms/base/PluginBrandForm.class.php was
generated and why /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php extends
class PluginBrandForm

 

 

I already have rebuild the whole project and of course cleared the cache.
Anyone thoughts how to resolve this issue?

Additional info: the project itself has no forms anymore, everything has
been moved to the plugin.

 

Kind regards,

 

Daniel

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Conditional based redirects

2010-07-23 Thread Daniel Kucharski
Yes, that is indeed a possibility (it corresponds to the second choice I
mentioned before).  I am still searching for something which is more
sustainable (if existent)

 

 

From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Joshua Estes
Sent: vrijdag 23 juli 2010 14:56
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] Conditional based redirects

 

Could you set a user attribute during step 1 and on your last step it checks
for that and sends user to the url?

On Jul 23, 2010 3:49 AM, "Daniel Kucharski"  wrote:

Hi,

 

Sometimes I find myself often in a situation where I need to redirect from a
given action based on how the current action was reached.

For example, from a customer list a user can add a customer(which can be a
multiple step form), which will redirect back to the customer list.
However, a customer can also be created through a web dashboard and should
redirect the user after creating the new customer back to the web dashboard.


 

Some solutions that came in my mind using Symfonfy capabilities:

-  Encode the call back route in the requested url (eg.
/customer/create?redirect_after_create=dashboard_overview).  However this
means you won't have any nice urls anymore.

-  Create a new filter and store redirect data in session.  This
will be then used to 'look back' where the user came from.

 

Both are not really easily maintainable and a bit 'ugly'.  Anyone has any
other solution?

 

 

Kind regards,

 

Daniel

 

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
<mailto:symfony-users%2bunsubscr...@googlegroups.com> 
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Conditional based redirects

2010-07-23 Thread Daniel Kucharski
Hi,

 

Sometimes I find myself often in a situation where I need to redirect from a
given action based on how the current action was reached.

For example, from a customer list a user can add a customer(which can be a
multiple step form), which will redirect back to the customer list.
However, a customer can also be created through a web dashboard and should
redirect the user after creating the new customer back to the web dashboard.


 

Some solutions that came in my mind using Symfonfy capabilities:

-  Encode the call back route in the requested url (eg.
/customer/create?redirect_after_create=dashboard_overview).  However this
means you won't have any nice urls anymore.

-  Create a new filter and store redirect data in session.  This
will be then used to 'look back' where the user came from.

 

Both are not really easily maintainable and a bit 'ugly'.  Anyone has any
other solution?

 

 

Kind regards,

 

Daniel

 

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] help

2010-05-13 Thread Daniel Kucharski
You need to save the 'personne' object before sending the mail

$this->form->getObject()->save();


-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of safa boubekri
Sent: donderdag 13 mei 2010 11:27
To: symfony-users
Subject: [symfony-users] help

hello  every body

i put this code

 public function executeCreate(sfWebRequest $request)
 {

 $this -> formpersonne= new personneForm();
 $this->form = $this->configuration->getForm($this->personne);

if ($request->isMethod('post'))
{
$this->form->bind($request->getParameter($this->form->getName()));

if ($this->form->isValid())
{

$head = "From: Admin <.$email_admin.>\n";

 $object  = 'inscription reussite';
 $message='je vous informe  que vous êtes  inscrit dans  votre association';
 $email=$this->form->getValue('Email');

mail($email, $object, $message, $head);
sfView::NONE;

return $this->redirect($this->getRequest()->getReferer());

}

the MSG has be  send successfuly  but  the  data  doest  add in the database


thank you

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Server crash instead of errors

2010-05-06 Thread Daniel Kucharski
Hi,
I had a similar problem and it turned out to be mysql which was dumping
(wamp installation).   After reinstalling the latest WAMP version problems
were solved.

-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Amadeus
Sent: donderdag 6 mei 2010 19:46
To: symfony users
Subject: [symfony-users] Server crash instead of errors

I am running the latest sf 1.4. In the past 2 weeks or so I noticed
that I rarely get errors dumped to screen in dev mode. Instead my
browser (safari on osx) says:

Safari can't open the page "xyz" because the server unexpectedly
dropped the connection. This sometimes occurs when the server is busy.
Wait for a few minutes, and then try again.

Firefox just shows a blank page.

I am not sure what happened to change this. I am definitely still in
dev mode.  I am also running doctrine. svn updates did not help.

Anyone experience this?  Kinda hard to debug now

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] i18n with technical names instead of text

2010-04-30 Thread Daniel Kucharski
Hi,

 

Is it possible to use technical names such as 'loginForm.sendButton' or
'mainPage.linkToLogin' instead of the actual text for the default culture
in any view template  and have it translated through I18n based upon the
culture?  

Kind regards,

 

Daniel

 

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Routing cache and memory usage

2010-03-19 Thread Daniel Kucharski
This is interesting.  How do you cache it? (and does it also work with APC?)

Kind regards,

Daniel

-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Eno
Sent: woensdag 17 maart 2010 15:13
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] Routing cache and memory usage

On Wed, 17 Mar 2010, Bruno Reis wrote:

> Is there a way to keep using the routing cache, but to exclude some routes
> from the cache? Or maybe a way to not cache the slug (parameter) part of
the
> route?

We're caching routes in memcache :-)



-- 


-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


[symfony-users] bypass cache after redirect

2010-02-28 Thread Daniel Kucharski
Hi all,

 

 

When I switch the user language for my project ( I switch just back to the
homepage in the newly set language) I notice that Internet Explorer displays
the homepage in the previous language.  Using DebugBar I found out the
homepage appears to be cached by Internet Explorer.  Is there a way to force
the browser cache to be temporary disabled when the user requests to switch
language?

 

Kind regards,

 

Daniel

 

-- 
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, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


RE: [symfony-users] Doctrine - how to detect if behavior exists

2010-02-10 Thread Daniel Kucharski
Thanks Daniel, that'll do.

 

From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Daniel Lohse
Sent: woensdag 10 februari 2010 11:10
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] Doctrine - how to detect if behavior exists

 

Yes, that's possible.

 

Inside the model class, do:

 

$this->getTable()->hasTemplate('Timestampable')

 

You can also do getTemplates() which returns all attached templates (=
behaviors).

 

Cheers, Daniel

 

On 10.02.2010, at 08:51, Daniel Kucharski wrote:





Hi,

 

Is it possible to detect if for a given model class a specific behavior
exists?  (eg. Does the Timestampable behavior exists for model class User)

 

Kind regards,

 

Daniel

 

 

 

-- 
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 to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

 

-- 
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 to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

-- 
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 to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Doctrine - how to detect if behavior exists

2010-02-09 Thread Daniel Kucharski
Hi,

 

Is it possible to detect if for a given model class a specific behavior
exists?  (eg. Does the Timestampable behavior exists for model class User)

 

Kind regards,

 

Daniel

 

 

-- 
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 to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



RE: [symfony-users] URL Trouble

2010-02-04 Thread Daniel Kucharski
You can write mod rewrite rules in your .htaccess file and indicate it is
permanently moved:
I have for one of my projects:

RewriteRule ^dealers.php http://www.thesite.com/nl/dealers [R=301,L]



-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of versanu dragos
Sent: donderdag 4 februari 2010 23:17
To: symfony users
Cc: vers...@gmail.com
Subject: [symfony-users] URL Trouble

Hello,

I have a site made with symfony 1.1 and i whant to change it with
another site made with 1.2.
my proplem is that i whant to change some URL...
For example i have a url thath looks like this on my old site:
http://www.sejur-extern.ro/Egipt/Sharm-El-Sheikh

On my new site it will be:
http://www.sejur-extern.ro/turism-extern/Egipt/Sharm-El-Sheikh.html

How can i get the old url if google sends someone on it...and change
it in my new one?

Thank you!

-- 
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 to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.


-- 
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 to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



[symfony-users] Error installing Propel 1.5 plugin

2009-12-29 Thread Daniel Kucharski
Hi, 

 

I am trying to install the new propel plugin but struggle to install it on
my 1.3 system.  What am I missing?  PS, I also noticed that the plugin
status is still alpha.  Anybody already using it?

 

 

symfony plugin:install sfPropel15Plugin-0.5.5.tgz

 



 

>> sfPearFrontendPlugin Download of "symfony-plugins/sfPropel15Plugin"
succeeded, but

>> sfPearFrontendPlugin it is not a valid package archive

>> sfPearFrontendPlugin Error: cannot download
"symfony-plugins/sfPropel15Plugin"

 

 

 

--

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 to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




RE: [symfony-users] Hotels & airfare for Symfony Live

2009-12-22 Thread Daniel Kucharski
Hi Tom,

When I was working in Paris (two years ago) I used to book through following
websites:


http://www.bsp-hotels.com
http://www.hotel-paris.net/


I always suggest to take a 3 star hotels but this depends of course of your
budget.  I have had multiple times bad experiences with 2 star hotels.  But
maybe I have a high standard :-p

Another option is the 'Campanile' hotel chain which give a fair quality of
service (usually 2 star hotels but they really are OK).

http://www.campanile.com


Hope you'll find something :-)
 

-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Tom Boutell
Sent: dinsdag 22 december 2009 15:29
To: symfony-users@googlegroups.com
Subject: [symfony-users] Hotels & airfare for Symfony Live

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 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 to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.



--

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 to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




RE: [symfony-users] I can't see the images of the "default" module.

2009-12-19 Thread Daniel Kucharski
Check if your /sf alias in your http config is pointing to the right
directory.


-Original Message-
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of tirengarfio
Sent: vrijdag 18 december 2009 21:23
To: symfony users
Subject: [symfony-users] I can't see the images of the "default" module.

Hi,

i have instaled XAMPP (for linux) and then i have installed symfony in
/opt/lampp/htdocs/my_proyect/lib/vendor.

Now i cant see the images of the "default" module. I have change the
permissions, even from the /opt folder, but the problem persists...

Any idea?

Bye

Javi

--

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 to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.



--

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 to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




RE: [symfony-users] Re: DBFinderPlugin future

2009-11-19 Thread Daniel Kucharski
It would be indeed nice if some effort could be made to get this plugin
working on symfony 1.3/1.4.  I can't migrate my 1.2 project to 1.3 as it
heavily depends on this plugin.  My original plan was to migrate my project
at some point in the future to Doctrine and ease the transaction-pain by
temporary using the dbfinderplugin to write propel (criteria) queries.

Go go :-)

  
-Original Message-
From: Jan Fabry [mailto:jan.fa...@monkeyman.be] 
Sent: Thursday, November 19, 2009 15:05
To: symfony users
Subject: [symfony-users] Re: DBFinderPlugin future

On Nov 19, 12:20 pm, Gareth McCumskey  wrote:
> You can stick with Propel can't you? Doctrine is only the default plugin
and
> can be changed to use Propel instead.

Yes, the standard functionality of DbFinder might work (the simpler
querying), but I was thinking about the admin generator stuff.
However, it seems that does not even work too well under Symfony 1.2,
so it might be better to just go with 1.3, and do the required admin
changes manually, or with other plugins.

Still, it would be nice to have a current, working and widely used
DbFinderPlugin, certainly with the transition to Doctrine as the
default ORM. Is anyone still motivated to look at the open bugs, or is
extra help required to get them fixed?

Greetings,

Jan Fabry

>
> On Thu, Nov 19, 2009 at 11:18 AM, Jan Fabry 
wrote:
> > Hello,
>
> > Is anyone working on updating DbFinderPlugin for Symfony 1.3/1.4, and
> > the included versions of the ORM frameworks? I don't know whether
> > François will spend more time on it, and I don't see any other
> > activity.
>
> > I would like to use it for a new project, but I guess the best way to
> > do this is start with Symfony 1.2 now, wait for the plugin, and
> > upgrade to 1.3/1.4 when it is ready?
>
> > If it is clear that no-one is planning to spend time on it, I might
> > try it. I come from a Propel background, but my knowledge of the
> > internals of Doctrine and Symfony needs work.
>
> > Greetings,
>
> > Jan Fabry
>
> > --
>
> > 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.
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=.
>
> --
> Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> twitter: @garethmcc

--

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.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=.



--

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.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=.




RE: [symfony-users] symfony 1.3 - propel build error

2009-11-19 Thread Daniel Kucharski
Fabian,

I updated the symfony library to the latest SVN version, now it works fine.

-Original Message-
From: Fabian Lange [mailto:fabian.la...@symfony-project.com] 
Sent: Wednesday, November 18, 2009 16:29
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] symfony 1.3 - propel build error

Is that using the latest RC/SVN?
I think there has been a bug, but this should be fixed.
I checked my project and it works
Fabian

On Wed, Nov 18, 2009 at 2:38 PM, Daniel Kucharski 
wrote:
> Here you are:
>
> BaseBloggableHasTagPeer.php à http://pastebin.org/54843
>
> Schema.yml à http://pastebin.org/54845
>
>
>
>
>
> From: Alexandre SALOME [mailto:alexandre.sal...@gmail.com]
> Sent: Wednesday, November 18, 2009 13:07
> To: symfony-users@googlegroups.com
> Subject: Re: [symfony-users] symfony 1.3 - propel build error
>
>
>
> Could you create a pastebin with the full BasePeer code, and one with your
> model definition ?
>
> Thanks,
>
> Alexandre
>
> 2009/11/18 Daniel Kucharski 
>
> Hi,
>
>
>
> I am trying to port a symfony 1.2 application to 1.3.  When regenerating
the
> model, I get following parse error below.  It looks that something goes
> wrong when the  symfony behaviors code is added to the propel generated
code
> (a ‘}’ for closing the method doUpdate is missing).  Anybody any idea how
to
> resolve this issue?
>
>
>
> D:\wamp\www\xerias_13>php symfony propel:build --all-classes
>
>>> schema    converting "D:/wamp/www/xerias_13/config/schema.yml" to XML
>
>>> schema    putting D:/wamp/www/xerias_13/config/generated-schema.xml
>
>>> propel    Running "om" phing task
>
>>> file- D:/wamp/www/xerias_13/config/generated-schema.xml
>
>>> file- D:/wamp/www/xerias_13/config/generated-schema-transformed.xml
>
>>> autoload  Resetting application autoloaders
>
>>> file-
>>> D:/wamp/www/xerias_13/cache/fro.../config/config_autoload.yml.php
>
>>> propel    generating form classes
>
> PHP Parse error:  parse error, expecting `T_FUNCTION' in
> D:\wamp\www\xerias_13\l
>
> ib\model\om\BaseBloggableHasTagPeer.php on line 1597
>
>
>
>
>
> To be more specific, this is the context:
>
>
>
>     $ret = BasePeer::doUpdate($selectCriteria, $criteria,
$con);
>
>     }
>
>     // symfony_behaviors behavior
>
>     foreach
(sfMixer::getCallables('BaseBloggableHasTagPeer:doUpdate:post')
> as $sf_hook)
>
>     {
>
>   call_user_func($sf_hook, 'BaseBloggableHasTagPeer', $values, $con,
> $ret);
>
>     }
>
>
>
>     return $ret;
>
> // LINE 1597
>
>
>
>     /**
>
>      * Method to DELETE all rows from the bloggable_has_tag
> table.
>
>      *
>
>      * @return int The number of affected rows (if
supported
> by underlying database driver).
>
>      */
>
>     public static function doDeleteAll($con = null)
>
>
>
>
>
>
>
> --
>
> 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.
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=.
>
>
> --
> Alexandre Salomé -- alexandre.sal...@gmail.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.
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=.
>
> --
>
> 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.
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=.
>

--

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.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=.



--

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.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=.




RE: [symfony-users] symfony 1.3 - propel build error

2009-11-18 Thread Daniel Kucharski
Hi,  I am indeed using the 1.3RC1 (sandbox install).

Could you give me a reference to the bug solution so I can check if it is
already present?

-Original Message-
From: Fabian Lange [mailto:fabian.la...@symfony-project.com] 
Sent: Wednesday, November 18, 2009 16:29
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] symfony 1.3 - propel build error

Is that using the latest RC/SVN?
I think there has been a bug, but this should be fixed.
I checked my project and it works
Fabian

On Wed, Nov 18, 2009 at 2:38 PM, Daniel Kucharski 
wrote:
> Here you are:
>
> BaseBloggableHasTagPeer.php à http://pastebin.org/54843
>
> Schema.yml à http://pastebin.org/54845
>
>
>
>
>
> From: Alexandre SALOME [mailto:alexandre.sal...@gmail.com]
> Sent: Wednesday, November 18, 2009 13:07
> To: symfony-users@googlegroups.com
> Subject: Re: [symfony-users] symfony 1.3 - propel build error
>
>
>
> Could you create a pastebin with the full BasePeer code, and one with your
> model definition ?
>
> Thanks,
>
> Alexandre
>
> 2009/11/18 Daniel Kucharski 
>
> Hi,
>
>
>
> I am trying to port a symfony 1.2 application to 1.3.  When regenerating
the
> model, I get following parse error below.  It looks that something goes
> wrong when the  symfony behaviors code is added to the propel generated
code
> (a ‘}’ for closing the method doUpdate is missing).  Anybody any idea how
to
> resolve this issue?
>
>
>
> D:\wamp\www\xerias_13>php symfony propel:build --all-classes
>
>>> schema    converting "D:/wamp/www/xerias_13/config/schema.yml" to XML
>
>>> schema    putting D:/wamp/www/xerias_13/config/generated-schema.xml
>
>>> propel    Running "om" phing task
>
>>> file- D:/wamp/www/xerias_13/config/generated-schema.xml
>
>>> file- D:/wamp/www/xerias_13/config/generated-schema-transformed.xml
>
>>> autoload  Resetting application autoloaders
>
>>> file-
>>> D:/wamp/www/xerias_13/cache/fro.../config/config_autoload.yml.php
>
>>> propel    generating form classes
>
> PHP Parse error:  parse error, expecting `T_FUNCTION' in
> D:\wamp\www\xerias_13\l
>
> ib\model\om\BaseBloggableHasTagPeer.php on line 1597
>
>
>
>
>
> To be more specific, this is the context:
>
>
>
>     $ret = BasePeer::doUpdate($selectCriteria, $criteria,
$con);
>
>     }
>
>     // symfony_behaviors behavior
>
>     foreach
(sfMixer::getCallables('BaseBloggableHasTagPeer:doUpdate:post')
> as $sf_hook)
>
>     {
>
>   call_user_func($sf_hook, 'BaseBloggableHasTagPeer', $values, $con,
> $ret);
>
>     }
>
>
>
>     return $ret;
>
> // LINE 1597
>
>
>
>     /**
>
>      * Method to DELETE all rows from the bloggable_has_tag
> table.
>
>      *
>
>      * @return int The number of affected rows (if
supported
> by underlying database driver).
>
>      */
>
>     public static function doDeleteAll($con = null)
>
>
>
>
>
>
>
> --
>
> 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.
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=.
>
>
> --
> Alexandre Salomé -- alexandre.sal...@gmail.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.
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=.
>
> --
>
> 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.
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=.
>

--

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.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=.



--

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.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




RE: [symfony-users] symfony 1.3 - propel build error

2009-11-18 Thread Daniel Kucharski
Here you are:

BaseBloggableHasTagPeer.php à http://pastebin.org/54843

Schema.yml à http://pastebin.org/54845

 

 

From: Alexandre SALOME [mailto:alexandre.sal...@gmail.com] 
Sent: Wednesday, November 18, 2009 13:07
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] symfony 1.3 - propel build error

 

Could you create a pastebin  <http://pastebin.com/> with the full BasePeer
code, and one with your model definition ?

Thanks,

Alexandre

2009/11/18 Daniel Kucharski 

Hi, 

 

I am trying to port a symfony 1.2 application to 1.3.  When regenerating the
model, I get following parse error below.  It looks that something goes
wrong when the  symfony behaviors code is added to the propel generated code
(a ‘}’ for closing the method doUpdate is missing).  Anybody any idea how to
resolve this issue?

 

D:\wamp\www\xerias_13>php symfony propel:build --all-classes

>> schemaconverting "D:/wamp/www/xerias_13/config/schema.yml" to XML

>> schemaputting D:/wamp/www/xerias_13/config/generated-schema.xml

>> propelRunning "om" phing task

>> file- D:/wamp/www/xerias_13/config/generated-schema.xml

>> file- D:/wamp/www/xerias_13/config/generated-schema-transformed.xml

>> autoload  Resetting application autoloaders

>> file-
D:/wamp/www/xerias_13/cache/fro.../config/config_autoload.yml.php

>> propelgenerating form classes

PHP Parse error:  parse error, expecting `T_FUNCTION' in
D:\wamp\www\xerias_13\l

ib\model\om\BaseBloggableHasTagPeer.php on line 1597

 

 

To be more specific, this is the context:

 

$ret = BasePeer::doUpdate($selectCriteria, $criteria, $con);

}

// symfony_behaviors behavior

foreach (sfMixer::getCallables('BaseBloggableHasTagPeer:doUpdate:post')
as $sf_hook)

{

  call_user_func($sf_hook, 'BaseBloggableHasTagPeer', $values, $con,
$ret);

}

 

return $ret; 

// LINE 1597

 

/**

 * Method to DELETE all rows from the bloggable_has_tag
table.

 *

 * @return int The number of affected rows (if supported
by underlying database driver).

 */

public static function doDeleteAll($con = null)

 

 

 

--

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.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=.




-- 
Alexandre Salomé -- alexandre.sal...@gmail.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.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=.

--

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.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=.




[symfony-users] symfony 1.3 - propel build error

2009-11-17 Thread Daniel Kucharski
Hi, 

 

I am trying to port a symfony 1.2 application to 1.3.  When regenerating the
model, I get following parse error below.  It looks that something goes
wrong when the  symfony behaviors code is added to the propel generated code
(a '}' for closing the method doUpdate is missing).  Anybody any idea how to
resolve this issue?

 

D:\wamp\www\xerias_13>php symfony propel:build --all-classes

>> schemaconverting "D:/wamp/www/xerias_13/config/schema.yml" to XML

>> schemaputting D:/wamp/www/xerias_13/config/generated-schema.xml

>> propelRunning "om" phing task

>> file- D:/wamp/www/xerias_13/config/generated-schema.xml

>> file- D:/wamp/www/xerias_13/config/generated-schema-transformed.xml

>> autoload  Resetting application autoloaders

>> file-
D:/wamp/www/xerias_13/cache/fro.../config/config_autoload.yml.php

>> propelgenerating form classes

PHP Parse error:  parse error, expecting `T_FUNCTION' in
D:\wamp\www\xerias_13\l

ib\model\om\BaseBloggableHasTagPeer.php on line 1597

 

 

To be more specific, this is the context:

 

$ret = BasePeer::doUpdate($selectCriteria, $criteria, $con);

}

// symfony_behaviors behavior

foreach (sfMixer::getCallables('BaseBloggableHasTagPeer:doUpdate:post')
as $sf_hook)

{

  call_user_func($sf_hook, 'BaseBloggableHasTagPeer', $values, $con,
$ret);

}

 

return $ret; 

// LINE 1597

 

/**

 * Method to DELETE all rows from the bloggable_has_tag
table.

 *

 * @return int The number of affected rows (if supported
by underlying database driver).

 */

public static function doDeleteAll($con = null)

 

 

 

--

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.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=.




[symfony-users] Re: The big memory issue

2009-09-28 Thread Daniel Kucharski

Hi Tom,

Thanks for the tip, I implemented APC and noticed that the login page now
dropped from 22 MB to just 7 MB.  Still lots in my opinion but it is
already a good step in the right direction.

However I do notice as I am on a private Virtual private Server with just
512 MB that this APC is consuming lots of memory.  I have the feeling that
for each apache process a seperate APC cache exists.  Isn't it possible to
have just _one_ apc cache?   I notice that i am hitting VPS memory limits.

>
> " 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 Apache).
>
> You will also experience a huge jump in performance because you won't
> be waiting for the compiler on every access.
>
> The impact of APC is so great that there is really no sense in trying
> to address Symfony performance and memory usage issues until you
> implement APC and evaluate the benefits.
>
> I did tests similar to yours and complained on the doctrine-users
> list, not realizing that compilation had such a high memory overhead
> (of course I understood that it took time). I'm glad I listed to the
> suggestion to implement APC.
>
> Check your phpinfo() to see if APC is already available. If not
> install it via your system's package manager or, if it is not
> available as an OS distribution package,do this:
>
> pecl install apc
>
> Then set it up in php.ini:
>
> ; Must enable APC otherwise we compile all of Symfony on every hit
> extension=apc.so
> ; Give APC enough shared memory to handle symfony, Doctrine, etc. This
> is a generous figure
> apc.shm_size = 48
> apc.include_once_override = 1
> apc.mmap_file_mask = /tmp/apc.XX
>
> Then restart Apache and watch your memory usage plummet.
>
> On Sep 28, 6:03 am, "Daniel Kucharski"  wrote:
>> Hi,
>>
>> Thank you very much for your quick response.  I'll keep this in mind
>> while
>> querying and hydrating objects.
>>
>> However, the problem is actually that i already have a very high memory
>> consumption even before anything from the database is queried.  If you
>> check the trace, you'll notice that already 16MB is consumed before any
>> querying occurs.
>>
>>
>>
>> > First off the cache is there to reduce memory consumption as when your
>> > cache
>> > is clear symfony will need to rebuild all the cache files and so that
>> > first
>> > run after a cleared cache is very high.
>>
>> > One way to reduce your memory footprint is in the Propel criteria you
>> use
>> > and the data returned. Propel's hydration of returned data into
>> objects
>> > can
>> > be quite high. We have actually used the Propel method doSelectRS
>> > (doSelectStmt in Propel 1.3) and selectively chosen which fields the
>> query
>> > should return as well as then iterating through the result set
>> ourselves
>> > and
>> > adding them to an array instead of having fully hydrated objects which
>> can
>> > be memory hogs.
>>
>> > For small queries where the number of results returned is always going
>> to
>> > be
>> > small, doSelect as is is great, but for large, unwieldy datasets its a
>> > better idea to use doSelectRS/doSelectStmt and then manage the results
>> > yourself.
>>
>> > Another tip, always use retriveByPk and doSelectOne whenever you can
>> as
>> > that
>> > is the same as running a query with "LIMIT 1" set and is also far more
>> > memory efficient than doing a fully hydrated doSelect().
>>
>> > On Sat, Sep 26, 2009 at 11:05 AM, Inspiran  wrote:
>>
>> >> Hi,
>>
>> >> I am already struggling for some time with my symfony application.
>> >> After clearing the cache my application consumes between 50 and 60
>> >> MB.  Without a clear cache the average consumption is between 15 and
>> >> 30 MB.  I find this a rather high number.  I am using symfony 1.2.8 ,
>> >> propel ORM and around 50 routes (no propel collections, just propel
>> >> routes).  I have 50 object / tables.
>>
>> >> I have installed and looked at the trace generated by xdebug and
>> >> notice that even before any action is really loaded, it already
>> >> consumes up to 20MB.  The things I tried to already lower t

[symfony-users] Re: The big memory issue

2009-09-28 Thread Daniel Kucharski

Hi,

Thank you very much for your quick response.  I'll keep this in mind while
querying and hydrating objects.

However, the problem is actually that i already have a very high memory
consumption even before anything from the database is queried.  If you
check the trace, you'll notice that already 16MB is consumed before any
querying occurs.

> First off the cache is there to reduce memory consumption as when your
> cache
> is clear symfony will need to rebuild all the cache files and so that
> first
> run after a cleared cache is very high.
>
> One way to reduce your memory footprint is in the Propel criteria you use
> and the data returned. Propel's hydration of returned data into objects
> can
> be quite high. We have actually used the Propel method doSelectRS
> (doSelectStmt in Propel 1.3) and selectively chosen which fields the query
> should return as well as then iterating through the result set ourselves
> and
> adding them to an array instead of having fully hydrated objects which can
> be memory hogs.
>
> For small queries where the number of results returned is always going to
> be
> small, doSelect as is is great, but for large, unwieldy datasets its a
> better idea to use doSelectRS/doSelectStmt and then manage the results
> yourself.
>
> Another tip, always use retriveByPk and doSelectOne whenever you can as
> that
> is the same as running a query with "LIMIT 1" set and is also far more
> memory efficient than doing a fully hydrated doSelect().
>
> On Sat, Sep 26, 2009 at 11:05 AM, Inspiran  wrote:
>
>>
>> Hi,
>>
>> I am already struggling for some time with my symfony application.
>> After clearing the cache my application consumes between 50 and 60
>> MB.  Without a clear cache the average consumption is between 15 and
>> 30 MB.  I find this a rather high number.  I am using symfony 1.2.8 ,
>> propel ORM and around 50 routes (no propel collections, just propel
>> routes).  I have 50 object / tables.
>>
>> I have installed and looked at the trace generated by xdebug and
>> notice that even before any action is really loaded, it already
>> consumes up to 20MB.  The things I tried to already lower the memory
>> foot print:
>>
>> - Removed comments from the Object and Peer classes
>> - Created my own Peer and ObjectBuilder which removes dozens of
>> methods which i don't use (such as joinExcept...,
>> docount...except, ...).
>> - Cleaned up all my routes (i removed the propelRouteCollections)
>> - Tried to use 'sfNoCache' for the routing class.
>>
>> Still I am not reallying seeing a way how to lower the memory
>> footprint.  Could somebody help me to understand what my next steps
>> should be?
>>
>> I have created two traces (one just after clearing the cache and next
>> one after refreshing the page) which can be found here
>> http://inspiran.be/traces.zip
>>
>>
>> Thank you very much!
>>
>> >
>>
>
>
> --
> Gareth McCumskey
> http://garethmccumskey.blogspot.com
> twitter: @garethmcc
>
> >
>



--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---