Performance Optimizations Made By Microsoft, Google, and Yahoo JavaScript Minimizers

In my first post about JavaScript compression and the different levels supported by the three major competitors in the JavaScript minimization, obfuscation, and optimization tools space. I the article I discussed which tool provided the best compression in regards to the resulting byte count. And found that Google took the over all crown with Microsoft following very closely behind. A comment posted on that article by Eric J. Smith of Code Smith, provided a nice lead in to my second article in this series, he posted this comment: ...

January 20, 2010 · 6 min · 1257 words · Nick Berardi

Yahoo YUI Compressor vs. Microsoft AJAX Minifier vs. Google Closure Compiler

A little more than a year and half ago I created a MSBuild Task for the YUI Compressor that was very well received, and even highlighted on the YUI Compressor site. At the time of writing that article YUI Compressor was king of the hill, and for the most part the only game in town that was really designed for production level use. Since then a number of new competitors have been released by Google and Microsoft, and I wanted to see how they stacked up against the YUI Compressor. ...

January 18, 2010 · 4 min · 735 words · Nick Berardi

Determining A Significant Change In A Web Page

The problem with many web pages today is that they include useless hidden pieces of constantly changing information that serves no purpose to the general web or anything else besides debugging. A pretty good example of this is one that I found on my own blog, and removed, as I was experimenting with the code in this post: <!-- 12 queries. 0.274 seconds. --> This really serves no purpose to anybody but the the few debuggers who might be looking at the code for performance reasons once every so often. ...

January 12, 2010 · 5 min · 864 words · Nick Berardi

Show CodeRush Xpress 9.3 Menu in Visual Studio

As promised here is the updated scripts for CodeRush Xpress 9.3, which was released a few week ago. The Keyboard Command Way Shift+Ctrl+Alt+O The Registry Hack Way Show Menu for CodeRush Xpress (x86) Show Menu for CodeRush Xpress (x64) I will state this again: I really wish DevExpress would stop treating the registry as a dumping ground and creating a new parallel registry path with each new install, it makes customizing the registry settings very difficult to keep up with. I could see it for each major version, but common is a new registry path really needed for each minor version?

January 1, 2010 · 1 min · 101 words · Nick Berardi

Server Backup On The Cheap: Backup For Less Than $10.00 A Year

I have started and stopped this post probably about 10 times now. I just didn’t feel it was that interesting. But there probably isn’t a better time to capitalize on this post than this week, because of a certain few widely known bloggers, who should have known better, and had their websites go down with out any backups. This post won’t be as flashy as Robs method, but it has worked very well for my WordPress, MySQL, and Windows deployment for 2 and 1/2 years. So here is the original post. ...

December 15, 2009 · 7 min · 1317 words · Nick Berardi

ASP.NET MVC – 0 to 30 in 30 minutes

I recorded the following presentation for DevReady.NET, a new project that I am working on with a bunch of talented MVC’s and Microsoft employees. After I get done with editing the presentation, I will post it up to DevReady.NET and my blog. This will be my first try at making a video presentation for the web, so I look forward to your comments.

December 10, 2009 · 1 min · 63 words · Nick Berardi

jQuery 1.4 Alpha 1 Released

Looks like some great new improvements coming to the 1.4 release. It doesn’t look like any new methods are being added, but updating many of the new ones released with 1.3. There are a few areas in jQuery that have seen extensive changes since 1.3.2 was released: live was drastically overhauled and now supports submit, change, mouseenter, mouseleave, focus, and blur events in all browsers. Also now supports context and data. append, prepend, etc. have been heavily optimized. add has been adjusted to always return elements in document order. find, empty, remove, addClass, removeClass, hasClass, attr, and css have been heavily optimized. Full details concerning the release are forthcoming - for now we just need your help in catch regressions. Some more details can be found in John Resig’s keynote at the 2009 jQuery Conference. ...

December 4, 2009 · 1 min · 177 words · Nick Berardi

Sometimes you just need to CodingHorror it!

The title of this post is a tongue-in-cheek reference to SubSonic’s inline query by the same name, which in turn is a reference to the blogger Jeff Atwood’s blog who you should all know. Rob Conery, the SubSonic project leader, named the inline query class CodingHorror after he allegedly read Jeff Atwood’s post titled Embracing Languages Inside Languages, in which he bestowed the virtues of inline SQL inside your code, instead of the standard bequeathed statement that I bet you all have heard “We do all database work in stored procedures.”. Jeff outlined his though process on ad-hoc vs stored procs as follows: ...

December 3, 2009 · 4 min · 672 words · Nick Berardi

Create an attractive loading panel in jQuery

One of the important things about web programming, especially when using AJAX, from a usability standpoint is to provide a responsive user interface to the audience. This level of responsiveness to the user’s actions can be achieved in many different ways; showing messages, changing colors, adding animation, changing contexts, basically anything that provides a natural transition from the action performed by the user to the reaction by the application to indicate that their action is actually causing something to happen. ...

November 12, 2009 · 6 min · 1128 words · Nick Berardi

Philly Code Camp 2009.2

As I indicated a couple weeks ago I was going to be speaking at the Philly Code Camp 2009.2. If you weren’t there you missed a great day of learning about many of the new technologies that are going to matter to you, as a developer, in the next 12 months. Not all of the topics were Microsoft related or even Developer related, for the first time this year there was an Enterprise IT track, targeting specifically you network admins. So Code Camp next year is something you should pay attention too, even if you are not a developer. ...

October 18, 2009 · 3 min · 457 words · Nick Berardi