Tagged: JavaScriptPacker RSS Toggle Comment Threads | Keyboard Shortcuts

  • danielsaidi 9:40 pm on August 22, 2010 Permalink | Reply
    Tags: , , , JavaScriptPacker,   

    New JavaScript / CSS file bundling implemented 

    The css/js bundling that I wrote about in my previous post, have now been fully implemented, and is verified to work.

    There are big differences with how file bundling is done now, compared to the first alpha and previous Wigbi versions:

    • Pros:
      JS/CSS file bundling is Wigbi-independent and thus a new, full feature
      Compared to Wigbi 1.0 a1, no session handling is required
      JavaScript init code is packed and thus compact and obfuscated
    • Con:
      Since no additional PHP file is used, the JavaScript init code is written to page

    A new alpha release will be up shortly, once a bunch of data plugins have been created.

     
  • danielsaidi 7:35 am on June 10, 2010 Permalink | Reply
    Tags: JavaScriptPacker, Log Package,   

    Log and JavaScriptPacker bundled into Wigbi 

    Wigbi uses the PEAR Log Package for logging and the JavaScriptPacker to obfuscate the JavaScript code of the, in runtime, auto-created plugin classes.

    Previously, the class files (Log.php and JavaScriptPacker.php) has been separate files within the wigbi/php/system/ folder. They have automatically been included when Wigbi was started.

    However, since the wigbi/php/system/ folder does not exist in Wigbi 1.0, these two files will be emedded into the wigbi/php/wigbi.php file instead, so that it is not possible to accidentaly remove either file.

    I will, however, NOT do the same thing with the wigbi/js/jQuery-x.x.x.js file, since it likely that developers over time may want to replace this file with a newer version.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel
Follow

Get every new post delivered to your Inbox.