Indeed, CakePHP shouldn't be (tightly) coupled with any frontend framework.
Joomla! for example learnt its lessons when they wanted to get rid of the 
coupled mootools.

If CakePHP should be coupled, then certainly with the most popular anyway.
There are many tastes, preferences etc and thus opnions vary very much.

Nonetheless jQuery is the most popular and most widely used one.
But still I wouldn't couple CakePHP with it too tightly.
It's too easy to download the newest version of jQuery or link it through a 
CDN in your views anyway.

I think for many developers having scaffolding and baking with a powerful 
and javascript-empowered UI seem very useful at first.
That's why they want to have CakePHP to also include those frontend tools.
But after some experience with baking and scaffolding I must say I'd prefer 
that CakePHP would even dump it down.

Integration of such frameworks or improved scaffolding in any way should be 
done trhough plugins.
So the integration of jQuery itself or TwitterBootstrap (which is based on 
jQuery) for example, which are both very popular, could and should - IMHO - 
be done in a "first class citizen" plugin - if there is enough demand for 
it.

There are already such projects around.
For example:
https://github.com/slywalker/cakephp-plugin-boost_cake (or it's 
predecessor).
or some you find here:
http://plugins.cakephp.org/packages?query=admin

I think it would make sense to "outsource" these efforts away from the 
project itself to a few dedicated and by the CakePHP lead 
(oficially/inofficially) supported projects.

Marc

On Tuesday, August 6, 2013 6:21:54 PM UTC+2, mark_story wrote:
>
> I don't think we'll be introducing another tight coupling with a client 
> side framework. In the past we had an integration with prototype, and 
> anyone not using prototype was left out. Choosing something like ember or 
> angular would make CakePHP unsuitable for people wanting to use the other 
> client side framework. I'd rather leave CakePHP un-opinionated about client 
> side frameworks and leave that integration up to the developer.
>
> -Mark
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to