Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #15043

Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify

From crankypuss <invalid@invalid.invalid>
Newsgroups comp.lang.php
Subject Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify
Date 2015-03-05 03:19 -0700
Organization A noiseless patient Spider
Message-ID <md9ait$hlm$1@dont-email.me> (permalink)
References <36d2f3e2-98db-48fc-8c97-71a8489a17a6@googlegroups.com>

Show all headers | View raw


On 03/01/2015 07:35 AM, 0ntariokingston@gmail.com wrote:
> http://scriptcompress.com/packer/- I have created an online tool that packs & compresses PHP code to self extracting and self executing PHP code. You can pack HTML code to PHP too.
>
> Also there are multiple JavaScript packers and encoders included, similar to http://dean.edwards.name/packer/
>

After reading all the anti-spam replies, I took a quick look at your web 
page.

The example you give compresses the sample PHP code from 76905 bytes to 
35036 bytes.  That's about 45% of the original.

I've built something that I call phpLibMgr.  The most readily available 
example of packed/unpacked that I have takes a cli application from 
886,997 bytes to 166,102 bytes, which is 18% of the original.  Running 
the packed application with an "unpack" argument restores the original 
source code to its readable form so one can maintain it.  Every required 
user-written routine is included in the packed form, and no uncalled 
routines are present.

The packed application (once unpacked) can be re-imported into the 
library that is created by packing it, changes are flagged/versioned, 
and so forth.  And as a bonus one can make queries about functions to 
determine where they are called, which is most heavily used, which are 
recursive-via-call, what the call-paths between the mainline and any 
given function are, and so forth.

Apparently, since the "spam!" outcries are so loud, you must be trying 
to sell your thinger.  Once mine is complete (presuming that it ever is 
"complete") it will become freely available in source form.

One of the main reasons that I wrote phpLibMgr is that I write cli 
applications in PHP.  Some of them (like "partitionBackup", or 
"bootSetup") are fairly crucial to my workflow.  And there is *nothing* 
more infuriating than trying to use a trusted application while you are 
modifying one of the library routines it uses, and finding that your 
in-progress modifications are not working and neither is your crucial 
application because the included library function is broken.

Basically phpLibMgr acts like a static link operation, all the necessary 
routines are included in the output module.  I'd like to include a copy 
of PHP in the packed result but the terms of its GNU licensing agreement 
appear to prohibit such a thing, so packed applications only run on 
systems already having PHP installed.

It's an interim measure, one of those tools built in order to build the 
tools necessary for something further.  Frankly much of it is "crap code".

While I understand the financial pressures unavoidable within modern 
society, I find the blatant commercialism present throughout the 
software industry to be grossly offensive.  One example is the google 
play store and its demoware and crippleware and payware.  Your post 
seems to be another example.

-- 
undisclosedUserid@gmail.com

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PHP Packer & Compressor, HTML Embed, JavaScript Minify 0ntariokingston@gmail.com - 2015-03-01 06:35 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Denis McMahon <denismfmcmahon@gmail.com> - 2015-03-03 13:57 +0000
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-03 20:57 -0800
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 05:46 -0500
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-03 22:18 -0800
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 05:47 -0500
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2015-03-04 11:48 +0000
        Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 08:42 -0800
          Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2015-03-04 17:12 +0000
            Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 09:15 -0800
            Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 09:23 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-04 13:29 +0100
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 07:40 -0500
        Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-04 15:47 +0100
          Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 10:26 -0500
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 09:13 -0800
        Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-04 20:24 +0100
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Christian White <0ntariokingston@gmail.com> - 2015-03-03 11:02 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-03 14:33 -0500
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Christian White <0ntariokingston@gmail.com> - 2015-03-03 11:45 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Christian White <0ntariokingston@gmail.com> - 2015-03-03 13:15 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-03 23:07 +0100
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-03 19:24 -0500
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-03 19:39 -0500
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Christian White <0ntariokingston@gmail.com> - 2015-03-03 15:32 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-03 19:25 -0500
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-04 01:37 +0100
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Christian White <0ntariokingston@gmail.com> - 2015-03-03 17:02 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Christian White <0ntariokingston@gmail.com> - 2015-03-03 17:06 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Christian White <0ntariokingston@gmail.com> - 2015-03-03 17:16 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-03 21:00 -0500
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-03 18:07 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-03 18:24 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-03 21:46 -0500
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-03 21:01 -0800
        Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 05:43 -0500
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-03 18:52 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 05:45 -0500
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 09:11 -0800
        Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 12:40 -0500
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 08:38 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 12:42 -0500
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 09:46 -0800
        Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-04 13:01 -0500
          Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 10:12 -0800
          Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 10:14 -0800
          Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 10:15 -0800
          Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 10:17 -0800
            Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-04 20:32 +0100
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 11:35 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-04 11:38 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify crankypuss <invalid@invalid.invalid> - 2015-03-05 03:19 -0700
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Matthew Carter <m@ahungry.com> - 2015-03-05 08:53 -0500
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify crankypuss <invalid@invalid.invalid> - 2015-03-05 07:10 -0700
        Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Matthew Carter <m@ahungry.com> - 2015-03-05 09:13 -0500
          Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify crankypuss <invalid@invalid.invalid> - 2015-03-06 01:05 -0700
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-05 09:32 -0500
        Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Matthew Carter <m@ahungry.com> - 2015-03-05 09:50 -0500
          Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify crankypuss <invalid@invalid.invalid> - 2015-03-06 01:17 -0700
            Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-06 08:12 -0500
              Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify crankypuss <invalid@invalid.invalid> - 2015-03-07 04:37 -0700
                Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-07 10:30 -0500
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-05 15:22 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-06 01:15 +0100
      Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-05 21:36 -0500
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-05 18:08 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-05 21:41 -0500
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-05 18:35 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA WHAK.com)" <0ntariokingston@gmail.com> - 2015-03-05 18:44 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-06 08:09 -0800
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-07 10:56 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Denis McMahon <denismfmcmahon@gmail.com> - 2015-03-08 01:12 +0000
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-07 20:49 -0800
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-08 08:33 -0400
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 08:39 -0700
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-08 16:21 -0400
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 08:39 -0700
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 08:48 -0700
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 17:05 -0700
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-08 20:14 -0400
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 17:54 -0700
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-08 22:12 -0400
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 17:55 -0700
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 17:56 -0700
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-08 22:12 -0400
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 17:57 -0700
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 18:05 -0700
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-08 22:14 -0400
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify "Christian White (AKA Dave Brown AKA Troll Teaser)" <0ntariokingston@gmail.com> - 2015-03-08 19:43 -0700
    Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-08 22:57 -0400
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify MASTER TROLL BAIT <0ntariokingston@gmail.com> - 2015-03-08 20:06 -0700
    Re: SPAMMER Christian White (AKA Dave Brown) Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-09 09:41 -0400
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify MASTER TROLL BAIT <0ntariokingston@gmail.com> - 2015-03-09 07:32 -0700
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify MASTER TROLL BAIT <0ntariokingston@gmail.com> - 2015-03-09 08:03 -0700
  Re: PHP Packer & Compressor, HTML Embed, JavaScript Minify MASTER TROLL BAIT <0ntariokingston@gmail.com> - 2015-03-14 02:27 -0700

csiph-web