Rob Gonda's Blog

CF8 + Ajax need compression!

As you probably know, ColdFusion 8 came out today and it has tons of Ajax/DHTML goodies. It's based on YUI+EXT, which is a great, powerful, scaleable, documented solution... but it weights just too much. A simple cfwindow requires about a 360k JavaScript download ...

I checked the source code, and it's mostly minimized, which means it's hard to reduce the code-base even more... however, you can gzip it. Most/All modern browsers support gzip data, and the difference is huge.

With Apache you can use mod_gzip, but with IIS is slightly more difficult. The best solution IMO is to install a 3rd party tool such as port80 httpZip.

Check out the following comparisons.

CFWINDOW

<cfwindow
    center="true"
    closable="true"
    modal="false"
    resizable="true"
    initshow="true"
    height="200"
    name="window"
    title="UI Window Example"
    width="200">


UNCOMPRESSED
26 requests
0 cached files
0 errors

372244 total bytes
8114 request bytes
364130 response bytes
the average request was 312 bytes
the average response was 14005 bytes

entire session took 7.641 seconds
on average, responses took 0.336 seconds

COMPRESSED
26 requests
0 cached files
0 errors

116218 total bytes
7985 request bytes
108233 response bytes
the average request was 307 bytes
the average response was 4162 bytes

entire session took 3.672 seconds
on average, responses took 0.144 seconds

CFLAYOUT
<cflayout type="border">

  <cflayoutarea position="top" title="Top Layout Area">
  This is the top layout area.
  </cflayoutarea>

  <cflayoutarea position="center">
  This is the center layout area.
  </cflayoutarea>

  <cflayoutarea position="bottom" title="Bottom Layout Area">
  This is the bottom layout area.
  </cflayoutarea>

</cflayout>

UNCOMPRESSED
15 requests
0 cached files
0 errors

357131 total bytes
4584 request bytes
352547 response bytes
the average request was 305 bytes
the average response was 23503 bytes

entire session took 3.609 seconds
on average, responses took 0.223 seconds

COMPRESSED
15 requests
0 cached files
0 errors

102840 total bytes
4645 request bytes
98195 response bytes
the average request was 309 bytes
the average response was 6546 bytes

entire session took 2.64 seconds
on average, responses took 0.165 seconds

CFMENU
<cfmenu name="myMenu">
    <cfmenuitem name="home" display="home" />
    <cfmenuitem name="support" display="support" />
    <cfmenuitem name="about" display="about" />
</cfmenu>


 8 requests
0 cached files
0 errors

215463 total bytes
2366 request bytes
213097 response bytes
the average request was 295 bytes
the average response was 26637 bytes

entire session took 2.438 seconds
on average, responses took 0.289 seconds


8 requests
0 cached files
0 errors

54543 total bytes
2399 request bytes
52144 response bytes
the average request was 299 bytes
the average response was 6518 bytes

entire session took 1.562 seconds
on average, responses took 0.168 seconds


Pretty impressive huh?

So in conclusion, you must compression your scripts to make it half-decent for your users... ColdFusion provided a very powerful tool, now it's up to you to make the best of it.

place your bets: first host with cf8?

So which hosting company will provide CF8 first? I'd say hostMySite...

Who and when?

ColdFusion 8 / AKA Scorpio available for purchase

As Sean said, ColdFusion 8 available for trial and purchase. Standard Edition price is unchanged, Enterprise Edition moves up to $7,500. All language features are available in Standard Edition but "limited". Enterprise Edition adds additional DB drivers (as usual) but also the server monitor, multi-server, user/role management for the administrator and sandboxing.

ColdFusion 8 Updates for DW, HS, Eclipse also available and can be downloaded from ColdFusion Support Center, along with the report builder, the .NET integration service and the Flex/Flex Remoting components (making it easy to connect to CF apps).

I'm joining team ColdBox

The past: Luis Majano and I go way back; I remember the first time we met was when I interviewed him at iChameleon. That that he showed me the framework he developed, which would be equivalent to ColdBox v0.1. It was already pretty interesting; he showed me all kinds of documentation, which immediately made him unique ... Which developer out there actually loves documentation? Name one, please! So at the end, Luis ended up leaving sandals and moved to California, but the framework kept going.

The present: ColdBox has gained some popularity lately, perhaps because of it's vast documentation, because it does not use XML, because it has tons of plugins built-in, or just because slowly people see how nice the framework is. Luis did his first Adobe Connecto last week for cfframeworks and got a decent amount of attendees, many of which started blogging about their interest in the framework. Currently, at version 2.0.2, ColdBox is extremely stable and plays well with ColdSpring, Lightwire, Transfer, cfcUnit.

The Future: I joined the team and will start blogging about it more and more. I'm contributing directly with the core with architecture, refactoring, and many new additions and tools to be announced. I'm really happy to be part of ColdBox, and I hope to help taking it to the next level.

Papervision3D 1.5 (AS3) Official Release

Papervision3D 1.5 (AS3) Official Release. This version of the engine has seen a 40%+ increase in speed! The API didn’t change a bit, and they added some new features like culling and InteractiveScene3D with Interactive materials.

Here are some of the significant changes:

  1. Optimized main render loop.
  2. Implemented ‘plugable’ face culler - 1 extra available at this time.
  3. Moved rendering from Face3D to materials, adjusted all current materials to override drawFace3D().
  4. New Materials : BitmapWire, BitmapColor, and CompositeMaterial (add multiple materials to this one single material).
  5. Moved all instances to their respective classes…fixed stars, vertices and DisplayObject3D to do so.
  6. Face normals are implemented.
  7. BitmapFileMaterial bug fixed - if used more than once, bitmap was displayed flat within the model’s body.
  8. Added progress events to BitmapFileMaterial and Collada objects
  9. Integrated InteractiveScene3D to 1.5
  10. Added Interactive materials for use with InteractiveScene3D - makes displayObjects that use an interactive material dispatch mouse events via InteractiveSceneManager.
Download Papervision3D 1.5 or sync up the the source control repo.

ColdFusion Frameworks News

Extra, extra, tons of frameworks news on the way

  • GreatBizTools, LLC (GBT) has recently purchased the copyright to the Mach-II framework
  • Model-Glue is finally 2.0
  • Model-Glue for Flex Alpah 1 available
  • Transfer re-working the entire SQL engine to make it even faster
  • Transfer to add composite-keys support in the next release
  • ColdBox adds application Unit Testing
  • ColdBox to add unit testing to the entire core framework
  • More exciting news about ColdBox coming Monday. Stay tunned.

ColdBox Workshop @ CFFRameworks Recording

Luis gave his ColdBox presentation through Adobe Connect today. He had some initial problems with his Mac and Connect, I guess they don't play well together. After a few minutes writing jokes on the chat, Luis came back using a PC and gave his presso. It was really well receivied and covered topics such as downloading, installing, configuring the framework, using the CFEclipse ColdBox plugin, installing the CFEclipse dictionary, and the ColdBox dashboard. He briefly mentioned to unique selling points such as built-in intelligent caching, unit testing, internationalization, multiple environments support, and more. Check it out and see for yourself.

EgoSurf Results 07-2007

Back in December I perform an egosurf test, so I chose to re-take it and see that changed... here're the updated resutls.... not much change at all... is that good or bad?

Resutls for "Rob Gonda"

engine ranking ego points
google.com 2nd 8923
yahoo.com 1st, and 2nd 6641
msn.com 2nd 1727
del.icio.us 4th, 5th, 6th, 7th, 8th, 9th, 18th, and 20th 6628

Results for ajaxCFC
engine ranking ego points
google.com 2nd 8542
yahoo.com 2nd, and 3rd 8988
msn.com 4th 2172
del.icio.us 2nd, 4th, 5th, 7th, 10th, 11th, 14th, 16th, 17th, 18th, 19th, 20th, 23th, 24th, 25th, 27th, 29th, 40th, 42th, and 47th 14025

ColdBox Workshop @ CFFRameworks

This is your once chance to learn ColdBox from the creator. I've been asking Luis Majano to present his precious framework since January, so behold, it's here. Luis will be holding a ColdBox worshop over with CFFrameworks.com tomorrow, July 18th, at 3PM EST. Join us using the URL below.

http://adobechats.adobe.acrobat.com/coldbox/

µTorrent 1.7.1 released

The biggest changes were full Vista support and the removal of the 65,536 piece limit for torrents.

Also added was support for finding local peers (peers on the same LAN) and optionally not having any upload restrictions for them.

It is also possible to turn on automatic updating for betas now, found in the "Other" section of the preferences.

http://download.utorrent.com/1.7.1/utorrent.exe

More Entries

This blog is running version 5.9.003. Contact Blog Owner