July 26th, 2008

InsideRIA: Flex RIA Performance Considerations Part 4: The Display Hierarchy

For some reason I though I posted this on my blog, but tonight I noticed I had spaced it. My latest installment of the Flex Performance series on O’reilly InsideRIA was published on July, 17th. You can read it here:

http://www.insideria.com/2008/07/flex-ria-performance-considera-3.html

Oh, and while you’re there check out some of the other series. There’s a bunch of really good stuff there!

July 22nd, 2008

OFF-TOPIC: Been a little distracted since Sunday.

All I gotta say is:

  1. It’s been a very interesting experiment to work through…brings back fond memories from when I attempted to screw around with Caldera OpenLinux back in the day.
  2. I’m finally at a point of enjoying the fruits of the community’s labor…can you say VMWare Fusion Beta 2, Adium, and Spaces?
  3. Might need to hit some Newegg soon…

And this:

LOL_DELL_MACOSX_WINXP

I need to catch some zzz’s…signing out…oh, and the source images used above belong to companies with big $$…you know © for them or something like that.

July 17th, 2008

AS3 – My Fav Functions – hasOwnProperty()

I need to blog code samples more. To be quite frank, I don't because something in my brain always tells me my posts have to be polished and verbose and I'm always short on time. That's probably why I have a bunch of unfinished drafts sitting in my wordpress db. That being said, I'm going to attempt to short circuit my brain to allow me to post quick snippets and as a result hopefully quicker and more useful blog posts...we'll see how it goes.

So, here's the first attempt. Earlier this week a colleague of mine asked if there was a cool way to E4X filter on attributes without having them cause an RTE. The RTE would be generated in the case of nodes that don't contain the attribute.

Here's a sample block of XML:

XML:
  1. <stuff>
  2.     <item id="1"/>
  3.     <item id="2" someAttrib="hello world"/>
  4.     <item id="3"/>
  5. </stuff>

We want to filter based on @someAttrib, but when you use the E4X predicate filtering syntax, the app will RTE on the first node since it doesn't contain @someAttrib. Due to the RTE, what my colleague was doing was surrounding his code in a Try/Catch as the following example illustrates:

ACTIONSCRIPT:
  1. try
  2. {
  3.     return p_item.( @someAttrib == "hello world" ).toXMLString();
  4. }
  5. catch( e:Error )
  6. {
  7.     trace( "doh! I broke" )
  8. }

My colleague knew there was a better way, since he knows Try/Catch can very slow. So he posed the question. I answered quickly since I got to promote one of my favorite functions in AS3: hasOwnProperty(). Here's the revised code block:

ACTIONSCRIPT:
  1. if( p_item.hasOwnProperty( "@someAttrib" ) )
  2. {
  3.     return p_item.( @someAttrib == "hello world" ).toXMLString();
  4. }

Enjoy!

July 17th, 2008

Ran into the 360|Flex dudes the other day.

I must have been pretty out of it, but apparently I ran into the 360|Flex guys at the Blue Monkey the other night and had a blast...read all about it:

http://tinyurl.com/5zyqma

Talking with them about the upcoming 360|Flex...I also guess it got a little wild upstairs.

Anyway, that reminds me, you need to get registered to go to 360|Flex.  Here's the link:

http://360flex.eventbrite.com

Also, if you want to see who else they've run into recently, here's a partial list (hit up the 360 Flex site for more):

Brian Weisenthal - http://tinyurl.com/637yhw
Ben Clinkinbeard - http://tinyurl.com/6dap93
Renaun Erickson - http://tinyurl.com/5j9oy8
Kevin Fauth - http://tinyurl.com/5flrak
RJ Owen - http://tinyurl.com/6pu3vj

All I gotta say is be there or be square!

July 2nd, 2008

MAX 2008 – Debugging and Profiling with Flex Builder

Adobe MAX is the yearly premiere event that encompasses all things Adobe...Flex, AIR, ColdFusion, Photoshop, you name it.  This year it's going to be November 16 - 19, 2008 in San Francisco, California.  This will be my third year at MAX, and thanks to Ted Patrick and CO, they just keep getting better and better.

That being said, I'm very excited to be speaking at MAX 2008 about the wonderful and powerful Debugging and Profiling features of Flex Builder 3!  For those of you that have seen me at past conferences such as MAX, 360Flex, Webmaniacs, RIADevShed, and FlexCamp you'll know that I'm a sucker for good debugging tools and techniques and I love talking about this set of topics.

You can keep posted on updates to this session by using the outstanding RIA session scheduler at the MAX site and although it's early and the time and date is subject to change, here's the current abstract on the session:

Debugging and Profiling with Flex Builder

Learn how to use the powerful debugging and profiling tools included within Flex Builder to build high-performance, reliable applications. We'll cover some advanced debugger features you may not know, as well as go into detail about how to get the most out of the profiler.
Speakers:    Jun Heider
Products:    Flex Builder, Flex
When:    Wednesday, November 19, 11:00 am - 12:00 pm

I'm planning for it to be an informative and entertaining session, and if there's a chance you'll be there and have some ideas on content you'd absolutely want to see feel free to let me know.

To find out more about MAX 2008 and register, here's a link to the very sweet-looking and feature rich RIA site that was developed for the conference:

http://max.adobe.com/

See you there!

July 1st, 2008

‘ten ‘hut…register for 360

360|Flex Send a Team or an Army - http://tinyurl.com/5vm594

360|Flex is already a great deal at the full price of $480. However, what's even more amazing is the $375 per ticket price when you register as a 4 person team. It's no wonder that companies are taking advantage of this deal and are sending whole teams. If you haven't registered yet, you'd better hurry. When teams buy in bulk, the number of available tickets dwindles fast.

July 1st, 2008

Source code licensing – very good reference.

Grant Skinner provides the community yet another valuable resource. Check out his reference on source code licensing: http://www.gskinner.com/blog/archives/2008/07/source_code_lic_1.html

Upcoming Talks





A Book I Helped Write



Community


Ignite Denver Committee

Categories

Credits