Hamcrest? No, it isn't a fancy sandwich topping. Hamcrest is a framework for creating matchers, allowing matching rules to be defined declaratively (from Wikipedia). Hamcrest has been used by many popular unit testing frameworks including JUnit and FlexUnit 4. Hamcrest-AS3...
Every day million people make use of Google products and these products are written mainly using one well known language: JavaScript! What makes this online software stable, fast and responsive is a good use of the language and an excellent system of data compression and asynchronous loading. Today this power is available to everyone, since Google has released its magic tool under Apache 2 license.
A couple months ago I wrote an article on how to use Dojo to create a rich UI for websites. One of the key points of the article was how to support all users -- those with JavaScript enabled and those without. The purpose of this was to enable basic browsers like search engine spiders to go through your site without JavaScript, while enabling the rich interface for your regular users.
Now that we have a client built that will send and receive packets we need a server for it to communicate with. Lets walk through a quick implementation of a basic Java UDP socket server. Some familiarity with Java is...
So now that we understand the usage of UDP lets jump right into building a basic UDP client and server. We'll use the DatagramSocket class to send packets to a specific port at a specific address. We'll also bind our...
Next in my series describing my implementation of Microsoft DRM I will detail how I refined the work flow to a single process. This process is portable, can be run on any machine, so it negates the need to...
Flash player has supported socket connections for some time but has lacked UDP specific support. Although there was the recent addition of RTMFP (a protocol utilizing UDP to enable low latency data transfer and P2P connections) it doesn't provide direct...
Customizing scrollbars in Flex is something that I see requested all the time, and it's actually really easy to do. I see requests for things like getting rid of the buttons, or making the scroll bar less intrusive to the UI. In this post, we'll walk through some simple css style changes to customize scrollbar appearance.
Flex comes with a full spectrum of components, but once in a while you get hit with a request to do something that is difficult to shoehorn into what already exists, but seems even more difficult to do as...
Advanced Flash Tactics or AFTs are techniques that come from deep within the Flash Art Of War, the oldest Flash military treatise in the world. In this AFT I will go over - URI Manager Utility. In the past I have talked about using RegEx to create a utility for replacing tokens in a string. My uri manager utility follows the same concept but helps you organize all of your URIs in a external file. Not only that but when you request them when, you can customize their values on the fly. Whether you are keeping track of 1 or 100+ URIs this simple utility will help make your life way easier.
This is an excerpt from Designing Social Interfaces. From the creators of Yahoo!'s Design Pattern Library, Designing Social Interfaces provides you with more than 100 patterns, principles, and best practices, along with salient advice for many of the common... Continue Reading
If you have had an opportunity to look at the Adobe Flash Collaboration Service (AFCS) you could see that there is a huge opportunity to do interesting multi-user applications without needing to write all of the server side code. However... Continue Reading
Overview Purpose of this article The goal of this article is to help you gain a better understanding of the Decorator design pattern. The Decorator pattern is used to attach additional responsibilities to an object at run time dynamically. Decorators... Continue Reading
The proliferation of cellular phones has revolutionized the way we communicate with one another and is the foundation for a more mobile lifestyle. Adobe, a long time player in rich internet applications, wanted to, once again, be an active participant.... Continue Reading
@InsideRIA on Twitter