[symfony-users] Re: Sharing code between applications

2007-04-02 Thread Fabien POTENCIER
When you want to share code between applications / projects, your best bet is to create a plugin. It is very simple, you mainly have to move your directories under the plugins/ directory. Fabien Jonathan Franks wrote: > I've just written a very simple image gallery that I want to reuse > acro

[symfony-users] Re: Sharing code between applications

2007-04-02 Thread Jonathan Franks
Thanks! I will take your advice Frank Stelzer wrote: > I would create a custom plugin. Creating a custom plugin is really > simple. So in your case you could create a plugin, with the gallery > module. Put your existing code in this plugin, enable this module in > your app and your done

[symfony-users] Re: Sharing code between applications

2007-04-02 Thread Frank Stelzer
I would create a custom plugin. Creating a custom plugin is really simple. So in your case you could create a plugin, with the gallery module. Put your existing code in this plugin, enable this module in your app and your done. Your plugin structure could look like this: /plugins/sfMyPlug