[symfony-users] Re: Conception problem... Module / Application

2008-06-13 Thread obalais

Hi,

I finally chose Richtermeister's solution. I will apply different
layout, template and products list according to a :boutique parameter
passed in the url, just before the module/action route..

Thank you all

Olivier

On 12 juin, 19:02, Richtermeister <[EMAIL PROTECTED]> wrote:
> Hey Olivier,
>
> I would build one app with all the required modules for a store
> (catalog, checkout, account, etc),
> and make each module smart enough to customize itself based on certain
> parameters, such as the url.
> Then you can swap out layout, templates, stylesheets etc, based on
> store configuration settings.
>
> At least fo me having separate apps that fundamentally do the same
> thing sounds wrong.
>
> My 2 cents,
> Daniel
>
> On Jun 11, 11:53 pm, obalais <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I read the entire dwhittle article about ysfDimensions plugin and I
> > think it can't solve my problem. The dimensions allowed values must be
> > declared in a yml configuration file. I can't edit this yml file each
> > time a member create his own online shop... Maybe I'm wrong and there
> > is a tip which should help me...
> > Nicolas, I just don't understand your solution. The shop are not
> > generated. I must have one application or one module which, according
> > to parameters in the url, shows shops with a defined template and
> > selected products...
>
> > Thanks
>
> > Olivier
>
> > On 11 juin, 21:38, Jacob Coby <[EMAIL PROTECTED]> wrote:
>
> > > Have you looked at the ysfDimensionsPlugin?
>
> > >http://trac.symfony-project.com/wiki/ysfDimensionsPlugin
>
> > > It sounds like it'll do everything you need (I have no experience with
> > > it).  Seems to be quite popular as well.
>
> > > On Jun 11, 2008, at 10:40 AM, obalais wrote:
>
> > > > Hi everyone,
>
> > > > For the purpose of a work placement, i have to develop a web
> > > > application allowing its users to create their own online shop from a
> > > > set of pre defined products.
> > > > Roughly, users, can browse the website to see a list of most recently
> > > > created shop, find some information and then sign up to create their
> > > > own.
> > > > An Url like myapplication.com/my_shop/ would then be their online shop
> > > > location.
>
> > > > To talk more about that shop, it should display the products that the
> > > > user has previously chosen, a contact page, and some other
> > > > miscellaneous informations, according to the level of customisation
> > > > that the user would potentially apply (different colors or layout for
> > > > example).
>
> > > > Well now, my problem is a design one.
> > > > In other words, I have some difficulties to find the best solution in
> > > > order to achieve that
>
> > > > Do you think I should represent those online shops as an application
> > > > module?, or as an application containing different modules(products,
> > > > categories, contact..)?
> > > > I have to admit that I would prefer the second option but also that I
> > > > unfortunatelydon't have any clue how to ensure the fact that my
> > > > application effectively displays the correct modules according to the
> > > > chosen shop.
>
> > > > I would be very pleased if anyone has an interesting opinion to share
> > > > on that subject, in order to give some advices
>
> > > > Thanking you
>
> > > > sincerely yours
>
> > > > Olivier
>
> > > --
> > > Jacob Coby
> > > [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Conception problem... Module / Application

2008-06-12 Thread Richtermeister

Hey Olivier,

I would build one app with all the required modules for a store
(catalog, checkout, account, etc),
and make each module smart enough to customize itself based on certain
parameters, such as the url.
Then you can swap out layout, templates, stylesheets etc, based on
store configuration settings.

At least fo me having separate apps that fundamentally do the same
thing sounds wrong.

My 2 cents,
Daniel



On Jun 11, 11:53 pm, obalais <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I read the entire dwhittle article about ysfDimensions plugin and I
> think it can't solve my problem. The dimensions allowed values must be
> declared in a yml configuration file. I can't edit this yml file each
> time a member create his own online shop... Maybe I'm wrong and there
> is a tip which should help me...
> Nicolas, I just don't understand your solution. The shop are not
> generated. I must have one application or one module which, according
> to parameters in the url, shows shops with a defined template and
> selected products...
>
> Thanks
>
> Olivier
>
> On 11 juin, 21:38, Jacob Coby <[EMAIL PROTECTED]> wrote:
>
> > Have you looked at the ysfDimensionsPlugin?
>
> >http://trac.symfony-project.com/wiki/ysfDimensionsPlugin
>
> > It sounds like it'll do everything you need (I have no experience with
> > it).  Seems to be quite popular as well.
>
> > On Jun 11, 2008, at 10:40 AM, obalais wrote:
>
> > > Hi everyone,
>
> > > For the purpose of a work placement, i have to develop a web
> > > application allowing its users to create their own online shop from a
> > > set of pre defined products.
> > > Roughly, users, can browse the website to see a list of most recently
> > > created shop, find some information and then sign up to create their
> > > own.
> > > An Url like myapplication.com/my_shop/ would then be their online shop
> > > location.
>
> > > To talk more about that shop, it should display the products that the
> > > user has previously chosen, a contact page, and some other
> > > miscellaneous informations, according to the level of customisation
> > > that the user would potentially apply (different colors or layout for
> > > example).
>
> > > Well now, my problem is a design one.
> > > In other words, I have some difficulties to find the best solution in
> > > order to achieve that
>
> > > Do you think I should represent those online shops as an application
> > > module?, or as an application containing different modules(products,
> > > categories, contact..)?
> > > I have to admit that I would prefer the second option but also that I
> > > unfortunatelydon't have any clue how to ensure the fact that my
> > > application effectively displays the correct modules according to the
> > > chosen shop.
>
> > > I would be very pleased if anyone has an interesting opinion to share
> > > on that subject, in order to give some advices
>
> > > Thanking you
>
> > > sincerely yours
>
> > > Olivier
>
> > --
> > Jacob Coby
> > [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Conception problem... Module / Application

2008-06-12 Thread obalais

Thank you all...

On 12 juin, 09:38, cokker <[EMAIL PROTECTED]> wrote:
> With sfYaml you can edit a yml-file in your script.
>
> greets
> Sven
>
> obalais schrieb:
>
> > Hi,
>
> > I read the entire dwhittle article about ysfDimensions plugin and I
> > think it can't solve my problem. The dimensions allowed values must be
> > declared in a yml configuration file. I can't edit this yml file each
> > time a member create his own online shop... Maybe I'm wrong and there
> > is a tip which should help me...
> > Nicolas, I just don't understand your solution. The shop are not
> > generated. I must have one application or one module which, according
> > to parameters in the url, shows shops with a defined template and
> > selected products...
>
> > Thanks
>
> > Olivier
>
> > On 11 juin, 21:38, Jacob Coby <[EMAIL PROTECTED]> wrote:
> >> Have you looked at the ysfDimensionsPlugin?
>
> >>http://trac.symfony-project.com/wiki/ysfDimensionsPlugin
>
> >> It sounds like it'll do everything you need (I have no experience with
> >> it).  Seems to be quite popular as well.
>
> >> On Jun 11, 2008, at 10:40 AM, obalais wrote:
>
> >>> Hi everyone,
> >>> For the purpose of a work placement, i have to develop a web
> >>> application allowing its users to create their own online shop from a
> >>> set of pre defined products.
> >>> Roughly, users, can browse the website to see a list of most recently
> >>> created shop, find some information and then sign up to create their
> >>> own.
> >>> An Url like myapplication.com/my_shop/ would then be their online shop
> >>> location.
> >>> To talk more about that shop, it should display the products that the
> >>> user has previously chosen, a contact page, and some other
> >>> miscellaneous informations, according to the level of customisation
> >>> that the user would potentially apply (different colors or layout for
> >>> example).
> >>> Well now, my problem is a design one.
> >>> In other words, I have some difficulties to find the best solution in
> >>> order to achieve that
> >>> Do you think I should represent those online shops as an application
> >>> module?, or as an application containing different modules(products,
> >>> categories, contact..)?
> >>> I have to admit that I would prefer the second option but also that I
> >>> unfortunatelydon't have any clue how to ensure the fact that my
> >>> application effectively displays the correct modules according to the
> >>> chosen shop.
> >>> I would be very pleased if anyone has an interesting opinion to share
> >>> on that subject, in order to give some advices
> >>> Thanking you
> >>> sincerely yours
> >>> Olivier
> >> --
> >> Jacob Coby
> >> [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Conception problem... Module / Application

2008-06-12 Thread cokker

With sfYaml you can edit a yml-file in your script.

greets
Sven

obalais schrieb:
> Hi,
> 
> I read the entire dwhittle article about ysfDimensions plugin and I
> think it can't solve my problem. The dimensions allowed values must be
> declared in a yml configuration file. I can't edit this yml file each
> time a member create his own online shop... Maybe I'm wrong and there
> is a tip which should help me...
> Nicolas, I just don't understand your solution. The shop are not
> generated. I must have one application or one module which, according
> to parameters in the url, shows shops with a defined template and
> selected products...
> 
> Thanks
> 
> Olivier
> 
> On 11 juin, 21:38, Jacob Coby <[EMAIL PROTECTED]> wrote:
>> Have you looked at the ysfDimensionsPlugin?
>>
>> http://trac.symfony-project.com/wiki/ysfDimensionsPlugin
>>
>> It sounds like it'll do everything you need (I have no experience with
>> it).  Seems to be quite popular as well.
>>
>> On Jun 11, 2008, at 10:40 AM, obalais wrote:
>>
>>
>>
>>
>>
>>> Hi everyone,
>>> For the purpose of a work placement, i have to develop a web
>>> application allowing its users to create their own online shop from a
>>> set of pre defined products.
>>> Roughly, users, can browse the website to see a list of most recently
>>> created shop, find some information and then sign up to create their
>>> own.
>>> An Url like myapplication.com/my_shop/ would then be their online shop
>>> location.
>>> To talk more about that shop, it should display the products that the
>>> user has previously chosen, a contact page, and some other
>>> miscellaneous informations, according to the level of customisation
>>> that the user would potentially apply (different colors or layout for
>>> example).
>>> Well now, my problem is a design one.
>>> In other words, I have some difficulties to find the best solution in
>>> order to achieve that
>>> Do you think I should represent those online shops as an application
>>> module?, or as an application containing different modules(products,
>>> categories, contact..)?
>>> I have to admit that I would prefer the second option but also that I
>>> unfortunatelydon't have any clue how to ensure the fact that my
>>> application effectively displays the correct modules according to the
>>> chosen shop.
>>> I would be very pleased if anyone has an interesting opinion to share
>>> on that subject, in order to give some advices
>>> Thanking you
>>> sincerely yours
>>> Olivier
>> --
>> Jacob Coby
>> [EMAIL PROTECTED]
> > 


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



[symfony-users] Re: Conception problem... Module / Application

2008-06-11 Thread obalais

Hi,

I read the entire dwhittle article about ysfDimensions plugin and I
think it can't solve my problem. The dimensions allowed values must be
declared in a yml configuration file. I can't edit this yml file each
time a member create his own online shop... Maybe I'm wrong and there
is a tip which should help me...
Nicolas, I just don't understand your solution. The shop are not
generated. I must have one application or one module which, according
to parameters in the url, shows shops with a defined template and
selected products...

Thanks

Olivier

On 11 juin, 21:38, Jacob Coby <[EMAIL PROTECTED]> wrote:
> Have you looked at the ysfDimensionsPlugin?
>
> http://trac.symfony-project.com/wiki/ysfDimensionsPlugin
>
> It sounds like it'll do everything you need (I have no experience with
> it).  Seems to be quite popular as well.
>
> On Jun 11, 2008, at 10:40 AM, obalais wrote:
>
>
>
>
>
> > Hi everyone,
>
> > For the purpose of a work placement, i have to develop a web
> > application allowing its users to create their own online shop from a
> > set of pre defined products.
> > Roughly, users, can browse the website to see a list of most recently
> > created shop, find some information and then sign up to create their
> > own.
> > An Url like myapplication.com/my_shop/ would then be their online shop
> > location.
>
> > To talk more about that shop, it should display the products that the
> > user has previously chosen, a contact page, and some other
> > miscellaneous informations, according to the level of customisation
> > that the user would potentially apply (different colors or layout for
> > example).
>
> > Well now, my problem is a design one.
> > In other words, I have some difficulties to find the best solution in
> > order to achieve that
>
> > Do you think I should represent those online shops as an application
> > module?, or as an application containing different modules(products,
> > categories, contact..)?
> > I have to admit that I would prefer the second option but also that I
> > unfortunatelydon't have any clue how to ensure the fact that my
> > application effectively displays the correct modules according to the
> > chosen shop.
>
> > I would be very pleased if anyone has an interesting opinion to share
> > on that subject, in order to give some advices
>
> > Thanking you
>
> > sincerely yours
>
> > Olivier
>
> --
> Jacob Coby
> [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Conception problem... Module / Application

2008-06-11 Thread Jacob Coby

Have you looked at the ysfDimensionsPlugin?

http://trac.symfony-project.com/wiki/ysfDimensionsPlugin

It sounds like it'll do everything you need (I have no experience with  
it).  Seems to be quite popular as well.


On Jun 11, 2008, at 10:40 AM, obalais wrote:

>
> Hi everyone,
>
> For the purpose of a work placement, i have to develop a web
> application allowing its users to create their own online shop from a
> set of pre defined products.
> Roughly, users, can browse the website to see a list of most recently
> created shop, find some information and then sign up to create their
> own.
> An Url like myapplication.com/my_shop/ would then be their online shop
> location.
>
> To talk more about that shop, it should display the products that the
> user has previously chosen, a contact page, and some other
> miscellaneous informations, according to the level of customisation
> that the user would potentially apply (different colors or layout for
> example).
>
> Well now, my problem is a design one.
> In other words, I have some difficulties to find the best solution in
> order to achieve that
>
> Do you think I should represent those online shops as an application
> module?, or as an application containing different modules(products,
> categories, contact..)?
> I have to admit that I would prefer the second option but also that I
> unfortunatelydon't have any clue how to ensure the fact that my
> application effectively displays the correct modules according to the
> chosen shop.
>
> I would be very pleased if anyone has an interesting opinion to share
> on that subject, in order to give some advices
>
> Thanking you
>
> sincerely yours
>
> Olivier
> >

--
Jacob Coby
[EMAIL PROTECTED]




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



[symfony-users] Re: Conception problem... Module / Application

2008-06-11 Thread Nicolas MARTIN

I would choose the first solution. On big project contains all the
shops.

With the help of symfony generators and tasks, you can create on-the-
fly shops based on a application template.

It would end up with something like that :

 $ symfony init-shop Myshop option1 option2 option3 ...

You can even automate these tasks


On Jun 11, 4:40 pm, obalais <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> For the purpose of a work placement, i have to develop a web
> application allowing its users to create their own online shop from a
> set of pre defined products.
> Roughly, users, can browse the website to see a list of most recently
> created shop, find some information and then sign up to create their
> own.
> An Url like myapplication.com/my_shop/ would then be their online shop
> location.
>
> To talk more about that shop, it should display the products that the
> user has previously chosen, a contact page, and some other
> miscellaneous informations, according to the level of customisation
> that the user would potentially apply (different colors or layout for
> example).
>
> Well now, my problem is a design one.
> In other words, I have some difficulties to find the best solution in
> order to achieve that
>
> Do you think I should represent those online shops as an application
> module?, or as an application containing different modules(products,
> categories, contact..)?
> I have to admit that I would prefer the second option but also that I
> unfortunatelydon't have any clue how to ensure the fact that my
> application effectively displays the correct modules according to the
> chosen shop.
>
> I would be very pleased if anyone has an interesting opinion to share
> on that subject, in order to give some advices
>
> Thanking you
>
> sincerely yours
>
> Olivier
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---