Building Blocks

11Nov/0922

Robotlegs MVCS: Walkthrough of an AIR Twitter Client

rl_twit_ss

Here is the "completed" project on Github.

This is a roughly 25 minute walkthrough of wiring together a Twitter client using the Robotlegs AS3 Micro-Architecture MVCS implementation. It covers setting up the context, using commands, mediating composite view component, granular view component mediation, and retrieving data from a service.

Apologies in advance for the ambient noise. 4 kids, 2 dogs, and a busy wife does not make the perfect sound booth ;)

I am considering expanding on this example and creating a start to finish video series creating a full Twitter client with Robotlegs. This would cover the actual component building, wiring everything together, working with data models (local storage, etc), and refining the application to use the advanced features available with the Twitter API using TDD the whole time for development. Is this something that you'd be interested in?

  • karfau

    I would love to see those tdd video series!

    Thx for this great screencast.
    (What plugin are u using for adding predefined text with only a few letters?)

    Grettings, karfau

  • karfau

    I would love to see those tdd video series!

    Thx for this great screencast.
    (What plugin are u using for adding predefined text with only a few letters?)

    Grettings, karfau

  • http://joelhooks.com Joel Hooks

    TextExpander is my macro app of choice.

  • eidiot

    I really would love to see the TDD videos, too. Thanks very much for the great work.

  • Dmitry

    Joel,

    Amazing job and great screen cast! Absolutely needed for those who start working with the framework. Can't wait to see the complete example.

    Thanks.

  • karfau

    I would love to see those tdd video series!

    Thx for this great screencast.
    (What plugin are u using for adding predefined text with only a few letters?)

    Grettings, karfau

  • http://joelhooks.com Joel Hooks

    TextExpander is my macro app of choice.

  • http://eidiot.net/en/ eidiot

    I really would love to see the TDD videos, too. Thanks very much for the great work.

  • Dmitry

    Joel,

    Amazing job and great screen cast! Absolutely needed for those who start working with the framework. Can't wait to see the complete example.

    Thanks.

  • http://twitter.com/solisarg Jorge Solis

    Building a new app from scratch and giving RobotLegs a try. Looks easy and ver symplified with the injection path. Nice screencast, also hopes you build the TDD part asap

  • http://twitter.com/solisarg Jorge Solis

    Building a new app from scratch and giving RobotLegs a try. Looks easy and ver symplified with the injection path. Nice screencast, also hopes you build the TDD part asap

  • Andre Venter

    Yes please! With so few start to finish application examples using any AS3 Frameworks, RobotLegs is bound to win a lot of newcomer and intermediate support

  • Andre Venter

    Yes please! With so few start to finish application examples using any AS3 Frameworks, RobotLegs is bound to win a lot of newcomer and intermediate support

  • http://twitter.com/abeldebeer Abel de Beer

    The video URL isn't correct anymore. Could you please fix it? Thanks!

  • Ricardo Schalch

    help, link is not listening for the DOWNLOAD event :P

  • http://joelhooks.com Joel Hooks

    Sorry, it didn't make the transfer to the new host. Should be there now.

  • http://joelhooks.com Joel Hooks

    Sorry, it didn't make the transfer to the new host. Should be there now.

  • Ricardo Schalch

    Thanks a lot … Robotlegs is a little bit difficult to begginers like me, but I´m getting on it :)

  • http://joelhooks.com Joel Hooks

    http://www.insideria.com/2010/06/an-introductio… <- I've been working on this series on InsideRIA that might be able to help get you started.

  • http://www.flashxml.net/ flash gallery

    MVCS provides an overview of architecture application. By combining several time tested design patterns in a practical implementation, Robotlegs MVCS implementation can be used as a coherent approach to build your applications.

  • Mutasem Barjawi

    Thank you so much for this useful screencast.

    I see that you create a view/mediator for everything… things as small as buttons… when working on a large scale project, a single view could have tens of these small view/mediators. Is there a different way of handling these things?

    Thanks

  • https://github.com/karfau C. Bewernitz

    Of course there is. ;)
    You could create a “component” combining some buttons and elements that are used together, that dispatch certain events or offer a certain API for a Mediator.

    Or you could handle it with a different structure: have a look at “Presentation Patterns” as e.g. described here: http://blogs.adobe.com/paulw/archives/2007/09/presentation_pa.html

    But you should be aware that, what I know of, robotloegs only brings MVCS as a “reference implementation” with it, which doesn’t support e.g. “Presentation Model” as easy.

    Hoping that answers your question,

    karfau