We upgraded the chat yesterday. The major enhancement is a streamlined UI which will be obvious to those who have been using older versions. I added an options menu where I stashed the ability to change your nickname, toggle sounds, copy the embed code, and more. When you roll over the name of a user in the chat pane, you’ll get the option to reply (it just pastes their name in the input field) or change your nickname (if you’re rolling over your own name). Admins will have additional options when they roll over a name. Also, in the next day or two, you’ll be able to roll over a name and see where they are in world and what page they’re chatting from (remember, we have shared chat rooms that can be installed on many sites that all connect to the same place). Be sure to check it out.

Flex.org now has chat

October 22nd, 2007

If you’re not familiar with our Flex-based chat widget, it has a code input feature specifically designed to make it easier for programmers to chat about what they’re working on. Dozens of blogs have installed the Flex programming topic so that we can pool together our traffic and keep the room occupied. We’re proud to announce that Flex.org, the central resource for all-things-Flex, has just installed our widget on the community page. Thanks, Flex.org!

Jon over at Clockwork Objects wrote a nice review of Chatopica. He even installed two of the chat widgets on the site — one for Flex, one for Ruby on Rails. Thanks, Jon!

And I didn’t have to do the work!  A million thanks to Jon from www.clockobj.co.uk for posting this perfect write-up.  I’ll re-record the session soon, probably over the weekend.  In the meantime, please let me know if you have questions.

If you attended my eSeminar yesterday and I didn’t get a chance to answer your question, see below.  Click the “read the rest of this entry” link below for more.Q: Why did you make the ChatModel constructor public instead of private?A: ActionScript 3 doesn’t support private constructors, so if you’re trying to create a Singleton, you need to throw an error in your constructor if an instance has already been created.Q: have you looked into using a singleton to dispatch events? I use one I found on the net that allows dispathc at any level to any level…. Similar to CairngormA: Earlier versions of Cairngorm used to bubble events all the way up to the controller. There are a few rare cases where that isn’t ideal. In order to participate in event bubbling, an object must be part of the DisplayObject hierarchy, so if you have some object that isn’t on the displayList, it can’t bubble up an event. However, that’s typically not an issue for most apps. Also, if you have a very deeply nested component that needs to dispatch an event and for performance reasons you need to handle it immediately, a Singleton EventDispatcher may be in order. Again, these two cases are rare in my opinion, so I use bubbling for simplicity’s sake.Also, even if you’re using CairngormEventDispatcher, you will likely want your events to bubble up at least a level or two and then be dispatched using the CairngormEventDispatcher by a more senior view.Q: Where would you handle Remote Services like AMFPHP in this framework? Read the rest of this entry »

Update:  I gave another EasyMVC presentation on 3/28/08 and it was recorded.

Apologies to everyone who listened in to my Adobe eSeminar this morning. Because of the audio issues, my voice wasn’t recorded so there’s no way to watch the presentation again. HOWEVER…I’m going to talk to the folks at Adobe about going in and re-recording the session on my own once their audio issues are worked out. If that doesn’t work out, I’ll record my own screencast.In the meantime, here’s the source code for the EasyMVC demo.Check back soon for info about the presentation.

Are you relatively new to Flex? I was a Flex newcomer once and I remember what it was like. I worked through some examples in the Flex documentation, read a few articles, set out to write my own app and quickly found myself with a mess and wondering, “Where should I put all this stuff?”. If you’re at that stage now, you should register for my eSeminar next Tuesday where I’ll show you a simple way to design your Flex apps so that they’re easy to maintain and extend.I’ll introduce my approach, which I call EasyMVC. It doesn’t require any special libraries, it keeps the “nerd-speak” to a minimum, and it’s flexible enough that if you later decide you want to use something more advanced like Cairngorm, it will be easy to switch.

Chatting about code can be a cumbersome process. That’s why our Flex-based chat widget has a code input feature that lets you send lots of code without filling up the chat. Just click the code button, type or paste your code, send it, and it will appear on one line with a button to expand/collapse the code area. We even do syntax highlighting as it passes through the server.

We have a bunch of programming topics available here. The most popular one right now is the “Adobe Flex” topic which usually has between 70 and 120 people in it these days. Robert and I are usually in there during Pacific Standard Time and we’re always happy to answer any questions about Flex, AIR, or LCDS.

If you wish one of the other programming topics, like ColdFusion, had more people chatting, just install that topic on your blog and get your friends to do the same. By installing it on more blogs, we can pool our traffic together and keep the room occupied.

If you’ve used the first version of the SearchCoders Dashboard, you may have noticed that the chat required registration. We’ve updated the Dashboard for AIR Beta 2 and threw in our new chat widget which does NOT require registration and the room usually has between 70 and 120 people in it these days. Be sure to download the new version at www.searchcoders.com.

Robert and I just sat down at the keynote and we’re waiting for the show to start. Stop by the chat at www.chatopica.com/topics/flex where I’ll be reporting on what goes down.