Blogs

BROWSE: Most Recent | Popular Tags |

Tags > patterns

Delegation patterns in Ruby

By Samuel Mullen
February 27, 2014

In almost every project there are those objects which seemingly get involved in every aspect of the application. These are the so-called “god objects”: they can do everything (omnipotent), they know everything (omniscient), and they are everywhere in the application …

Delegation patterns in Ruby

By Samuel Mullen
February 27, 2014

In almost every project there are those objects which seemingly get involved in every aspect of the application. These are the so-called “god objects”: they can do everything (omnipotent), they know everything (omniscient), and they are everywhere in the application …

Think Functionally to Simplify Code

By Simon St. Laurent
September 18, 2013

Functional programming keeps growing. While it has long been a popular topic in academic circles, and many of my CS-educated friends wonder why it took me so long to discover it, the shift in approach that functional programming requires made …

Open Source In The Classroom

By Jon Roberts
July 25, 2013

To teach computer programming to a young person with no experience, you must imagine what it’s like to know nothing about languages, algorithms, data structures, design patterns, object orientation, development tools, etc. Yet the kids I’ve seen in high school …

Insights on speaking, writing, and working with MongoDB

By Ann Spencer
July 22, 2013

At a recent MongoDB SF event, I had a chance to meet Rick Copeland. He was in town and stopped by the event to sign copies of his book, MongoDB Applied Design Patterns. While I am not Rick’s editor, I approached …

Sascha Bates on Configuration Management: It’s Not about the Tool

By Courtney Nash
May 15, 2013

“Puppet and Chef are completely different, and yet exactly the same,” admits Sascha Bates. In this interview about her talk at the upcoming Velocity Conference, she discusses common pitfalls that people can avoid when getting started with configuration management. And …

How you can stop trashing PHP code

By Rachel Roumeliotis
April 25, 2013

William Sanders (@williebegoode) is a Professor of Interactive Information Technology at the University of Hartford and author of over 40 technical books! His latest book with us is Learning PHP Design Patterns. We recently sat down to talk about design …

Reading experience and mobile design

By Travis Alber
December 5, 2012

It’s all about user experience. Once you get past whether a book is available on a particular reading platform, the experience is the distinguishing factor. How do you jump back to the table of contents? How do you navigate to …

Four short links: 13 September 2012

By Nat Torkington
September 13, 2012

Patterns for Research in Machine Learning — every single piece of advice should be tattooed under the eyelids of every beginning programmer, regardless of the field. Milton Friedman’s Thermostat — Everybody knows that if you press down on the gas …

Four short links: 8 March 2011

By Nat Torkington
March 8, 2011

Facebook and Open Source -- David Recordon interview. HipHop really embodies how we create at Facebook. It started as a hackathon project by Haiping Zhao, who was later joined by Iain Proctor and Minghui Yang. Haiping noticed a number of similarities between the syntax of PHP and C++, and wondered if you could programmatically rewrite one into another. Two-and-half...

Four short links: 4 March 2011

By Nat Torkington
March 4, 2011

JSARToolKit -- Javascript port of the Flash AR Toolkit. I'm intrigued because the iPad2 has rear-facing camera and gyroscopes up the wazoo, and (of course) no Flash. (via Mike Shaver on Twitter) Android Patterns -- set of design patterns for Android apps. (via Josh Clark on Twitter) Preview of Up and Running with Node.js (O'Reilly) -- Tom Hughes-Croucher's new...

Four short links: 1 March 2011

By Nat Torkington
March 1, 2011

Implementing Open Standards in Open Source (Larry Rosen) -- Companies try to control specifications because they want to control software that implements those specifications. This is often incompatible with the freedom promised by open source principles that allow anyone to create and distribute copies and derivative works without restriction. This article explores ways that are available to compromise that...

Hacking or design patterns?

By Yakov Fain
December 13, 2010

Earlier this year, I made a statement defending hacking in an interview for Oracle. Yesterday, I found a thread on theserverside.com where java developers were sharing their view on the subject. In this blog I’ll take the same two quotes...

A Pragmatic Look at Dependency Injection Frameworks

By Amy Blankenship
October 31, 2010

There's been quite a bit of discussion on my team lately about whether we should standardize on a Dependency Injection (DI) Framework, and if so, which one. Many of us who are "plugged in" to the Flex community tend...

Pragmatic Design Patterns: Separation of Concerns

By Amy Blankenship
October 12, 2010

Today, I'd like to continue my discussion of pragmatic Design Patterns by talking about Separation of Concerns, or SoC as we often see it abbreviated. I usually like to start with linking to a definition of the concept that...

Pragmatic Design Patterns: Abstract Classes

By Amy Blankenship
September 12, 2010

I remember the first time I read about Abstract Classes in Actionscript 3 Design Patterns. I don't have my copy handy here in Atlanta, so I'll have to rely on the Wikipedia article pointed to by Mims Wright for...

Pragmatic Design Patterns: Composition Over Inheritance

By Amy Blankenship
September 2, 2010

Many developers have the idea that design patterns are "nice to haves," something that you can add after the fact, if you have time to waste making your code academically appealing for no added benefit. At some level, I...

Thought-provoking Posts from this week

By Amy Blankenship
August 7, 2010

Ever since I've started my new gig, I've found I have less time to keep up with the latest happenings in the business. So when I do take the time to read an article, it is usually because it...

An Introduction to Robotlegs AS3 Part 3: Services

By Joel Hooks
June 28, 2010

This is the third in a series of Robotlegs articles that will appear here on InsideRIA in the coming weeks detailing core Robotlegs concepts and working through some more advanced concepts involving third party utilities and libraries built to interact with them.

An Introduction to Robotlegs AS3 Part 3: Services

By Joel Hooks
June 28, 2010

This is the third in a series of Robotlegs articles that will appear here on InsideRIA in the coming weeks detailing core Robotlegs concepts and working through some more advanced concepts involving third party utilities and libraries built to interact with them.

An Introduction to Robotlegs AS3 Part 2: Models

By Joel Hooks
June 17, 2010

This is the second in a series of Robotlegs articles that will appear here on InsideRIA in the coming weeks detailing core Robotlegs concepts and working through some more advanced concepts involving third party utilities and libraries built to interact with them.

An Introduction to Robotlegs AS3 Part 1: Context and Mediators

By Joel Hooks
June 7, 2010

This is the first in a series of Robotlegs articles that will appear here on InsideRIA in the coming weeks detailing core Robotlegs concepts and working through some more advanced concepts involving third party utilities and libraries built to interact with them.

Code Behind vs. Template Components

By Amy Blankenship
May 9, 2010

I think a lot of times we as developers get caught up in our own world, and we forget how all of the things we do to make our code clean and easy to maintain for ourselves and other...

Abstract Tests

By Phlip Plumlee
May 4, 2010

My last post showed how to mock a webservice. When you have more than one webservice, all their common code, tests, and mocks should remain DRY. This post demonstrates a ruthlessly effective test pattern that forces many different interfaces to behave as similarly as possible, using the minimum possible test code.

Ah, BitmapData

By Amy Blankenship
February 28, 2010

Sometimes when we are working in Flash or Flex, we need to work with the raw pixels of an object on screen. Maybe we want to create a lightweight component to pull in photos off the web, make intelligently scaled...

Architectural Patterns

By Rick Jelliffe
February 15, 2010

Uwe Zdun and Paris Avgeriou's paper "Architectural Patterns Revisited - A Pattern Language"

Software patterns as a symptom of failure? - If you have to use them, maybe your programming language is just not powerful enough?

By Rick Jelliffe
February 15, 2010

The most interesting comment I have read recently about the pattern language movement is the comment that Gang of Four style software patterns are only necessary when the programming system does not have adequate power or capabilities to directly state the pattern.

Review of AS 3 Design Patterns On The iPhone

By Jesse Freeman
December 30, 2009

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 - As3 Design Patterns On The iPhone....

Can Event Performance be improved in AS3?

By Amy Blankenship
December 20, 2009

I came back from RIAdventure all stoked with new ideas to research and nail down in my own mind. One of the ideas I thought I heard there was the thought that you could probably improve performance by using Object...

"Eager Loading" in Actionscript 3

By Amy Blankenship
November 11, 2009

Last week, I wrote about the Lazy Loading design pattern. There's not much written about its opposite, Eager Loading, in ActionScript 3. The reason for this is simple–true eager loading can't be done in AS3 itself, it has to be...

Advantages of Lazy Loading

By Amy Blankenship
October 30, 2009

Wikipedia defines Lazy Loading as "a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed." Typically, we do this to make an RIA application more responsive–since we're not...

Interfaces and Dynamic Class Instantiation

By Amy Blankenship
October 27, 2009

I always enjoy Jesse Freeman's Flash Art of War column, and this week's, "Dynamically Creating(/Instantiating) Classes from XML," was especially intriguing. The thing that stuck out to me about that post is that if you are creating objects dymanically, you...

Decorator Design Pattern

By Sean Moore
October 21, 2009

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 provide a flexible alternative to subclassing to extend the functionality of classes in a hierarchical relationship. The Decorator design pattern utilizes an important OOP concept known as the open closed principal. This means that classes are open to extension but closed for modification. The Decorator pattern also uses the concept of composition, another very powerful OOP concept.

3 Design Patterns Built Into AS 3

By Jesse Freeman
August 10, 2009

Advance Flash Tactics or AFTs are techniques that come from deep within the Flash Art Of War, the oldest Flash military treatise in the world. Each AFT is designed to be quickly digested, usually only taking a few minutes to get up and running, and contains valuable information you can directly apply to your next Flash campaign. In this AFT I will go over - 3 Design Patterns Built Into AS 3

Four short links: 12 June 2009

By Nat Torkington
June 12, 2009

New Media Challenges: Legal and Policy Considerations for Federal Use of Web 2.0 Technology (Center for American Progress) -- report on the issues around Web 2.0 use in Government, which include privacy, security, Public Records Act, advertising, etc. See also It's Not the Campaign Anymore: How the White House Is Using Web 2.0 Technology So Far from the same...

Silverlight for Business Applications

By John Papa
March 1, 2009

Good design is important in any business application. With Silverlight there are tools and techniques that can help improve the design and make an application more testable, modular and scalable.

Design patterns for public activism

Design patterns for public activism
By Andy Oram
December 30, 2008

Programmers know the impact that design patterns have had on designing and coding. Could patterns have just as strong an impact on people taking action in their communities? That's the thrust of the patterns published at the Public Sphere Project. The most fleshed-out patters are now published in the book Liberating Voices! A Pattern Language for Communication Revolution by the initiator of the project, Douglas Schuler.

XRX and Context Delivery Architecture

By Dan McCreary
November 6, 2008

What if your web applications could all be quickly customized based on needs of a specific person, role or group? What if you could start out with one general form but it could be easly customized for different roles, groups or class of users? We call these forms CoDA (for Context Delivery Architecture) forms because they can take advantage of the context aware features of the XRX architecture.

Content Routing in XRX

By Dan McCreary
November 2, 2008

In the past I used to think that the internet routers and database management systems were separate systems and didn't share many of the same design patters. Routers routed information to different locations based on the content of the data...

MVC As Anti-Pattern

By Brian Lesser
October 11, 2008

Recently I asked a group of developers to review how they build Web applications. With over 100 ColdFusion applications/sites in place, I wanted to see what we could do to reduce the cost of adding new applications and new features...

Handy Mockup Tool for RIAs

By Andre Charland
July 30, 2008

I've been involved in web development for about 12 years now and have always been involved in the early stages and client facing aspects of the development cycle. More often than not I turned to very low-fi methods of sketching the early versions of a UI such as paper, whiteboard or Powerpoint. None of these are ideal and the early agreed upon designs seem to get lost along the way. Also it's hard to make changes to non digital mockups. Recently I've been playing around with with Balsamiq Mockups which seems to be a great quick and dirty design tool for developers, designers and those who aren't tech savvy at all.

Web 2.0 pattern mining at TOOLS 2008 in Zurich this summer

By Christian Crumlish
April 3, 2008

If you're interested in design patterns for rich interactions or web 2.0 design patterns in general, and you can get yourself to Switzerland this summer, then you might want to submit a proposal for the pattern-mining workshop at TOOLS 2008 Europe.

A Sense Of Scale

By Harold Davis
January 14, 2008

When a photo is about pattern, the thrill of composition can come from a dissonance in size. Is the subject big or small? What is the sense of scale? In these kinds of photos, that which seems to be big is actually small, or that which appears to be small is actually big. The viewer gets a thrill when the...


1 to 43 of 43
The Watering Hole