473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

LINK: AutoPacker - JavaScript compression for the lazy.

This was in a 9 Rules feed that I just noticed today. Might be of some
use. Developed in PHP, but I'm sure it could easily be ported.

http://www.thepcspy.com/read/autopac...our_javascript

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Nov 20 '07 #1
3 1523
On Nov 20, 6:28 am, "-Lost" <maventheextrawo...@techie.comwrote:
This was in a 9 Rules feed that I just noticed today. Might be of some
use. Developed in PHP, but I'm sure it could easily be ported.

http://www.thepcspy.com/read/autopac...our_javascript

Dean Edward's packer is based on RegExp analysis and it is quite easy
to trick in edge cases. That was my experience anyway.

Peter
Nov 20 '07 #2
Response to Peter Michaux <pe**********@gmail.com>:
Dean Edward's packer is based on RegExp analysis and it is quite
easy to trick in edge cases. That was my experience anyway.
I was completely unaware.

What's the chance of seeing an automated solution using your
javascript::Minifier?

I've not a clue as to how to modify your module to do that unless a PHP
script calling a Perl script could be considered elegant.

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Nov 21 '07 #3
On Nov 21, 4:11 am, "-Lost" <maventheextrawo...@techie.comwrote:
Response to Peter Michaux <petermich...@gmail.com>:
Dean Edward's packer is based on RegExp analysis and it is quite
easy to trick in edge cases. That was my experience anyway.

I was completely unaware.
I must be sufficient for many people because it is popular.

What's the chance of seeing an automated solution using your
javascript::Minifier?
I won't be supplying this. The hard part is the logic inside the
javascript::Minifier program. There are many ways to package it for
use and every developer probably needs a different system.

I can't guarantee that javascript::Minifier is perfect.

I've not a clue as to how to modify your module to do that unless a PHP
script calling a Perl script could be considered elegant.
I don't think it would be a problem.

A minifier should only be called infrequently (preferably when the
site is deployed to the server).

Peter
Nov 21 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: usman | last post by:
Is there any text compression algorithm exists in javascript? wanna to compress the large textual data before submitting the form. Thanks Usman *** Sent via Developersdex...
1
by: Hardy | last post by:
Hi, just come into the boost world. just the first.cpp in the program_options examples, with many link error... devc++4.9.9.2, gcc 3.4.2, can I get your opinions on this problem? thank you~ ...
2
by: sravi | last post by:
I have a webpage which contains two frames, let us call this as main page and the frames as frame1 and frame2. Now if i click any link in frame1 or frame2 a script in main page should be invoked....
8
by: vnarayana | last post by:
Need to transfer large data (Appox 5MB in the form of XML & HTML) from Internet Explorer to Web sphere application server. Want to know if there is anyway I can compress data (JavaScript or...
6
by: Chetan Patil | last post by:
I would like to obfuscate and compress (remove comments, newlines etc) my javascript files / ajax code. Is there a module that will do this on the fly with some level of caching? Does such a...
20
by: twigster | last post by:
Hey everyone, I'm looking for a good way to obfuscate some Javascript code. Does anyone have a good experience or bad experience with a particular software? thanks
4
by: Killer42 | last post by:
Hi all. Sorry, I'm being very lazy on this one, but am short of time for researching etc right now. I'd just like to know, does the IJL11.DLL JPEG library support varying levels of compression?...
61
by: shapper | last post by:
Hello, I would like to use a javascript library to simplify my coding process. I know a few: JQuery, Dojo, Yahoo UI, ... Which one do you advice me to use? Thanks, Miguel
1
by: Pierre | last post by:
hi, is there somewhere an implementation of some compression algorithm zip/ gzip/other ? Pierre
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.