Yes, y're off base.
What you write about a lot of work is totally true, compared to regular
jquery work.
However, once you have good integration, reuse is easy and constistent.
Consistency will make your life easier in the end.
If you want it real easy, use Zend_Dojo instead of JQuery. But
Hi,
I made following solution without thinking it much =(
1. I have module based filesystem for my application
2. I added the javascripts folder to my module folder
3. In my "base" controller, I check if the current action has js file
4. If there is a file, I add new js file to view component. e
Hey Benjamin,
I haven't thought it through 100% yet, but essentially I'm thinking along
the lines of dynamically including javascript based on naming conventions
(pairing with the similarly named view script). I'm also thinking of doing
the same sort of thing when including various classes that m
A quick note to everyone who may be confused: he's replying to an e-mail I
sent him off-list. (Didn't want to spam a link to my blog yet again.)
-Matt
On Mon, Jan 5, 2009 at 2:09 PM, sprynmr wrote:
>
> Thanks Matt,
>
> I think I'm coming to pretty much the same conclusion you have, although I
>
I didn't bother with any JS integration and I never mix JavaScript with PHP.
I have a view helper to load required .js files and another to trigger
onload events.
All event handlers are attached in js using jQuery and no code is ever
generated.
I think it's just simpler, cleaner and doesn't limit
Hello Robert, Hello Josh,
thanks for the comments on jQuery. I do see the point in your criticism and
share it a bit. Personally I think when the jQuery integration plays best is
when you are using it for prototyping, admin areas and scaffolding generation.
If you want to use the jQuery or Dojo
Thanks Matt,
I think I'm coming to pretty much the same conclusion you have, although I
think I might favor keeping my form validation in a separate jquery plugin
for great flexibility. Definitely going to leverage the JS integration as
far as the scaffolding goes and building the script tags (al
I may be totally wrong when saying this.. but the ZF integration benefits
with *any js framework* are minimal at best, especially when factoring in
the overhead required (as you mentioned before) and the double training that
would require on robust apps. Don't get me wrong, I am a -huge- fan of ZF,
-- sprynmr wrote
(on Monday, 05 January 2009, 12:32 PM -0800):
> I'm still learning more about the javascript integration through the
> jquery xtra shipped with 1.7, but when I look at all the hoops you
> have to jump through to do some basic things with javascript in the
> "Zend" way... I just ge
I'm still learning more about the javascript integration through the jquery
xtra shipped with 1.7, but when I look at all the hoops you have to jump
through to do some basic things with javascript in the "Zend" way... I just
get the feeling its more trouble than its worth.
The jquery plugin viewh
10 matches
Mail list logo