Well, the project was started the project before the spec was abandoned. Go ahead and fault me for following the W3C spec. It didn't even *OCCUR* to me that they'd pull such a brainless, elitist stunt. And yeah, the merits of indexdb can be debated ad nauseam, but to abandon Web DB as they did because they felt SQL was antiquated or relation databases are no longer the flavor of the day is ridiculous at best and irresponsible at worst. I'm sure no one wants to have that discussion here, so that's where I'll leave it.

And when we started the project, jQtouch was evaluated to be the best candidate out there due to it's seeming maturity and jQuery roots (jQMobile had very little traction). I had never used jQuery but it was a highly recommended framework that had a lot of folks who knew, used and supported it. Perhaps iui would have been a better choice but it was the call we made at the time and the reasoning looked (and if I can solve this problem without a radical redesign, it will be) sound. Oh and we used php for the server-side stuff for a lot of the same reasons (ease of maintainability and amount of folks who know it). I'm sure that was a bad decision as well.

My code is well under the application cache 5Mb limit, but I stumbled across the 15K/file limit only recently as I was trying to debug the app cache functionality. The thing works fine when if the internet connection drops, you just can't start it in offline mode (yet.)

So the "it" I am trying to solve is this: jquery-1.5.1.min.js is too large. I need the library (or critical parts of it) to be broken up enough to keep uncompressed file size to under 15K. Number of files at this point is irrelevant.

My apologies if I was unclear.


Scott.

On Jun 6, 2011, at 12:24 PM, xkit wrote:



On Jun 6, 6:22 am, Scott Kallen <[email protected]> wrote:
Remi!

Obviously I'm not using the jquery downloader correctly--honestly,
this project is my first (wonderful) foray into the world of jQuery.

Well, yeah. But the history of jQuery has shown it to be an ever-
shifting API.

My jQuery minified version (1.5.1) weighs in at 85K.  What am I doing
wrong?

Besides using jQuery and using an abandoned API, it looks like you are
trying to solve something without asking how it is best solved. And we
don't even know what "it" is. All we know is "how" you're trying to
solve something.

In web development, there are so many ways to solve problems. Ask the
right questions. Often, I will go back to the req and ask what is
needed and how best to solve that problem.
--
Garrett

--
You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en .


--
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to