473,382 Members | 1,107 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,382 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 1521
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
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.