Excellent thanks!

I recently came up with a design pattern that uses the principals in
PE and didn't even know it! That leads me to believe that we are all
feeling this in our day-to-day work. Maybe I should post my design?

On Aug 30, 9:00 pm, Josh Powell <seas...@gmail.com> wrote:
> Chaining is a design pattern jQuery uses.
> $(selector).foo().bar().baz()
>
> It can be used object oriented, but it doesn't have to be.
> var foo = {
>     'something': $(selector)
>
> }
>
> You can use closures, but don't have to
> var foo = "3"
> $(selector).click( function() {
>    alert(foo);
>
> });
>
> Unobtrusive Javascript:http://en.wikipedia.org/wiki/Unobtrusive_Javascript
>
> On Aug 30, 12:54 pm, Buddy <buddywilli...@gmail.com> wrote:
>
> > I am familiar with KISS and DRY but not PE and Unobtrusive
> > JavaScript . PE sounds interesting, I'll look into it. What do you
> > mean by Unobtrusive JavaScript? Sounds like anti-framework?
>
> > On Aug 28, 5:49 am, "Richard D. Worth" <rdwo...@gmail.com> wrote:
>
> > > Here's a few that come to my mind:
>
> > > - Find things. Do stuff.- Write less. Do more.
> > > - KISS
> > > - DRY
> > > - PE (Progressive Enhancement)
> > > - Unobtrusive JavaScript
>
> > > - Richard
>
> > > On Thu, Aug 27, 2009 at 4:29 PM, Buddy <buddywilli...@gmail.com> wrote:
>
> > > > What would you call jQuery's design pattern / principals?
>
> > > > - Closures
> > > > - OO
> > > > - etc.
>
> > > > Everything is helpful.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to