[BW-dev-discussion] Is it important to adopt a new framework before proceeding?
Peter Lind
peter.e.lind at gmail.com
Mon Aug 23 11:49:39 CEST 2010
(I'm sending this to the larger group, as not everyone is on the dev
list I think - I hope that's fine)
Good point about about Symfony and waiting - it would probably depend
upon when the project is kicked off.
As for a DI container, it shouldn't be too hard to create something
for the other frameworks as well that serve the same purpose (if they
don't already have it). Also, from my discussions with others
regarding DI containers, they're a fairly upper level layer thing -
you won't be creating all your objects with it, as it relies upon a
fairly stable structure. That's more of an academical discussion
though, as you'd be using service locators instead (and the likes).
Either way, obviously something to work towards (avoiding globals,
singletons, etc.).
I think one of the more important points is how well a framework
lends itself to testing - how easy will it be to setup unit-tests with
the framework. Zend has got some problems in this area (it relies on
singletons for a number of things) but I don't think they're
insurmountable. Symfony looks like it's been created with an eye
towards testing, so there maybe something positive to come by there.
Not sure about CI and Cake, will have a look one at some point.
Regards
Peter
On 23 August 2010 11:41, Andreas Hennings <lemon.head.bw at googlemail.com> wrote:
> In case of symfony, it might be a good idea to wait for symfony 2.0
> ("symfony Reloaded").
> I only had a quick look at the website, didn't check the code. What
> seems most interesting to me is that it comes with a dependency
> injection container. If I remember correctly, this pattern helps to
> say goodbye to global state / global dependencies / singleton etc,
> which would be a blessing. I have not actually worked with such a
> container myself, but would be interested to see one in action.
> The EventDispatcher does also look interesting.
> http://docs.symfony-reloaded.org/?page=learn
>
> I'm not sure when 2.0 will be officially released. They say "late
> 2010", but who really knows.
>
> Andreas
>
> 2010/8/23 Peter Lind <peter.e.lind at gmail.com>:
>> Nope and nope. Nice suggestion though, will be checking it out
>> alongside cakephp.
>>
>> On 23 August 2010 11:15, Andreas Hennings <lemon.head.bw at googlemail.com> wrote:
>>> Does anyone know of similar websites that were done using any of the
>>> proposed frameworks?
>>> Did you consider symfony? (just to throw another name in the ring)
>>> Andreas
>>>
>>> 2010/8/23 Samuel <2010 at samu.cat>:
>>>> Hello Team.
>>>> I'm in the list just for keep updated, and my experience in plain code is little, but
>>>> As i read over the time from BW coder and own other projects experience; I'm with Peter on this point:
>>>>
>>>> On 22/08/2010 10:47 PM, Peter Lind wrote:
>>>>> I would offer the following idea:
>>>>> 1) keep the old system in place
>>>>> 2) implement a new framework on the side
>>>>> 3) code every new feature in the new framework. Migrate existing
>>>>> features to the new framework as needed
>>>>>
>>>>> This avoids a big-bang strategy (one of the most likely risks of
>>>>> failure for the project) while easing developers in.
>>>>
>>>>
>>>> Only cover bugs or minors in the old system.
>>>> Call to all coders (even the old volunteers) for sitting (virtually), and get the chance to rearrange or change as needed.
>>>> Reuse as much code from the old system to improve work time on the new framework, but never dropping the possible improvements on the name of time. (as we know the snow balls grow...)
>>>> I'm conscious that it is easy to talk when my effort/time/even ego is not involve.
>>>>
>>>> May be now is the opportunity to re make the tool as a (full) reusable open source application.
>>>>
>>>> In any case, Thanks to all codes involve to make BW possible.
>>>> LPGA.
>>>> Samuel.
>>>> _______________________________________________
>>>> bw-dev-discussion mailing list
>>>> bw-dev-discussion at bewelcome.org
>>>> http://bewelcome.org/mailman/listinfo/bw-dev-discussion
>>>>
>>> _______________________________________________
>>> bw-dev-discussion mailing list
>>> bw-dev-discussion at bewelcome.org
>>> http://bewelcome.org/mailman/listinfo/bw-dev-discussion
>>>
>>
>>
>>
>> --
>> <hype>
>> WWW: http://plphp.dk / http://plind.dk
>> LinkedIn: http://www.linkedin.com/in/plind
>> BeWelcome/Couchsurfing: Fake51
>> Twitter: http://twitter.com/kafe15
>> </hype>
>> _______________________________________________
>> bw-dev-discussion mailing list
>> bw-dev-discussion at bewelcome.org
>> http://bewelcome.org/mailman/listinfo/bw-dev-discussion
>>
> _______________________________________________
> bw-dev-discussion mailing list
> bw-dev-discussion at bewelcome.org
> http://bewelcome.org/mailman/listinfo/bw-dev-discussion
>
--
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing: Fake51
Twitter: http://twitter.com/kafe15
</hype>
More information about the bw-dev-discussion
mailing list