Re: [photon.users] Sparks for CodeIgniter
- From:
- Loic d'Anterroches
- Date:
- 2011-03-14 @ 08:02
Hi William,
> So the install of an particle is basically a clone of an repository
> into the project source.
Not a clone, the equivalent of doing svn export. The .git or equivalent
is removed.
> I don't know exactly how do you want package an Particle, but remember
> that an particule may be more than php.
> For example, when i will start a dev with photon i surely try to make
> an particle to extend the template system for charts with
> http://www.highcharts.com
> For that i need some php class, css and js in the particle.
Yes, if you look at the structure of an app in Photon, you can provide
images, css, js using the corresponding www/media/yourapp folder which
is normally symlinked to a static folder if you want or served directly
by Photon.
> Another point, Getsparks redirect the user to the addons repository
> (like on GitHub).
> If someone make a particle under LGPL/GPL, can you provide it a
> repository near photon and other particle you made.
Again, Getsparks rediret to any public git repository, Mercurial
repository or simple .zip file hosted somewhere. This is independent of
the license.
Basically, in the Photon "terms" Getsparks allow you to easily add a new
app to a project. Nothing more, nothing less.
loïc
--
Indefero - Project management and code hosting - http://www.indefero.net
Photon - High Performance PHP Framework - http://photon-project.com
Céondo Ltd - Web + Science = Fun - http://www.ceondo.com
> On Sun, Mar 13, 2011 at 10:26 AM, Loic d'Anterroches <loic@ceondo.com> wrote:
>> Hello,
>>
>> Very nice: http://getsparks.org/
>>
>> So nice that I think we should go the same way to distribute the
>> "Particles" packages. Way simpler than PEAR and with it, as you install
>> within your project you can have many different versions to easily test.
>>
>> It fits in the philosophy of Photon to stay lean and easy.
>>
>> Sometimes, projects are coming just at the right time :) I will not have
>> to reinvent the wheel :)
>>
>> Oh happy life!
>>
>> Have a nice WE,
>> loïc
>>
>> --
>> Indefero - Project management and code hosting - http://www.indefero.net
>> Photon - High Performance PHP Framework - http://photon-project.com
>> Céondo Ltd - Web + Science = Fun - http://www.ceondo.com
>>
>
>
>