Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Can the library be smaller?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Fred Janon  
View profile  
 More options Nov 3, 11:40 pm
From: Fred Janon <fja...@gmail.com>
Date: Wed, 4 Nov 2009 12:40:53 +0800
Local: Tues, Nov 3 2009 11:40 pm
Subject: Can the library be smaller?

Hi,
I know we can minimize the library, but I saw some mention that part of the
library is for the compiler. Would it be possible to remove that part?
Thanks
Fred


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjun Guha  
View profile  
 More options Nov 5, 3:58 pm
From: Arjun Guha <arjun.g...@gmail.com>
Date: Thu, 5 Nov 2009 15:58:25 -0500
Local: Thurs, Nov 5 2009 3:58 pm
Subject: Re: [Flapjax: 576] Can the library be smaller?

The compiler stuff is attached to the end.  You can simply chop it  
off.  Furthermore, the flapjax library is wrapped in a "module" that  
makes a portion of the Flapjax functions private.  The code to export  
public functions is lengthy.

I've attached a version of the library that removes the wrapper and  
the compiler functions.  It shaves about 10K off the uncompressed  
library.

Arjun

  flapjax-no-compiler.js
60K Download

On Nov 3, 2009, at 23:40 , Fred Janon wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Freeman  
View profile  
 More options Nov 5, 4:35 pm
From: John Freeman <jfreema...@gmail.com>
Date: Thu, 05 Nov 2009 15:35:07 -0600
Local: Thurs, Nov 5 2009 4:35 pm
Subject: Re: Can the library be smaller?
I saw in the OOPSLA paper that Flapjax takes a page from Prototype for
some of its DOM and Javascript helpers.  I was wondering why not just
place a dependency on Prototype instead of copying the functionality?

- John


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
manu d  
View profile  
 More options Nov 5, 5:30 pm
From: manu d <th3ra...@googlemail.com>
Date: Thu, 5 Nov 2009 23:30:36 +0100
Local: Thurs, Nov 5 2009 5:30 pm
Subject: Re: [Flapjax: 581] Re: Can the library be smaller?

I usually use jQuery with Flapjax and I don't think Flapjax should be tied
to any specific Javascript framework.
I agree that Flapjax Dom manipulation is sometimes lacking compared to
Prototype or jQuery, and regret having to download both Flapjax and another
framework, when Flapjax largely supersedes the event management and Ajax
parts of these frameworks.
But Arjun no-compiler flapjax release + a minimal JS framework (say
Sizzle.js) is the ticket for flexibility and a smaller size

T25


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjun Guha  
View profile  
 More options Nov 6, 1:49 pm
From: Arjun Guha <arjun.g...@gmail.com>
Date: Fri, 6 Nov 2009 13:49:09 -0500
Local: Fri, Nov 6 2009 1:49 pm
Subject: Re: [Flapjax: 582] Re: Can the library be smaller?

> But Arjun no-compiler flapjax release + a minimal JS framework (say  
> Sizzle.js) is the ticket for flexibility and a smaller size

I think the trick is to split Flapjax into three pieces:

1. core FRP
2. Reactive DOM
3. Additional stuff

We'll distribute 1+2+3 as "Flapjax."  1+2 is still useful,  
particularly in combination with prototype/jQuery.  Just 1 alone is  
slightly useless, but separating it from 2 gives us the option of  
writing a DOM layer that uses jQuery / Prototype for better browser  
interoperability.

Arjun


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google