[fw-general] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Benjamin Eberlei
Hello everyone,

2 years ago I was pretty sure of the Dojo and jQuery components/integration 
into ZF. I have since changed my mind radically. I do maintained the jQuery 
component but I would suggest to drop it for 2.0 for the following reasons:

1. It encourages writing no JS code at all, this will bite you in the ass 
heavily if you find out that you need to customize the jQuery logic.
2. It does not encourage javascript code re-use (jQuery plugins are the way to 
go here)
3. Heavy usage causes technical debt, it becomes impossible to rewrite your app 
using proper jquery/javscript code.
4. The PHP code required to write "ZendX JQuery" code is often more than the 
jQuery required alone.

Since only people that don't know javascript "benefit" from this extension (in 
the short run) I suggest to drop it not to encourage people to run into the 
wrong direction by using it (they will thank us later).

I won't attempt to rewrite ZendX jQuery for 2.0 and i understand that this 
means it will be dropped automatically. I suggest nobody to take over 
maintenance for the previously discussed arguments.

greetings,
Benjamin


[fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Dolf Schimmel
I agree with Benjamin here. Though I think that the Zend_Dojo allows
for more extensibility than Zendx_Jquery.

However, if we decide to drop ZendX_Jquery (if not, who'll maintain
it?), I think we at least should write some decent documentation on
how one should decently implement Js with ZF.

Dolf
--Freeaqingme

On Mon, Jan 17, 2011 at 7:47 PM, Benjamin Eberlei  wrote:
> Hello everyone,
>
> 2 years ago I was pretty sure of the Dojo and jQuery components/integration 
> into ZF. I have since changed my mind radically. I do maintained the jQuery 
> component but I would suggest to drop it for 2.0 for the following reasons:
>
> 1. It encourages writing no JS code at all, this will bite you in the ass 
> heavily if you find out that you need to customize the jQuery logic.
> 2. It does not encourage javascript code re-use (jQuery plugins are the way 
> to go here)
> 3. Heavy usage causes technical debt, it becomes impossible to rewrite your 
> app using proper jquery/javscript code.
> 4. The PHP code required to write "ZendX JQuery" code is often more than the 
> jQuery required alone.
>
> Since only people that don't know javascript "benefit" from this extension 
> (in the short run) I suggest to drop it not to encourage people to run into 
> the wrong direction by using it (they will thank us later).
>
> I won't attempt to rewrite ZendX jQuery for 2.0 and i understand that this 
> means it will be dropped automatically. I suggest nobody to take over 
> maintenance for the previously discussed arguments.
>
> greetings,
> Benjamin
>


[fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Paul Boivin
Agree with both Dolf and Benjamin.

On 17 January 2011 13:50, Dolf Schimmel  wrote:

> I agree with Benjamin here. Though I think that the Zend_Dojo allows
> for more extensibility than Zendx_Jquery.
>
> However, if we decide to drop ZendX_Jquery (if not, who'll maintain
> it?), I think we at least should write some decent documentation on
> how one should decently implement Js with ZF.
>
> Dolf
> --Freeaqingme
>
> On Mon, Jan 17, 2011 at 7:47 PM, Benjamin Eberlei 
> wrote:
> > Hello everyone,
> >
> > 2 years ago I was pretty sure of the Dojo and jQuery
> components/integration into ZF. I have since changed my mind radically. I do
> maintained the jQuery component but I would suggest to drop it for 2.0 for
> the following reasons:
> >
> > 1. It encourages writing no JS code at all, this will bite you in the ass
> heavily if you find out that you need to customize the jQuery logic.
> > 2. It does not encourage javascript code re-use (jQuery plugins are the
> way to go here)
> > 3. Heavy usage causes technical debt, it becomes impossible to rewrite
> your app using proper jquery/javscript code.
> > 4. The PHP code required to write "ZendX JQuery" code is often more than
> the jQuery required alone.
> >
> > Since only people that don't know javascript "benefit" from this
> extension (in the short run) I suggest to drop it not to encourage people to
> run into the wrong direction by using it (they will thank us later).
> >
> > I won't attempt to rewrite ZendX jQuery for 2.0 and i understand that
> this means it will be dropped automatically. I suggest nobody to take over
> maintenance for the previously discussed arguments.
> >
> > greetings,
> > Benjamin
> >
>



-- 
Paul A. Boivin
web engineer / consultant
www.blink-tech.com

USA/Canada: (877) 832-1641
International: (941) 306-3613
Fax: (941) 531-5991
Skype: paul-boivin


[fw-general] Getting the full url when a default action is used

2011-01-17 Thread Ian Munday
Is there a way to force full urls when using the Url helper?

My route is setup as:

:module/:controller/:action

And the default route is:

default/index/index

When I set the following using a helper I wish to have the url string 
"default/dashboard/index" returned, but instead I get "default/dashboard"

$params = array('module' => 'default', 'controller' => 'dashboard', 
'action' => 'index')

Is it possible to force the helper to return the full url when the passed param 
match the defaults?

I wish to do this because I use the Url helper as part of some dynamically 
created JavaScript, to which I concatenate another string, and not being able 
to get the full url in all instances causes problems.

Regards,

Ian

Re: [fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Jigal sanders
Please don't discontinue support for jQuery/
I think there are many people who use it

On Mon, Jan 17, 2011 at 7:50 PM, Dolf Schimmel wrote:

> I agree with Benjamin here. Though I think that the Zend_Dojo allows
> for more extensibility than Zendx_Jquery.
>
> However, if we decide to drop ZendX_Jquery (if not, who'll maintain
> it?), I think we at least should write some decent documentation on
> how one should decently implement Js with ZF.
>
> Dolf
> --Freeaqingme
>
> On Mon, Jan 17, 2011 at 7:47 PM, Benjamin Eberlei 
> wrote:
> > Hello everyone,
> >
> > 2 years ago I was pretty sure of the Dojo and jQuery
> components/integration into ZF. I have since changed my mind radically. I do
> maintained the jQuery component but I would suggest to drop it for 2.0 for
> the following reasons:
> >
> > 1. It encourages writing no JS code at all, this will bite you in the ass
> heavily if you find out that you need to customize the jQuery logic.
> > 2. It does not encourage javascript code re-use (jQuery plugins are the
> way to go here)
> > 3. Heavy usage causes technical debt, it becomes impossible to rewrite
> your app using proper jquery/javscript code.
> > 4. The PHP code required to write "ZendX JQuery" code is often more than
> the jQuery required alone.
> >
> > Since only people that don't know javascript "benefit" from this
> extension (in the short run) I suggest to drop it not to encourage people to
> run into the wrong direction by using it (they will thank us later).
> >
> > I won't attempt to rewrite ZendX jQuery for 2.0 and i understand that
> this means it will be dropped automatically. I suggest nobody to take over
> maintenance for the previously discussed arguments.
> >
> > greetings,
> > Benjamin
> >
>



-- 
Met vriendelijke groet,

Jigal Sanders
A.J. Ernststraat 739
1082 LK Amsterdam
Mobiel: 06-42111489


[fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Guy Halford-Thompson
I agree with this.  For any application that requires more than a few lines of 
JavaScript, the JS should be kept in separate 'javascript' files.


On 17 Jan 2011, at 18:47, Benjamin Eberlei wrote:

> Hello everyone,
> 
> 2 years ago I was pretty sure of the Dojo and jQuery components/integration 
> into ZF. I have since changed my mind radically. I do maintained the jQuery 
> component but I would suggest to drop it for 2.0 for the following reasons:
> 
> 1. It encourages writing no JS code at all, this will bite you in the ass 
> heavily if you find out that you need to customize the jQuery logic.
> 2. It does not encourage javascript code re-use (jQuery plugins are the way 
> to go here)
> 3. Heavy usage causes technical debt, it becomes impossible to rewrite your 
> app using proper jquery/javscript code.
> 4. The PHP code required to write "ZendX JQuery" code is often more than the 
> jQuery required alone.
> 
> Since only people that don't know javascript "benefit" from this extension 
> (in the short run) I suggest to drop it not to encourage people to run into 
> the wrong direction by using it (they will thank us later).
> 
> I won't attempt to rewrite ZendX jQuery for 2.0 and i understand that this 
> means it will be dropped automatically. I suggest nobody to take over 
> maintenance for the previously discussed arguments.
> 
> greetings,
> Benjamin



Re: [fw-general] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Michel Lombart
Just a thought : To not wrote what is already wrote is also the use of a 
framework. If you go further, you may discontinue Zend because many 
people write less PHP code because "it becomes impossible to rewrite 
your app using proper PHP code" ! :-D .


I believe that JS components are a must in a good framework. I know that 
if there are no JS component in Zend 2, I WILL use another JS framework 
and add it to my Zend applications.


Take care.

Le 17/01/2011 19:47, Benjamin Eberlei a écrit :

Hello everyone,

2 years ago I was pretty sure of the Dojo and jQuery components/integration 
into ZF. I have since changed my mind radically. I do maintained the jQuery 
component but I would suggest to drop it for 2.0 for the following reasons:

1. It encourages writing no JS code at all, this will bite you in the ass 
heavily if you find out that you need to customize the jQuery logic.
2. It does not encourage javascript code re-use (jQuery plugins are the way to 
go here)
3. Heavy usage causes technical debt, it becomes impossible to rewrite your app 
using proper jquery/javscript code.
4. The PHP code required to write "ZendX JQuery" code is often more than the 
jQuery required alone.

Since only people that don't know javascript "benefit" from this extension (in 
the short run) I suggest to drop it not to encourage people to run into the wrong 
direction by using it (they will thank us later).

I won't attempt to rewrite ZendX jQuery for 2.0 and i understand that this 
means it will be dropped automatically. I suggest nobody to take over 
maintenance for the previously discussed arguments.

greetings,
Benjamin


[fw-general] Re: [zf-contributors] Discontinuing Maintenance of ZendX JQuery - Suggest drop for 2.0

2011-01-17 Thread Phil Brown
Never used ZendX_Jquery for the exact reasons Benjamin's stated as reasons
to abandon it, so that's an "aye" vote from me.

On Tue, Jan 18, 2011 at 5:47 AM, Benjamin Eberlei wrote:

> Hello everyone,
>
> 2 years ago I was pretty sure of the Dojo and jQuery components/integration
> into ZF. I have since changed my mind radically. I do maintained the jQuery
> component but I would suggest to drop it for 2.0 for the following reasons:
>
> 1. It encourages writing no JS code at all, this will bite you in the ass
> heavily if you find out that you need to customize the jQuery logic.
> 2. It does not encourage javascript code re-use (jQuery plugins are the way
> to go here)
> 3. Heavy usage causes technical debt, it becomes impossible to rewrite your
> app using proper jquery/javscript code.
> 4. The PHP code required to write "ZendX JQuery" code is often more than
> the jQuery required alone.
>
> Since only people that don't know javascript "benefit" from this extension
> (in the short run) I suggest to drop it not to encourage people to run into
> the wrong direction by using it (they will thank us later).
>
> I won't attempt to rewrite ZendX jQuery for 2.0 and i understand that this
> means it will be dropped automatically. I suggest nobody to take over
> maintenance for the previously discussed arguments.
>
> greetings,
> Benjamin
>



-- 
Phil Brown
Web Applications Developer