tag:blogger.com,1999:blog-34454975.post3300462950524734882..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: JavaScript Builder from Falsy ValuesAndrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-34454975.post-44938297943933882222011-05-28T12:07:55.552+02:002011-05-28T12:07:55.552+02:00nice1 Andrea!nice1 Andrea!Christopherhttps://www.blogger.com/profile/02559991877327543705noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-25763698132295388752011-05-26T23:26:15.873+02:002011-05-26T23:26:15.873+02:00btw Christopher, I have just added support for ugl...btw Christopher, I have just added support for uglify-js ;-)Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-9899606019998172812011-05-26T22:38:51.296+02:002011-05-26T22:38:51.296+02:00I would still pack files for server side modules a...I would still pack files for server side modules as well since HD cache is not that massive.<br /><br />I am sure with node.js ready environment it's easier to minify via uglify.js but at the same time I am not sure uglify is better than closure or yui.<br /><br />In any case you need a similar system offered by JSBuilder to be able to combine multiple fragmented files so why bother? If node.js is the environment, python and java are there by default ;)<br /><br />As summary, JSbuilder.py would be ideal to build your own jQuery pieces of library or any other library with stand alone or fragmented JS files and cross platform, not everybody has a mac.<br /><br />Of course, feel free to use node only, at least remember this page the day you'll need more portabilityAndrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-72101680629532300982011-05-26T22:16:22.930+02:002011-05-26T22:16:22.930+02:00Hi Andrea —
I don't know about running node o...Hi Andrea —<br /><br />I don't know about running node on Windows... I guess you'd need to run uglify in Rhino, then. By easier, I guess it is subjective. For me, it is easier, for you, sounds like it is more difficult if you develop primarily on Windows.<br /><br />Personally, while I see the great value of a solution like this, and while, as usual, I think you have done a great job, and as you mentioned, elegant, I would not be inclined to use it. There are many for this, but the main one being that most of what I do is Node JS development, and I use a Mac. So I build my code with JavaScript itself and then uglify the client-side code.<br /><br />Thanks, I've learned a lot from your blog over the years, esp. about IE.Christopherhttps://www.blogger.com/profile/02559991877327543705noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-34927522954564841862011-05-26T07:34:01.503+02:002011-05-26T07:34:01.503+02:00Hey - I am really happy to discover this. great jo...Hey - I am really happy to discover this. great job!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-21325365615268837422011-05-25T08:24:10.293+02:002011-05-25T08:24:10.293+02:00Christopher I don't get the "easier"...Christopher I don't get the "easier" part since the usage of the minifier is totally transparent.<br /><br />Moreover, I doubt Uglify works on WHS ( Windows Host Scripting ) so in any case I should use Rhino to create runtime a cross-platform JS environment and run Uglify through it.<br /><br />I may update the file and put this 3rd option as well in any case but I hope you can appreciate the simplicity and flexibility of the current JSBuilder solution offers.Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-77222120129640264872011-05-25T03:59:03.610+02:002011-05-25T03:59:03.610+02:00why closure compiler and YUIMin, but not the bette...why closure compiler and YUIMin, but not the better/easier/& faster Uglify? Plus, it's written in JavaScript?Christopherhttps://www.blogger.com/profile/02559991877327543705noreply@blogger.com